/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */

#main { padding-block: 1rem 3rem; }
body#product .breadcrumb__wrapper { margin-bottom: 0.5rem; }

.product__container.product-container {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(360px, 1fr);
  gap: 2.5rem;
  align-items: start;
  max-width: var(--bz-max);
  margin: 0 auto;
  padding: 0 var(--bz-pad);
}

/* Align breadcrumb + rail with header/footer grid (1400px) */
body#product .breadcrumb__wrapper .container,
body#category .breadcrumb__wrapper .container {
  max-width: var(--bz-max);
  padding: 0 var(--bz-pad);
}

/* Image column — gray container at full left-column width,
   capped height, image centered inside */
.product__left {
  display: block;
  min-height: 0;
}

/* Thumbnails go on the LEFT of the main image (Coolshop pattern).
   The gallery is a grey card; the accordion (.mh-pdp-info) sits below it in
   the same column. NOT sticky — a sticky gallery would pin over the accordion
   as it scrolls up behind the opaque card. */
.product__images.js-images-container {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  align-items: stretch;
  margin: 0;
  background: #F7F7F5;
  border-radius: 4px;
  padding: 1.25rem;
}

.product__thumbnails {
  order: -1;
  width: 64px;
  flex-shrink: 0;
  margin: 0;
}
.product__thumbnails-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  grid-template-columns: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product__thumbnail {
  width: 64px;
  height: 64px;
  padding: 4px;
  background: #FFFFFF;
  border: 1px solid var(--mh-line);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.product__thumbnail.active,
.product__thumbnail:hover {
  border-color: var(--mh-plum);
}
.product__thumbnail-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  outline: none;
  border-radius: 0;
}

/* Main carousel — fixed height, image centered */
.product__carousel {
  flex: 1 1 auto;
  min-width: 0;
  height: 460px;
  position: relative;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hide thumbnail strip when there's only one image */
.product__thumbnails-list:not(:has(.product__thumbnail + .product__thumbnail)),
.product__thumbnails:not(:has(.product__thumbnail + .product__thumbnail)) {
  display: none;
}
.product__carousel .carousel-inner,
.product__carousel .carousel-item {
  height: 100%;
}
.product__carousel .carousel-item {
  display: none;
  align-items: center;
  justify-content: center;
}
.product__carousel .carousel-item.active {
  display: flex;
}
.product__carousel .carousel-item picture {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.product__carousel .carousel-item img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.product__left img,
.product-cover img,
.js-product-cover {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  mix-blend-mode: multiply;
}

.product__thumbnail-image,
.product__thumbnail img {
  mix-blend-mode: multiply;
}

.mh-sticky-cart__img {
  mix-blend-mode: multiply;
}

.mh-rail__item .product-miniature img,
.mh-rail__item .thumbnail-container img {
  mix-blend-mode: multiply;
}

.product-cover { background: transparent; }

.product__right { padding-top: 0; margin-top: 0; position: sticky; top: 0;}

.product__right > *:first-child { margin-top: 0; }

.product__name {
  font-family: var(--mh-font-heading);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  color: var(--mh-plum);
}

/* Title row — product name + wishlist heart side by side */
.product__header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.product__header-row .product__name {
  flex: 1 1 auto;
  min-width: 0;
}
.mh-wishlist-btn--title {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin-top: 2px;
}
.mh-wishlist-btn--title svg { width: 20px; height: 20px; }

.product__manufacturer {
  margin: 0 0 0.4rem;
}

.product__manufacturer a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--mh-plum-soft);
  text-decoration: none;
}

.product__manufacturer a:hover { color: var(--mh-primary-deep); }

.product__prices { margin: 0.5rem 0 1.5rem; }
.product__prices-block { display: flex; flex-direction: column; gap: 0.25rem; }

.product__discount-price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  order: 2;
}

.product__regular-price {
  font-size: 15px;
  color: var(--mh-muted);
  text-decoration: line-through;
  font-weight: 500;
}

.product__discount-percentage {
  background: var(--mh-primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13px;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  line-height: 1;
}

/* −X% and "Spar X kr." stacked vertically beside the price */
.mh-price-badges {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.4rem;
}

.product__price {
  font-family: var(--mh-font-body);
  font-size: 2rem;
  font-weight: 700;
  color: var(--mh-plum);
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.product__tax-infos {
  font-size: 12px;
  color: var(--mh-muted);
  margin-top: 0.35rem;
}

.product__description-short {
  font-size: 15px;
  color: var(--mh-muted);
  line-height: 1.5;
  margin: 0.5rem 0 0.75rem;
  padding: 0;
  border: 0;
}

/* Short description sits below the gallery in the left column — give it
   breathing room, readable body type and a styled "Anvendelse:" lead-in. */
.product__left .product__description-short {
  margin: 1.5rem 0 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--mh-line);
  font-size: 15px;
  line-height: 1.65;
  color: var(--mh-plum);
}
.product__left .product__description-short p {
  margin: 0 0 0.85rem;
}
.product__left .product__description-short p:last-child {
  margin-bottom: 0;
}
.product__left .product__description-short strong {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--mh-plum);
  font-weight: 600;
}

.mh-pdp-details {
  margin-top: 1.75rem;
}

.product__actions { margin-top: 1.25rem; }

/* The ATC form + its containers must span the full buy-box width */
.product__actions,
.product__actions form,
.product__actions .product-add-to-cart,
.product__actions .product__add-to-cart-container {
  display: block;
  width: 100%;
}

/* Qty + ATC sit on ONE full-width row, no wrap */
.product-quantity,
.product__actions-qty-add {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  width: 100%;
}

/* Qty picker = ~20% of the row, sits left of the ATC button */
.product-actions__quantity,
.product__quantity.quantity-button,
.js-quantity-button {
  display: flex;
  flex: 0 0 20%;
  min-width: 116px;
  align-items: stretch;
}
.quantity-button__group.input-group {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--mh-border);
  border-radius: 4px;
  overflow: hidden;
  background: #FFFFFF;
  height: 52px;
  width: 100%;
}
.quantity-button__group .btn,
.quantity-button__group .btn-square-icon {
  background: transparent;
  border: 0;
  border-radius: 0;
  width: auto;
  height: 100%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mh-plum);
  cursor: pointer;
  flex: 0 0 32px;
}
.quantity-button__group .btn:hover { background: var(--mh-rose); color: var(--mh-primary-deep); }
.quantity-button__group .btn i { font-size: 16px; }
.quantity-button__group .spinner-border { display: none; }
.qty-input,
.product-quantity .form-control,
.quantity-button__group .form-control,
.quantity-button__group input[type="text"] {
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  text-align: center;
  border: 0;
  border-radius: 0;
  font-weight: 600;
  font-size: 14px;
  background: #FFFFFF;
  padding: 0;
  box-shadow: none;
  outline: none;
}
.qty-input:focus { background: #FFFFFF; }

/* ATC container is just a flex wrapper — no background */
.product-add-to-cart,
.product__add-to-cart-container {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
}

/* ATC wrapper grows to fill the row beside the 20% qty picker */
.product__add-to-cart {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}
.product__add-to-cart-button,
.product-add-to-cart .btn-add-to-cart,
.add-to-cart {
  background: var(--mh-plum);
  color: #FFFFFF;
  border: 0;
  border-radius: 4px;
  padding: 0 1.5rem;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex: 1 1 100%;
  width: 100%;
  height: 52px;
  min-height: 0;
  transition: background-color .15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.product__add-to-cart-button:hover,
.product-add-to-cart .btn-add-to-cart:hover,
.add-to-cart:hover { background: var(--mh-primary); color: #FFFFFF; }

.product__add-to-cart-button i,
.add-to-cart i { font-size: 18px; }

/* Hide the awkward blockreassurance placeholder boxes (un-configured defaults) */
.blockreassurance,
.blockreassurance--product,
#block-reassurance {
  display: none;
}

/* Tabs / accordion area */
.tabs,
.product__details {
  margin-top: 3rem;
  max-width: 1650px;
  margin-inline: auto;
}

.product__details {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--mh-line);
}

.product__details .accordion-item,
.product__details details {
  border-bottom: 1px solid var(--mh-line);
}

.product__details .accordion-button,
.product__details summary {
  font-family: var(--mh-font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 1.3rem 0;
  background: transparent;
  color: var(--mh-plum);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product__details .accordion-body,
.product__details details > div {
  padding: 0 0 1.5rem;
  font-size: 14.5px;
  color: var(--mh-muted);
  line-height: 1.6;
}

/* Reviews block */
.product-comments,
#product-comments-list {
  max-width: 1650px;
  margin: 3rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--mh-line);
}

.product-comments h2,
.product-comments .h2 {
  font-family: var(--mh-font-heading);
  font-weight: 500;
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}

/* Related products */
.product-accessories,
.featured-products,
.crossselling-products {
  max-width: 1650px;
  margin: 4rem auto 0;
}

.product-accessories h2,
.featured-products h2 {
  font-family: var(--mh-font-heading);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
  text-align: left;
  color: var(--mh-plum);
}

/* Social share row */
.social-sharing {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 12px;
  color: var(--mh-muted);
}

.social-sharing ul { display: flex; gap: 0.45rem; list-style: none; padding: 0; margin: 0; }

.social-sharing a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F5F5F5;
  border-radius: 999px;
  transition: background-color .15s ease;
}

.social-sharing a:hover { background: var(--mh-rose); }

/* Hide the small flag overlay on PDP image; keep just the % discount in info column */
.product__left .product-flag,
.product-cover .product-flag { display: none; }

/* Mobile */
/* Legacy responsive rule — overridden by PDP v3 mobile polish further down */
@media (max-width: 900px) {
  .product__container.product-container { grid-template-columns: 1fr; gap: 1rem; padding: 0; }
}

/* ============================================================
   PDP v2 — Matas-leaning hybrid
   Buy box (USPs, Spar chip, rating link, payment icons, wishlist)
   Sticky cart bar · accordion polish · Anbefalet hero card
   ============================================================ */

/* Rating link under H1 */
.mh-pdp__rating-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.25rem 0 1rem;
  color: var(--mh-muted);
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
}
.mh-pdp__rating-link:hover { color: var(--mh-primary-deep); }
.mh-pdp__rating-stars {
  color: var(--mh-yellow);
  letter-spacing: 1px;
  font-size: 14px;
}
.mh-pdp__rating-text { border-bottom: 1px solid var(--mh-line); padding-bottom: 1px; }

/* Spar X,- chip beside % badge */
.mh-pdp-save {
  background: var(--mh-plum);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 12px;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* USP row — 2x2 grid of small icon+label items below ATC */
.mh-usps {
  list-style: none;
  margin: 1.5rem 0 1.25rem;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
  background: #FAFAFA;
  border: 1px solid var(--mh-line);
  border-radius: 6px;
}
.mh-usps__item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 13px;
  color: var(--mh-plum);
  line-height: 1.3;
}
.mh-usps__item strong {
  display: block;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.005em;
}
.mh-usps__item small {
  display: block;
  font-size: 11.5px;
  color: var(--mh-muted);
  font-weight: 500;
  margin-top: 1px;
}
.mh-usps__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--mh-plum);
  margin-top: 1px;
}
.mh-usps__icon--tp { color: var(--mh-tp-green); }

/* Payment icons row below USPs */
.mh-payment-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 0.75rem 0 0;
  font-size: 11.5px;
  color: var(--mh-muted);
}
.mh-payment-icons__label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10.5px;
  color: var(--mh-plum-soft);
}
.mh-payment-icons__list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
/* Image-based payment chips — real brand logos, height-normalised */
.mh-payicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 0.45rem;
  background: #FFFFFF;
  border: 1px solid var(--mh-border);
  border-radius: 4px;
}
.mh-payicon img {
  height: 16px;
  width: auto;
  max-width: 46px;
  object-fit: contain;
  display: block;
}

/* Wishlist heart inline with ATC — matches 44px ATC row height */
.mh-wishlist-btn {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid var(--mh-border);
  border-radius: 4px;
  color: var(--mh-plum);
  cursor: pointer;
  transition: all .15s ease;
  flex-shrink: 0;
}
.mh-wishlist-btn:hover { border-color: var(--mh-primary); color: var(--mh-primary); background: var(--mh-rose); }
.mh-wishlist-btn.is-active,
.mh-wishlist-btn.in-wishlist { background: var(--mh-primary); color: #FFFFFF; border-color: var(--mh-primary); }
.mh-wishlist-btn.is-active svg,
.mh-wishlist-btn.in-wishlist svg { fill: currentColor; }
.mh-wishlist-btn svg { width: 20px; height: 20px; }

/* ============================================================
   STICKY ADD-TO-CART BAR (desktop top, mobile bottom)
   ============================================================ */
/* Sticky cart bar ALWAYS at the bottom (desktop + mobile) */
.mh-sticky-cart {
  position: fixed;
  left: 50%;
  right: auto;
  top: auto;
  bottom: 20px;
  width: calc(100% - 2rem);
  max-width: 900px;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(15, 15, 15, 0.18);
  transform: translate(-50%, calc(100% + 28px));
  transition: transform .28s cubic-bezier(.4, 0, .2, 1), opacity .2s ease;
  opacity: 0;
  pointer-events: none;
}
.mh-sticky-cart.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.mh-sticky-cart__inner {
  max-width: none;
  margin: 0 auto;
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.mh-sticky-cart__img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #F7F7F5;
  border-radius: 3px;
  flex-shrink: 0;
}
.mh-sticky-cart__info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mh-sticky-cart__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--mh-plum);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mh-sticky-cart__price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 13.5px;
}
.mh-sticky-cart__regular {
  color: var(--mh-muted);
  text-decoration: line-through;
  font-size: 12px;
}
.mh-sticky-cart__current {
  color: var(--mh-primary-deep);
  font-weight: 800;
  font-size: 15px;
}
.mh-sticky-cart__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--mh-plum);
  color: #FFFFFF;
  border: 0;
  border-radius: 4px;
  padding: 0.7rem 1.5rem;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s ease;
  flex-shrink: 0;
}
.mh-sticky-cart__btn:hover { background: var(--mh-primary); }
.mh-sticky-cart__btn svg { width: 18px; height: 18px; }
.mh-sticky-cart__btn:disabled,
.mh-sticky-cart__btn[disabled] {
  background: #B7B2BE;
  cursor: not-allowed;
}
.mh-sticky-cart__btn:disabled:hover,
.mh-sticky-cart__btn[disabled]:hover { background: #B7B2BE; }

@media (max-width: 768px) {
  .mh-sticky-cart__inner { padding: 0.6rem 0.85rem; gap: 0.65rem; }
  .mh-sticky-cart__btn { padding: 0.7rem 1rem; font-size: 12px; }
  .mh-sticky-cart__name { font-size: 13px; }
}

/* ============================================================
   ACCORDION POLISH (Om produktet, Ingredienser, etc.)
   ============================================================ */
.product__bottom.mh-pdp-info {
  display: block;
  max-width: 1650px;
  margin: 3rem auto 0;
}
.product__bottom.mh-pdp-info .product__bottom-left {
  margin: 0;
}

.mh-acc .accordion-item {
  border-bottom: 1px solid var(--mh-line);
  border-top: 0;
}
.mh-acc .accordion-item:first-child {
  border-top: 1px solid var(--mh-line);
}
.mh-acc .accordion-button {
  background: transparent;
  font-family: var(--mh-font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--mh-plum);
  padding: 1.4rem 0;
  letter-spacing: -0.005em;
}
.mh-acc .accordion-button:not(.collapsed) {
  color: var(--mh-plum);
  background: transparent;
  box-shadow: none;
}
.mh-acc .accordion-button:focus { box-shadow: none; outline: none; }
.mh-acc .accordion-body {
  padding: 0 0 1.5rem;
  font-size: 14.5px;
  color: var(--mh-plum-soft);
  line-height: 1.65;
}
.mh-acc .accordion-body p { margin-bottom: 0.65rem; }
.mh-acc .accordion-body p:last-child { margin-bottom: 0; }
.mh-acc .accordion-body strong { color: var(--mh-plum); font-weight: 600; }

/* Smooth accordion open/close */
.mh-acc .accordion-collapse {
  will-change: height;
}
.mh-acc .accordion-collapse.collapsing {
  transition: height .34s cubic-bezier(.4, 0, .2, 1);
}
.mh-acc .accordion-button::after {
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.mh-acc .accordion-body {
  transition: opacity .25s ease;
}
.mh-acc .accordion-collapse.collapsing .accordion-body,
.mh-acc .accordion-collapse:not(.show) .accordion-body {
  opacity: 0;
}
.mh-acc .accordion-collapse.show .accordion-body {
  opacity: 1;
}

/* Product spec list — clean label/value table */
.details__list,
.mh-acc .details__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background-color: transparent; /* override theme.css .details__list{background-color:var(--bs-tertiary-bg)} */
}
.details__item,
.mh-acc .details__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--mh-line);
  margin: 0;
}
.details__item:last-child,
.mh-acc .details__item:last-child { border-bottom: 0; }
.details__item:first-child,
.mh-acc .details__item:first-child { padding-top: 0; }
.details__left,
.mh-acc .details__left { flex: 0 0 auto; }
.details__title,
.mh-acc .details__title {
  font-size: 13px;
  font-weight: 500;
  color: var(--mh-muted);
}
.details__right,
.mh-acc .details__right {
  flex: 1 1 auto;
  text-align: right;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mh-plum);
  min-width: 0;
}
.details__right a {
  color: var(--mh-primary-deep);
  text-decoration: none;
}
.details__right a:hover { text-decoration: underline; }
.details__manufacturer-logo {
  display: inline-block;
  max-height: 28px;
  width: auto;
}

/* ============================================================
   REVIEWS BLOCK — summary card
   ============================================================ */
#product-comments-list-header,
.product-comments-list-header,
.product-comments .comments-note {
  background: #FAFAFA;
  border: 1px solid var(--mh-line);
  border-radius: 6px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
}
.product-comments .grade-stars,
.product-comments .star-content {
  color: var(--mh-yellow);
}
.product-comments__post-comment {
  background: var(--mh-plum);
  color: #FFFFFF;
  border: 0;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-comments__post-comment:hover { background: var(--mh-primary); }

.product-comments__comment {
  border: 1px solid var(--mh-line);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.85rem;
  background: #FFFFFF;
}
.product-comments__comment-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.product-comments__comment-author {
  font-weight: 600;
  font-size: 14px;
  color: var(--mh-plum);
}
.product-comments__comment-date {
  font-size: 12px;
  color: var(--mh-muted);
}

/* ============================================================
   CROSS-SELL — Anbefalet at købe med (hero card)
   ============================================================ */
.mh-pairs {
  max-width: 1650px;
  margin: 4rem auto 0;
  padding: 0 1rem;
}
.mh-pairs__title {
  font-family: var(--mh-font-heading);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  letter-spacing: -0.02em;
  color: var(--mh-plum);
  margin: 0 0 1.25rem;
}
.mh-pairs__card {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 1.75rem;
  background: var(--mh-rose);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
}
.mh-pairs__img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border-radius: 6px;
  padding: 1rem;
  height: 160px;
}
.mh-pairs__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.mh-pairs__body { min-width: 0; }
.mh-pairs__name {
  display: block;
  font-family: var(--mh-font-heading);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  color: var(--mh-plum);
  text-decoration: none;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}
.mh-pairs__name:hover { color: var(--mh-primary-deep); }
.mh-pairs__desc {
  font-size: 13.5px;
  color: var(--mh-plum-soft);
  line-height: 1.5;
  margin: 0 0 0.75rem;
}
.mh-pairs__price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
}
.mh-pairs__regular {
  color: var(--mh-muted);
  text-decoration: line-through;
  font-size: 13px;
  font-weight: 500;
}
.mh-pairs__current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--mh-primary-deep);
}
.mh-pairs__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--mh-plum);
  color: #FFFFFF;
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .15s ease;
  white-space: nowrap;
}
.mh-pairs__cta:hover { background: var(--mh-primary); color: #FFFFFF; }
.mh-pairs__cta svg { width: 16px; height: 16px; }

@media (max-width: 768px) {
  .mh-pairs__card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.25rem;
    gap: 1rem;
  }
  .mh-pairs__img { height: 140px; }
  .mh-pairs__price { justify-content: center; }
  .mh-pairs__cta { justify-self: stretch; justify-content: center; }
}

/* "Andre kunder købte også" title */
.mh-otherbought {
  max-width: 1650px;
  margin: 3.5rem auto 0;
  padding: 0 1rem;
}
.mh-otherbought__title {
  font-family: var(--mh-font-heading);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  letter-spacing: -0.02em;
  color: var(--mh-plum);
  margin: 0 0 1.5rem;
}

/* ============================================================
   BODY PADDING when sticky bar is visible (mobile prevents
   the bottom bar from covering footer/cart-link content)
   ============================================================ */
@media (max-width: 768px) {
  body.product .mh-sticky-cart.is-visible ~ * { padding-bottom: 0; }
  body.product .mh-sticky-cart.is-visible { padding-bottom: env(safe-area-inset-bottom); }
}

/* ============================================================
   PDP v3 — Coolshop structure (bordered buy-box card,
   green stock block, Trustpilot Fremragende, stacked USPs,
   horizontal recommendation rails) · MyHair pink/plum brand
   ============================================================ */

/* Hide old USP grid (still in cache for some pages) — new layout uses mh-usps-stack */
.product__right .mh-usps { display: none; }

/* Trustpilot Fremragende badge line under H1 */
.mh-tp-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin: 0.5rem 0 1.25rem;
}
.mh-tp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid var(--mh-line);
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 12px;
  color: var(--mh-plum);
  font-weight: 600;
  transition: border-color .15s ease;
}
.mh-tp-badge:hover { border-color: var(--mh-tp-green); }
.mh-tp-badge__label {
  font-weight: 700;
  letter-spacing: -0.005em;
}
.mh-tp-badge__stars {
  display: inline-flex;
  gap: 1px;
}
.mh-tp-badge__star {
  width: 14px;
  height: 14px;
  background: var(--mh-tp-green);
  display: inline-block;
  position: relative;
}
.mh-tp-badge__star::after {
  content: "★";
  position: absolute;
  inset: 0;
  color: #FFFFFF;
  font-size: 10px;
  line-height: 14px;
  text-align: center;
}
.mh-tp-badge__logo {
  font-weight: 700;
  color: var(--mh-tp-green);
  font-size: 11.5px;
  letter-spacing: -0.01em;
}

.mh-pdp__rating-link {
  margin: 0;
  font-size: 12.5px;
}
.mh-pdp__rating-stars { display: none; } /* superseded by mh-tp-badge */

/* Buy-box card (Coolshop pattern: bordered card around price + stock + ATC) */
.mh-buybox {
  background: #FFFFFF;
  border: 1px solid var(--mh-line);
  border-radius: 8px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 1px 4px rgba(15,15,15,0.04);
  margin-bottom: 0.75rem;
}
.mh-buybox .product__prices { margin: 0 0 1rem; }
.mh-buybox .product__price { font-size: 2.1rem; }

/* Green stock + delivery block at top of buy-box card */
.mh-stockblock {
  border-radius: 6px;
  margin: 0.5rem 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.mh-stockblock__row {
  display: flex;
  align-items: center;
  gap: 0.65em;
  font-size: 13px;
  color: var(--mh-plum);
  line-height: 1.3;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--mh-line);
}
.mh-stockblock__row strong {
  font-weight: 700;
}
.mh-stockblock__icon {
  width: 18px;
  height: 18px;
  color: #1F8F4C;
  flex-shrink: 0;
}
.mh-stockblock__row--stock {
  font-size: 13px;
}
.mh-stockblock__row--stock strong {
  color: #1F8F4C;
}

/* Low-stock (last remaining items) — amber card + stock row */
.mh-stockblock--low {
  background: #FFF8EC;
  border-color: #F5E2B8;
}
.mh-stockblock--low .mh-stockblock__row--stock strong,
.mh-stockblock--low .mh-stockblock__row--stock .mh-stockblock__icon {
  color: #B8860B;
}

/* Out of stock / unavailable — red card + stock row */
.mh-stockblock--out {
  background: #FDF2F2;
  border-color: #F3C9C9;
}
.mh-stockblock--out .mh-stockblock__row--stock strong,
.mh-stockblock--out .mh-stockblock__row--stock .mh-stockblock__icon {
  color: #C0392B;
}

/* ============================================================
   CRO urgency strip — live viewers, low-stock meter, cutoff
   ============================================================ */
.mh-urgency {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
}
.mh-urgency__row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 13px;
  color: var(--mh-plum-soft);
  line-height: 1.3;
}
.mh-urgency__row strong { font-weight: 700; color: var(--mh-plum); }

/* Live viewers — pulsing green dot */
.mh-urgency__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1F8F4C;
  flex-shrink: 0;
  position: relative;
}
.mh-urgency__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(31, 143, 76, 0.35);
  animation: mh-pulse 2s ease-out infinite;
}
@keyframes mh-pulse {
  0%   { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Low-stock meter */
.mh-urgency__stock { flex-wrap: wrap; gap: 0.35rem 0.6rem; }
.mh-urgency__stock strong { color: var(--mh-orange); }
.mh-urgency__bar {
  flex: 1 1 100%;
  height: 6px;
  border-radius: 999px;
  background: #F0E0EA;
  overflow: hidden;
  order: 2;
}
.mh-urgency__bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mh-orange), #FF8A3D);
}
.mh-urgency__stock > span { order: 1; }

/* Cutoff row */
.mh-urgency__cutoff svg { width: 16px; height: 16px; color: var(--mh-primary-deep); flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .mh-urgency__dot::after { animation: none; }
}

/* Payment icons inside buy box (no label, just icons row) */
.mh-buybox .mh-payment-icons {
  padding: 0.75rem 0 0;
  margin-top: 0.75rem;
  border-top: 1px solid var(--mh-line);
  justify-content: flex-start;
}

/* USPs — single bordered container, row separators (Coolshop minimal style) */
.mh-usps-stack {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #FFFFFF;
  border: 1px solid var(--mh-line);
  border-radius: 6px;
  overflow: hidden;
}
.mh-usps-stack__item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.85rem;
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--mh-line);
  border-radius: 0;
  padding: 0.85rem 1rem;
}
.mh-usps-stack__item:last-child { border-bottom: 0; }

.mh-usps-stack__icon {
  width: 22px;
  height: 22px;
  color: var(--mh-plum);
  background: transparent;
  border-radius: 0;
  padding: 0;
  flex-shrink: 0;
}

.mh-usps-stack__text {
  font-size: 15px;
  color: var(--mh-plum);
  line-height: 1.45;
  letter-spacing: -0.005em;
}
.mh-usps-stack__text strong {
  display: inline;
  font-weight: 700;
  color: var(--mh-plum);
  margin-right: 0.15rem;
}

/* Quantity+ATC stays compact inside the card */
.mh-buybox .product-quantity { margin: 0.75rem 0 0; }

/* Mobile collapse */
@media (max-width: 900px) {
  .product__container.product-container { grid-template-columns: 1fr; gap: 1.5rem; }
  .mh-buybox { padding: 1.25rem; }
  .mh-usps-stack__item { grid-template-columns: 22px 1fr; padding: 0.75rem 0.85rem; }
}

/* ============================================================
   HORIZONTAL RECOMMENDATION RAILS (Coolshop pattern)
   Scrollable, snap-to-card, with prev/next nav buttons
   ============================================================ */
.mh-rail {
  max-width: var(--bz-max);
  margin: 3rem auto 0;
  padding: 0 var(--bz-pad);
  position: relative;
}

/* 50px breathing room under the "Besøgte produkter" rail */
.mh-rail[data-mh-rail="viewed"] {
  margin-bottom: 50px;
}
.mh-rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 1.25rem;
  gap: 1rem;
}
.mh-rail__title {
  font-family: var(--mh-font-heading);
  font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  letter-spacing: -0.02em;
  color: var(--mh-plum);
  margin: 0;
}
.mh-rail__nav {
  display: inline-flex;
  gap: 0.4rem;
}
.mh-rail__btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--mh-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mh-plum);
  cursor: pointer;
  transition: all .15s ease;
}
.mh-rail__btn:hover { background: var(--mh-rose); border-color: var(--mh-primary); color: var(--mh-primary-deep); }
.mh-rail__btn svg { width: 16px; height: 16px; }

.mh-rail__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
  scroll-padding: 0 1rem;
}
.mh-rail__track::-webkit-scrollbar { display: none; }

/* Desktop: full-bleed the suggested-products rail to the right viewport edge
   (same treatment as the category chips). Title + first card stay on the content
   grid; the track's right edge overshoots the viewport via a negative margin
   (margin % resolves against the .mh-rail container width) and
   html,body{overflow-x:clip} (head.tpl) clips the overshoot — no scrollbar. */
@media (min-width: 992px) {
  .mh-rail.bm-suggested .mh-rail__track {
    margin-right: calc(100% - 100vw);
    scroll-padding-right: 0;
  }
}

.mh-rail__item {
  flex: 0 0 calc((100% - 4rem) / 5);
  min-width: 170px;
  max-width: 308px;
  scroll-snap-align: start;
}

/* Tighter card density inside rails */
.mh-rail__item .product-miniature,
.mh-rail__item .js-product-miniature {
  margin: 0;
  width: 100%;
}
.mh-rail__item .thumbnail-container,
.mh-rail__item .thumbnail {
  background: #F7F7F5;
  border-radius: 6px;
  padding: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}
.mh-rail__item .thumbnail img,
.mh-rail__item .product-thumbnail img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}
.mh-rail__item .product-title,
.mh-rail__item .product-description {
  margin-top: 0.5rem;
  padding: 0 0.25rem;
}
.mh-rail__item .product-title a {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mh-rail__item .product-price-and-shipping {
  padding: 0 0.25rem;
}

@media (max-width: 1100px) {
  .mh-rail__item { flex-basis: calc((100% - 2rem) / 3); }
}
@media (max-width: 768px) {
  .mh-rail { padding: 0 0.85rem; }
  .mh-rail__item { flex-basis: 48%; min-width: 0; }
  .mh-rail__nav { display: none; }
}
@media (max-width: 480px) {
  .mh-rail__item { flex-basis: 70%; }
}

/* Hide the old hero pair styles since rails replaced them — preserves
   anything else that might reference them on other pages */
.product__bottom-right { display: none; }

/* Accordion lives INSIDE the right column, below the buy box. */
.product__right .mh-pdp-info {
  margin: 0.5rem 0 0;
  max-width: none;
}
.product__right .mh-acc {
  width: 100%;
}
.product__right .mh-acc .accordion-button {
  font-size: 14.5px;
  padding: 1.1rem 0;
}
.product__right .mh-acc .accordion-body {
  font-size: 13.5px;
  padding-bottom: 1.25rem;
}
.product__right .mh-acc .accordion-body p {
  margin-bottom: 0.5rem;
}

/* Image column: don't be sticky if right column is much taller —
   sticky still helps but we cap the image so it doesn't dominate */
.product__left {
  align-self: start;
}

/* Productcomments block inside accordion: trim its own header (we already
   have the accordion title), keep the rest compact */
.mh-reviews-stub .product-comments-wrapper { margin: 0; }
.mh-reviews-stub #product-comments-list-header {
  background: transparent;
  border: 0;
  padding: 0;
  margin-bottom: 0.75rem;
}
.mh-reviews-stub #product-comments-list-header h2.section-title {
  display: none; /* "Anmeldelser (0)" is in the accordion header already */
}
.mh-reviews-stub .empty-product-comment,
.mh-reviews-stub #empty-product-comment {
  text-align: left;
  padding: 0;
}
.mh-reviews-stub #product-comments-list-btn-group {
  margin-top: 0.75rem;
}
.mh-reviews-stub #product-comments-list-review-button {
  background: var(--mh-plum);
  border-color: var(--mh-plum);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  padding: 0.7rem 1.25rem;
  border-radius: 4px;
}
.mh-reviews-stub #product-comments-list-review-button:hover {
  background: var(--mh-primary);
  border-color: var(--mh-primary);
}

/* ============================================================
   PDP — FULL RESPONSIVE POLISH (tablet + mobile)
   Frontrunner ecommerce: full-bleed gallery on mobile, dot
   indicators, big touch targets, tight cards, smooth carousels
   ============================================================ */

/* ---------- Large tablet / small desktop (1024–1199px) ---------- */
@media (max-width: 1199px) {
  body#product .product__container.product-container {
    grid-template-columns: minmax(0, 1.3fr) minmax(340px, 1fr);
    gap: 2rem;
    padding: 0 1.25rem;
  }
  body#product .product__carousel { height: 420px; }
  body#product .mh-rail { padding: 0 1.25rem; }
  body#product .mh-rail__item { flex-basis: calc((100% - 3rem) / 4); }
}

/* ---------- Tablet (768–1023px): single column, premium feel ---------- */
@media (max-width: 1023px) {
  body#product #main { padding-block: 0.5rem 2rem; }

  body#product .product__container.product-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    padding: 0 1.25rem;
    max-width: 760px;
  }

  body#product .product__left {
    position: static;
    padding: 1rem;
    border-radius: 8px;
  }
  body#product .product__carousel { height: 440px; }

  /* Thumbnails BELOW main image, horizontal scroll */
  body#product .product__images.js-images-container {
    flex-direction: column;
    gap: 0.65rem;
  }
  body#product .product__thumbnails { order: 2; width: 100%; }
  body#product .product__thumbnails-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  body#product .product__thumbnails-list::-webkit-scrollbar { display: none; }

  body#product .product__right { padding: 0; }
  body#product .mh-buybox { padding: 1.1rem 1.1rem 0.85rem; border-radius: 10px; }
  body#product .mh-buybox .product__price { font-size: 1.85rem; }

  /* Bigger touch targets */
  body#product .product__add-to-cart-button,
  body#product .product-add-to-cart .btn-add-to-cart,
  body#product .add-to-cart { height: 50px; font-size: 14px; }
  body#product .mh-wishlist-btn { width: 50px; height: 50px; flex: 0 0 50px; }
  body#product .mh-wishlist-btn svg { width: 22px; height: 22px; }

  body#product .mh-tp-line { gap: 0.5rem; }
  body#product .mh-usps-stack__item { padding: 0.7rem 0.85rem; }
  body#product .product__right .mh-acc .accordion-button {
    padding: 1.2rem 0;
    font-size: 15px;
  }

  body#product .mh-rail { padding: 0 1.25rem; margin-top: 2rem; }
  body#product .mh-rail__item { flex-basis: calc((100% - 2rem) / 3); min-width: 0; }
  body#product .mh-rail__title { font-size: 1.25rem; }
}

/* ---------- Mobile (≤767px) ---------- */
@media (max-width: 767px) {
  body#product #main { padding-block: 0 0; }
  /* Tight breadcrumb — kill big padding above & below it */
  body#product .breadcrumb__wrapper { padding: 0; margin: 0; }
  body#product .breadcrumb__wrapper .container { padding: 0.15rem 1rem 0; }
  body#product .breadcrumb {
    font-size: 11px;
    padding: 0.1rem 0;
    margin: 0;
  }

  body#product .product__container.product-container {
    padding: 0;
    gap: 0.75rem;
    max-width: 100%;
  }

  /* Image: edge-to-edge premium feel */
  body#product .product__left {
    background: #FAFAFA;
    border-radius: 0;
    padding: 0.5rem;
    margin: 0.5rem 0 0;
  }
  body#product .product__carousel { height: 360px; }
  body#product .product__carousel .carousel-item img { max-height: 320px; }

  body#product .product__carousel .carousel-control-prev,
  body#product .product__carousel .carousel-control-next { display: none; }
  body#product .product__zoom { bottom: 0.5rem; right: 0.5rem; }

  /* Convert thumb strip → dot indicators */
  body#product .product__thumbnails-list {
    justify-content: center;
    padding: 0.5rem 0 0;
    gap: 0.4rem;
  }
  body#product .product__thumbnail {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 50%;
    background: var(--mh-border);
    border: 0;
    overflow: hidden;
    text-indent: -9999px;
    transition: all .2s ease;
  }
  body#product .product__thumbnail.active {
    background: var(--mh-plum);
    width: 22px;
    border-radius: 4px;
  }
  body#product .product__thumbnail-image { display: none; }

  body#product .product__right { padding: 0 1rem; }
  body#product .product__manufacturer {
    font-size: 11px;
    margin: 0 0 0.55rem;
  }
  body#product .product__manufacturer a { font-size: 11px; }
  body#product .product__header-row { margin-top: 0.5rem; }
  body#product .product__name {
    font-size: 1.3rem;
    line-height: 1.2;
    margin: 0 0 0.1rem;
  }
  body#product .product__description-short { font-size: 13px; margin-bottom: 0.4rem; }

  body#product .mh-tp-line { gap: 0.4rem; margin-bottom: 0.85rem; }
  body#product .mh-tp-badge { padding: 0.25rem 0.45rem; font-size: 11px; }
  body#product .mh-tp-badge__star { width: 12px; height: 12px; }
  body#product .mh-tp-badge__star::after { font-size: 9px; line-height: 12px; }
  body#product .mh-pdp__rating-link { font-size: 12px; }

  body#product .mh-buybox {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 0.65rem;
  }
  body#product .mh-buybox .product__price { font-size: 1.7rem; }
  body#product .product__regular-price { font-size: 13px; }
  body#product .product__discount-percentage { font-size: 11px; padding: 0.2rem 0.45rem; }
  body#product .mh-pdp-save { font-size: 11px; padding: 0.2rem 0.45rem; }

  body#product .mh-stockblock {
    padding: 0.7rem 0.85rem;
    margin-bottom: 0.85rem;
    gap: 0.35rem;
  }
  body#product .mh-stockblock__row { font-size: 12.5px; gap: 0.5rem; }
  body#product .mh-stockblock__row--stock { font-size: 13.5px; }
  body#product .mh-stockblock__icon { width: 16px; height: 16px; }

  /* ATC prominent + tap-friendly */
  body#product .product__add-to-cart-button,
  body#product .product-add-to-cart .btn-add-to-cart,
  body#product .add-to-cart {
    height: 52px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
  }
  body#product .product__add-to-cart-button i,
  body#product .add-to-cart i { font-size: 20px; }
  body#product .mh-wishlist-btn { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 6px; }
  body#product .mh-wishlist-btn svg { width: 22px; height: 22px; }

  body#product .mh-buybox .mh-payment-icons {
    padding-top: 0.65rem;
    margin-top: 0.65rem;
    gap: 0.4rem;
  }
  body#product .mh-payicon { height: 26px; padding: 0 0.4rem; }
  body#product .mh-payicon img { height: 14px; }

  body#product .mh-usps-stack { margin-bottom: 0.65rem; gap: 0; }
  body#product .mh-usps-stack__item {
    padding: 0.7rem 0.85rem;
    grid-template-columns: 20px 1fr auto;
    gap: 0.6rem;
  }
  body#product .mh-usps-stack__icon { width: 20px; height: 20px; }
  body#product .mh-usps-stack__text { font-size: 14px; }

  body#product .product__right .mh-pdp-info { margin-top: 0.5rem; }
  body#product .product__right .mh-acc .accordion-button {
    padding: 1.1rem 0;
    font-size: 14.5px;
  }
  body#product .product__right .mh-acc .accordion-body { font-size: 13.5px; padding: 0 0 1.1rem; }

  /* Sticky-bar bottom padding so it doesn't cover content */
  body#product main,
  body#product #wrapper { padding-bottom: 80px; }

  /* Rails — peek scroll */
  body#product .mh-rail { padding: 0 1rem; margin-top: 1.5rem; }
  body#product .mh-rail__head { margin-bottom: 0.75rem; }
  body#product .mh-rail__title { font-size: 1.05rem; }
  body#product .mh-rail__nav { display: none; }
  body#product .mh-rail__track {
    gap: 0.65rem;
    padding-right: 1rem;
    margin-right: -1rem;
  }
  body#product .mh-rail__item {
    flex-basis: 45%;
    min-width: 150px;
    max-width: none;
  }
  body#product .mh-rail__item .thumbnail-container,
  body#product .mh-rail__item .thumbnail { padding: 0.5rem; }

  /* Sticky cart bar polished — safe-area aware */
  .mh-sticky-cart { padding-bottom: env(safe-area-inset-bottom, 0); }
  .mh-sticky-cart__inner { padding: 0.55rem 0.85rem; gap: 0.55rem; }
  .mh-sticky-cart__img { width: 40px; height: 40px; }
  .mh-sticky-cart__name { font-size: 12px; }
  .mh-sticky-cart__current { font-size: 14px; }
  .mh-sticky-cart__regular { font-size: 11px; }
  .mh-sticky-cart__btn { padding: 0.65rem 1rem; font-size: 12.5px; border-radius: 6px; }
  .mh-sticky-cart__btn span { font-size: 12.5px; }

  body#product .mh-reviews-stub #product-comments-list-review-button { width: 100%; }
}

/* ---------- Small mobile (≤380px) ---------- */
@media (max-width: 380px) {
  body#product .product__name { font-size: 1.18rem; }
  body#product .mh-buybox { padding: 0.85rem; }
  body#product .mh-buybox .product__price { font-size: 1.5rem; }
  body#product .mh-stockblock { padding: 0.6rem 0.7rem; }
  body#product .mh-stockblock__row { font-size: 12px; }
  body#product .mh-rail__item { flex-basis: 60%; }
  .mh-sticky-cart__inner { gap: 0.45rem; padding: 0.5rem 0.7rem; }
  .mh-sticky-cart__btn span { display: none; }
  .mh-sticky-cart__btn { padding: 0.6rem 0.75rem; min-width: 44px; }
}

/* ---------- Touch refinements ---------- */
@media (hover: none) and (pointer: coarse) {
  .mh-rail__track { scroll-snap-type: x mandatory; scroll-snap-stop: always; }
  .product__add-to-cart-button,
  .mh-wishlist-btn,
  .mh-sticky-cart__btn,
  .mh-rail__btn { -webkit-tap-highlight-color: transparent; }
  .product__add-to-cart-button:active { transform: scale(0.98); }
  .mh-sticky-cart__btn:active { transform: scale(0.97); }
}

@media (prefers-reduced-motion: reduce) {
  .mh-rail__track { scroll-behavior: auto; }
  .mh-sticky-cart { transition: none; }
  .product__add-to-cart-button { transition: none; }
}

/* ============================================================
   PDP — In-cart note (replaces the global cart-info notification)
   ============================================================ */
body#product #notifications .alert-info { display: none; }

.mh-cart-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--mh-rose);
  color: var(--mh-plum);
  border-radius: 999px;
  padding: 0.45rem 0.95rem 0.45rem 0.65rem;
  margin: 0.5rem 0 0.85rem;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid var(--mh-primary-soft);
}
.mh-cart-note .ph {
  font-size: 18px;
  color: var(--mh-primary-deep);
}
.mh-cart-note strong { font-weight: 700; color: var(--mh-primary-deep); }

/* ============================================================
   PDP price line — current price + discount badges + "inkl. moms"
   all on one row, badges/label sitting to the right of the price.
   ============================================================ */
.product__price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.55rem;
}

/* Tax label ("inkl. moms") — muted, sits inline to the right of the badges */
.product__price-line .product__tax-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--mh-muted);
  white-space: nowrap;
}

/* Unit price stays inline too, muted */
.product__price-line .product__unit-price {
  font-size: 13px;
  color: var(--mh-muted);
}

/* ============================================================
   PRODUCT IMAGE LIGHTBOX MODAL — fit image to viewport
   ============================================================ */
.product-images-modal.modal { z-index: 1060; }
.product-images-modal .modal-dialog {
  max-width: min(900px, 92vw);
  margin: 1.75rem auto;
}
.product-images-modal .modal-content {
  border: 0;
  border-radius: 10px;
  overflow: hidden;
}
.product-images-modal .modal-header {
  border: 0;
  padding: 0.85rem 1rem;
  position: relative;
}
.product-images-modal .modal-header .btn-close {
  margin: 0 0 0 auto;
  z-index: 2;
}
.product-images-modal__body,
.product-images-modal .modal-body {
  padding: 0 1.5rem 1.5rem;
}
.product-images-modal .carousel-item {
  display: none;
  text-align: center;
}
.product-images-modal .carousel-item.active {
  display: block;
}
.product-images-modal .carousel-item img,
.product-images-modal__body img {
  width: auto;
  max-width: 100%;
  max-height: 72vh;
  margin: 0 auto;
  object-fit: contain;
}
.product-images-modal .carousel-control-prev,
.product-images-modal .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  background: #FFFFFF;
  border: 1px solid var(--mh-border);
  border-radius: 50%;
  opacity: 1;
}
.product-images-modal .carousel-control-prev { left: 0.75rem; }
.product-images-modal .carousel-control-next { right: 0.75rem; }
.product-images-modal .carousel-control-prev-icon,
.product-images-modal .carousel-control-next-icon { filter: invert(1); width: 18px; height: 18px; }

@media (max-width: 600px) {
  .product-images-modal .modal-dialog { margin: 0.75rem; max-width: calc(100vw - 1.5rem); }
  .product-images-modal .carousel-item img,
  .product-images-modal__body img { max-height: 65vh; }
}

/* ============================================================
   Mobile product page — kill horizontal scroll + center image
   ============================================================ */
@media (max-width: 1023px) {
  /* Grid/flex children must be allowed to shrink, else the bm_addons
     slider's wide content widens the column and scrolls the page */
  body#product .product__container.product-container,
  body#product .product__left,
  body#product .product__right,
  body#product .product__additional-info,
  body#product .js-product-additional-info,
  body#product .product__actions,
  body#product #add-to-cart-or-refresh { min-width: 0; max-width: 100%; }

  /* bm_addons block + slider clamped to the column width */
  body#product .bm-addons,
  body#product .bm-addons__grid { max-width: 100%; }
  body#product .bm-addons__grid { overflow-x: auto; }
}

/* ============================================================
   PDP — Trustpilot review slider (below the product image)
   ============================================================ */
.mh-pdp-tp {
  margin: 3rem 0 0.75rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.mh-pdp-tp__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.mh-pdp-tp__stars { display: inline-flex; gap: 2px; }
.mh-pdp-tp__star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: #00B67A;
  border-radius: 3px;
}
.mh-pdp-tp__star svg { width: 12px; height: 12px; fill: #fff; }
.mh-pdp-tp__score {
  font-size: 13px;
  font-weight: 400;
  color: var(--mh-plum);
}
.mh-pdp-tp__meta {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--mh-muted, #6F6E76);
  margin-left: auto;
}
.mh-pdp-tp__viewport { overflow: hidden; }
.mh-pdp-tp__track {
  display: flex;
  width: 100%;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.mh-pdp-tp__slide {
  flex: 0 0 33.333%;
  min-width: 0;
  padding: 0 0.6rem;
  box-sizing: border-box;
}
.mh-pdp-tp__text {
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--mh-plum);
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mh-pdp-tp__byline {
  font-size: 12px;
  font-weight: 400;
  color: var(--mh-muted, #6F6E76);
  margin: 0;
}
.mh-pdp-tp__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 0.85rem;
}
.mh-pdp-tp__dot {
  width: 6px; height: 6px;
  border: 0; border-radius: 50%;
  background: var(--mh-line);
  padding: 0;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.mh-pdp-tp__dot.is-active {
  background: #00B67A;
  transform: scale(1.45);
}
.mh-pdp-tp__dot:hover { background: var(--mh-primary); }

@media (max-width: 1000px) {
  .mh-pdp-tp__slide { flex-basis: 50%; }
}
@media (max-width: 700px) {
  .mh-pdp-tp__meta { width: 100%; margin-left: 0; }
  .mh-pdp-tp__slide { flex-basis: 100%; padding: 0; }
}
