body.mlmg-product-page {
  --pd-accent: var(--green, #0f9f6e);
  --pd-accent-2: var(--yellow, #ffd166);
  --pd-text: var(--text, #17212f);
  --pd-muted: var(--muted, #6b7280);
  --pd-line: rgba(15, 23, 42, .1);
  --pd-card: rgba(255, 255, 255, .86);
  --pd-bg: var(--bg, #f7faf8);
  --pd-soft: rgba(15, 159, 110, .1);
  --pd-shadow: 0 24px 70px rgba(15, 23, 42, .12);
  background:
    radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--pd-accent) 14%, transparent), transparent 32rem),
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--pd-accent-2) 16%, transparent), transparent 30rem),
    var(--pd-bg);
  color: var(--pd-text);
  min-height: 100vh;
  overflow-x: hidden;
}

html:has(body.mlmg-product-page) {
  overflow-x: hidden;
}

body.mlmg-product-page *,
body.mlmg-product-page *::before,
body.mlmg-product-page *::after {
  min-width: 0;
}

body.theme-beauty_pink {
  --pd-accent: #d86f96;
  --pd-accent-2: #f4b7c8;
  --pd-bg: #fff7fa;
  --pd-soft: rgba(216, 111, 150, .12);
}

body.theme-modern_green,
body.theme-beauty_green {
  --pd-accent: #0f9f6e;
  --pd-accent-2: #ffd166;
  --pd-bg: #f6fbf8;
}

body.theme-digi_red {
  --pd-accent: #ef394e;
  --pd-accent-2: #19bfd3;
  --pd-bg: #f7f7f8;
}

body.theme-mega_yellow {
  --pd-accent: #111827;
  --pd-accent-2: #fbbf24;
  --pd-bg: #fff9e8;
}

body.theme-market_blue {
  --pd-accent: #2563eb;
  --pd-accent-2: #06b6d4;
  --pd-bg: #f4f8ff;
}

body.theme-minimal_white {
  --pd-accent: #111827;
  --pd-accent-2: #d4af37;
  --pd-bg: #fafafa;
}

body.theme-shopify_luxe {
  --pd-accent: #111111;
  --pd-accent-2: #c7a66b;
  --pd-bg: #f6f1ea;
}

body.theme-neo_mobile {
  --pd-accent: #7c3aed;
  --pd-accent-2: #22d3ee;
  --pd-bg: #f5f3ff;
}

body.theme-kala_story {
  --pd-accent: #e45d85;
  --pd-accent-2: #ffcf7a;
  --pd-bg: #fff8fb;
}

.shop-product-detail-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 28px));
  margin: 14px auto 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 50px rgba(15, 23, 42, .1);
  backdrop-filter: blur(22px) saturate(1.28);
  -webkit-backdrop-filter: blur(22px) saturate(1.28);
  max-width: calc(100vw - 28px);
}

.shop-product-detail-brand,
.shop-product-detail-header nav,
.shop-product-detail-header nav a,
.shop-product-detail-header nav button {
  display: inline-flex;
  align-items: center;
}

.shop-product-detail-brand {
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--pd-text);
  text-decoration: none;
  font-weight: 900;
}

.shop-product-detail-brand img,
.shop-product-detail-brand > span:first-child {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--pd-line);
}

.shop-product-detail-brand img {
  object-fit: cover;
}

.shop-product-detail-brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-product-detail-header nav {
  flex: 0 0 auto;
  gap: 8px;
}

.shop-product-detail-header nav a,
.shop-product-detail-header nav button {
  gap: 7px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--pd-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--pd-text);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.shop-product-detail-header nav a:hover,
.shop-product-detail-header nav button:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--pd-accent) 42%, transparent);
  background: #fff;
}

.shop-product-detail-header [data-cart-count],
.shop-product-bottom-nav [data-cart-count] {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--pd-accent);
  color: #fff;
  font-size: 11px;
}

.shop-product-detail-shell {
  width: min(1180px, calc(100% - 28px));
  max-width: calc(100vw - 28px);
  margin: 22px auto 56px;
}

.shop-product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--pd-muted);
  font-size: 13px;
}

.shop-product-breadcrumb a {
  color: var(--pd-accent);
  text-decoration: none;
  font-weight: 800;
}

.shop-product-detail-hero {
  display: grid;
  grid-template-columns: minmax(320px, .92fr) minmax(0, 1.08fr);
  gap: 18px;
  align-items: stretch;
}

.shop-product-detail-gallery,
.shop-product-detail-summary,
.shop-product-detail-section,
.shop-product-comment-form,
.shop-product-comment-card,
.shop-related-offer-card {
  border: 1px solid rgba(255, 255, 255, .64);
  background: var(--pd-card);
  box-shadow: var(--pd-shadow);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.shop-product-detail-gallery,
.shop-product-detail-summary,
.shop-product-detail-section {
  border-radius: 28px;
}

.shop-product-detail-gallery {
  padding: 14px;
}

.shop-product-detail-main-image {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  border: 0;
  padding: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .92), var(--pd-soft));
  color: inherit;
  cursor: zoom-in;
}

.shop-product-detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform .35s ease, opacity .2s ease;
}

.shop-product-detail-main-image:hover img {
  transform: scale(1.035);
}

.shop-product-detail-main-image em {
  position: absolute;
  inset-inline-end: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .74);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(12px);
}

.shop-product-detail-main-image:hover em,
.shop-product-detail-main-image:focus-visible em {
  opacity: 1;
  transform: translateY(0);
}

.shop-product-image-source {
  position: absolute;
  inset-inline-start: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
}

.shop-product-image-source.is-shop {
  background: linear-gradient(135deg, var(--pd-accent), color-mix(in srgb, var(--pd-accent), #000 18%));
}

.shop-product-image-source.is-official {
  background: rgba(15, 23, 42, .72);
  backdrop-filter: blur(12px);
}

.shop-product-detail-thumbs,
.shop-related-offer-rail,
.shop-product-detail-rail {
  display: grid;
  grid-auto-flow: column;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  overscroll-behavior-block: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  touch-action: pan-x pan-y pinch-zoom;
}

.shop-product-detail-thumbs {
  grid-auto-columns: 78px;
  gap: 10px;
  padding-top: 12px;
}

.shop-product-detail-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--pd-line);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  scroll-snap-align: start;
}

.shop-product-detail-thumb.is-active {
  border-color: var(--pd-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pd-accent) 16%, transparent);
}

.shop-product-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-product-detail-thumb small {
  position: absolute;
  inset-inline: 6px;
  bottom: 5px;
  padding: 3px 5px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .66);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.2;
}

.shop-product-detail-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  gap: 10px;
  color: var(--pd-muted);
}

.shop-product-detail-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(22px, 4vw, 42px);
}

.shop-product-detail-kicker,
.shop-product-detail-section-head span {
  color: var(--pd-accent);
  font-weight: 900;
  font-size: 13px;
}

.shop-product-detail-summary h1 {
  margin: 0;
  color: var(--pd-text);
  font-size: clamp(26px, 3.3vw, 46px);
  line-height: 1.35;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.shop-product-share,
.shop-product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-product-share a,
.shop-product-share button,
.shop-product-detail-review-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--pd-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  color: var(--pd-text);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: normal;
}

.shop-product-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--pd-line);
  border-radius: 18px;
  background: var(--pd-line);
}

.shop-product-detail-meta > div {
  display: grid;
  gap: 5px;
  min-height: 76px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .88);
}

.shop-product-detail-meta dt,
.shop-product-detail-meta dd {
  margin: 0;
}

.shop-product-detail-meta dt {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--pd-muted);
  font-size: 11px;
  font-weight: 850;
}

.shop-product-detail-meta dt i {
  color: var(--pd-accent);
  font-size: 17px;
}

.shop-product-detail-meta dd {
  color: var(--pd-text);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.shop-product-detail-meta dd small {
  margin-inline-start: 6px;
  color: var(--pd-muted);
  font-size: 11px;
  font-weight: 800;
}

.shop-product-detail-meta .shop-product-stock.is-available dt i,
.shop-product-detail-meta .shop-product-stock.is-available dd {
  color: #087f5b;
}

.shop-product-detail-meta .shop-product-stock.is-unavailable dt i,
.shop-product-detail-meta .shop-product-stock.is-unavailable dd {
  color: #b42318;
}

.shop-product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.shop-product-detail-price strong {
  color: var(--pd-accent);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 950;
}

.shop-product-detail-price del {
  color: var(--pd-muted);
  font-size: 15px;
}

.shop-product-detail-add,
.shop-product-detail-review-link,
.shop-product-comment-form button,
.shop-related-offer-cta {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pd-accent), color-mix(in srgb, var(--pd-accent) 70%, var(--pd-accent-2)));
  color: #fff;
  box-shadow: 0 16px 34px color-mix(in srgb, var(--pd-accent) 26%, transparent);
  transition: transform .2s ease, box-shadow .2s ease;
}

.shop-product-detail-add,
.shop-product-detail-review-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  font: inherit;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.shop-product-detail-add:hover,
.shop-product-detail-review-link:hover,
.shop-product-comment-form button:hover,
.shop-related-offer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px color-mix(in srgb, var(--pd-accent) 32%, transparent);
}

.shop-product-detail-add:disabled {
  cursor: not-allowed;
  background: #d1d5db;
  box-shadow: none;
  color: #4b5563;
}

.shop-product-share small {
  align-self: center;
  color: var(--pd-accent);
  font-weight: 800;
}

.shop-product-detail-section {
  margin-top: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.shop-product-detail-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--pd-line);
}

.shop-product-detail-section-heading {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.shop-product-detail-section-head h2 {
  margin: 0;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.4;
}

.shop-product-rail-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  direction: rtl;
}

.shop-product-rail-actions[hidden] {
  display: none !important;
}

.shop-product-rail-actions button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--pd-accent) 26%, var(--pd-line));
  border-radius: 13px;
  background: #fff;
  color: var(--pd-accent);
  font: inherit;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.shop-product-rail-actions button:hover {
  border-color: var(--pd-accent);
  background: color-mix(in srgb, var(--pd-accent) 8%, #fff);
  transform: translateY(-1px);
}

.shop-product-rail-actions button:disabled {
  cursor: default;
  opacity: .38;
  transform: none;
}

.shop-product-rail-actions i {
  font-size: 21px;
}

.shop-product-detail-copy {
  color: color-mix(in srgb, var(--pd-text) 86%, #fff);
  font-size: 15px;
  line-height: 2.1;
}

.shop-product-detail-copy p {
  margin: 0 0 10px;
}

.shop-product-description {
  position: relative;
}

.shop-product-description.is-collapsible .shop-product-detail-copy {
  position: relative;
  max-height: 250px;
  overflow: hidden;
  transition: max-height .38s ease;
}

.shop-product-description.is-collapsible:not(.is-expanded) .shop-product-detail-copy {
  -webkit-mask-image: linear-gradient(#000 72%, transparent 100%);
  mask-image: linear-gradient(#000 72%, transparent 100%);
}

.shop-product-description.is-expanded .shop-product-detail-copy {
  max-height: var(--product-description-height, 1600px);
  -webkit-mask-image: none;
  mask-image: none;
}

.shop-product-description-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  margin-top: 10px;
  padding: 0 15px;
  border: 1px solid color-mix(in srgb, var(--pd-accent) 30%, var(--pd-line));
  border-radius: 14px;
  background: color-mix(in srgb, var(--pd-accent) 7%, #fff);
  color: var(--pd-accent);
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.shop-product-description-toggle:hover {
  border-color: var(--pd-accent);
  background: color-mix(in srgb, var(--pd-accent) 12%, #fff);
  transform: translateY(-1px);
}

.shop-product-description-toggle i {
  font-size: 18px;
  transition: transform .25s ease;
}

.shop-product-description.is-expanded .shop-product-description-toggle i {
  transform: rotate(180deg);
}

.shop-product-detail-rail {
  grid-auto-columns: minmax(224px, 280px);
  gap: 14px;
  padding: 4px 2px 12px;
}

body.mlmg-public-shop.mlmg-dk-storefront.mlmg-product-page .shop-product-similar .shop-products-grid.shop-product-detail-rail {
  display: flex !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  overscroll-behavior-block: auto;
  touch-action: pan-x pan-y pinch-zoom;
}

body.mlmg-public-shop.mlmg-dk-storefront.mlmg-product-page .shop-product-similar .shop-products-grid.shop-product-detail-rail .shop-product-card {
  flex: 0 0 280px;
  width: 280px !important;
  max-width: 280px !important;
}

.shop-product-similar .shop-product-detail-rail {
  cursor: grab;
}

.shop-product-similar .shop-product-detail-rail.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.shop-product-detail-rail .shop-product-card {
  position: relative;
  scroll-snap-align: start;
  min-width: 0;
}

body.mlmg-product-page .shop-product-similar .shop-product-card-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  border-radius: inherit;
}

body.mlmg-product-page .shop-product-similar :is(.shop-product-slider button, .shop-product-actions, .shop-product-featured-media) {
  position: relative;
  z-index: 3;
}

.shop-related-offer-rail {
  grid-auto-columns: minmax(240px, 300px);
  gap: 14px;
  padding-bottom: 10px;
}

.shop-related-offer-card {
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 24px;
}

.shop-related-offer-image {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
}

.shop-related-offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-related-offer-card div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.shop-related-offer-card div a {
  color: var(--pd-text);
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-related-offer-card span {
  color: var(--pd-muted);
  font-size: 12px;
}

.shop-related-offer-card strong {
  grid-column: 1 / -1;
  color: var(--pd-accent);
  font-size: 16px;
}

.shop-related-offer-cta {
  grid-column: 1 / -1;
  display: inline-flex;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  font-weight: 900;
  text-decoration: none;
}

.shop-product-review-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 16px;
}

.shop-product-comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-self: start;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--pd-accent) 18%, var(--pd-line));
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .72)),
    var(--pd-soft);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

.shop-product-comment-form label {
  display: grid;
  gap: 7px;
}

.shop-product-comment-form label.is-wide,
.shop-product-comment-form button,
.shop-product-comment-form p {
  grid-column: 1 / -1;
}

.shop-product-comment-form span {
  color: color-mix(in srgb, var(--pd-text) 78%, var(--pd-accent));
  font-size: 12px;
  font-weight: 900;
}

.shop-product-comment-form input,
.shop-product-comment-form select,
.shop-product-comment-form textarea {
  width: 100%;
  border: 1px solid var(--pd-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  color: var(--pd-text);
  font: inherit;
  padding: 12px 13px;
  outline: none;
}

.shop-product-comment-form input:focus,
.shop-product-comment-form select:focus,
.shop-product-comment-form textarea:focus {
  border-color: var(--pd-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pd-accent) 14%, transparent);
}

.shop-product-comment-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--pd-accent), color-mix(in srgb, var(--pd-accent), #000 16%));
  color: #fff;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 14px 30px color-mix(in srgb, var(--pd-accent) 28%, transparent);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.shop-product-comment-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px color-mix(in srgb, var(--pd-accent) 34%, transparent);
}

.shop-product-comment-form button:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.shop-product-comment-form button span,
.shop-product-comment-form button i {
  color: #fff;
}

.shop-product-comment-form p {
  min-height: 42px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  color: var(--pd-text);
  font-weight: 900;
}

.shop-product-comment-form p:empty {
  display: none;
}

.shop-product-comment-form p.is-busy {
  color: color-mix(in srgb, var(--pd-text) 70%, var(--pd-accent));
}

.shop-product-comment-form p.is-success {
  background: #ecfdf5;
  color: #047857;
}

.shop-product-comment-form p.is-error {
  background: #fff1f2;
  color: #be123c;
}

.shop-product-rating-summary {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: 7px 10px 7px 8px;
  border: 1px solid color-mix(in srgb, #f59e0b 28%, var(--pd-line));
  border-radius: 14px;
  background: color-mix(in srgb, #f59e0b 6%, #fff);
  color: var(--pd-text);
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.shop-product-rating-summary:hover {
  border-color: color-mix(in srgb, #f59e0b 58%, var(--pd-line));
  background: color-mix(in srgb, #f59e0b 10%, #fff);
  transform: translateY(-1px);
}

.shop-product-rating-summary .shop-product-rating-stars {
  color: #f59e0b;
  direction: ltr;
  font-size: 17px;
  letter-spacing: 0;
  white-space: nowrap;
}

.shop-product-rating-summary strong {
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.shop-product-rating-summary small {
  color: var(--pd-muted);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.shop-product-rating-summary > i {
  color: var(--pd-accent);
  font-size: 18px;
}

.shop-product-comments-list {
  display: grid;
  gap: 12px;
}

.shop-product-comment-card {
  padding: 14px;
  border-radius: 22px;
}

.shop-product-comment-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.shop-product-comment-card span {
  color: #f59e0b;
  letter-spacing: 1px;
}

.shop-product-comment-card p {
  margin: 10px 0;
  color: color-mix(in srgb, var(--pd-text) 86%, #fff);
  line-height: 1.9;
}

.shop-product-comment-card small,
.shop-product-comments-empty {
  color: var(--pd-muted);
}

.shop-product-comments-empty {
  padding: 22px;
  border: 1px dashed var(--pd-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .58);
  text-align: center;
  font-weight: 800;
}

.shop-product-title-link {
  color: inherit;
  text-decoration: none;
}

.shop-product-title-link:hover {
  color: var(--pd-accent);
}

.shop-cart-item-title {
  display: block;
  color: inherit;
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.7;
  text-decoration: none;
}

.shop-cart-item-title:hover {
  color: var(--pd-accent);
}

.shop-product-bottom-nav {
  display: none;
}

@media (max-width: 860px) {
  body.mlmg-product-page {
    width: 100%;
  }

  .shop-product-detail-header {
    width: calc(100% - 20px);
    max-width: calc(100vw - 20px);
    margin-top: 10px;
    border-radius: 20px;
    overflow: hidden;
  }

  .shop-product-detail-brand {
    justify-content: flex-end;
  }

  .shop-product-detail-header nav a span,
  .shop-product-detail-header nav button span {
    display: none;
  }

  .shop-product-detail-header nav a,
  .shop-product-detail-header nav button {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .shop-product-detail-shell {
    width: calc(100% - 20px);
    max-width: calc(100vw - 20px);
    margin-bottom: 92px;
  }

  .shop-product-detail-hero,
  .shop-product-review-grid {
    grid-template-columns: 1fr;
  }

  .shop-product-detail-summary {
    padding: 20px;
  }

  .shop-product-detail-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .shop-product-detail-meta,
  .shop-product-share {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-product-detail-meta > div,
  .shop-product-share a,
  .shop-product-share button {
    justify-content: center;
    width: 100%;
    padding-inline: 8px;
    text-align: center;
  }

  .shop-product-detail-add,
  .shop-product-detail-review-link {
    width: 100%;
  }

  .shop-product-detail-section {
    padding: 16px;
    border-radius: 22px;
  }

  .shop-product-detail-rail {
    grid-auto-columns: 46vw;
  }

  body.mlmg-product-page .shop-product-similar {
    overflow: hidden;
  }

  body.mlmg-public-shop.mlmg-dk-storefront.mlmg-product-page.shop-layout-compact .shop-product-similar .shop-products-grid.shop-product-detail-rail {
    display: flex !important;
    width: calc(100% + 16px);
    margin-inline-end: -16px;
    padding: 4px 16px 14px;
    gap: 12px;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.mlmg-public-shop.mlmg-dk-storefront.mlmg-product-page.shop-layout-compact .shop-product-similar .shop-products-grid.shop-product-detail-rail::-webkit-scrollbar {
    display: none;
  }

  body.mlmg-public-shop.mlmg-dk-storefront.mlmg-product-page.shop-layout-compact .shop-product-similar .shop-products-grid.shop-product-detail-rail .shop-product-card {
    flex: 0 0 calc((100% - 12px) / 2) !important;
    width: calc((100% - 12px) / 2) !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .shop-related-offer-rail {
    grid-auto-columns: 78vw;
  }

  .shop-product-comment-form {
    grid-template-columns: 1fr;
  }

  .shop-product-rating-summary {
    grid-template-columns: auto auto 1fr auto;
    width: 100%;
  }

  .shop-product-bottom-nav {
    position: fixed;
    right: 50%;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: min(420px, calc(100% - 24px));
    transform: translateX(50%);
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 24px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 22px 60px rgba(15, 23, 42, .18);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
  }

  .shop-product-bottom-nav a,
  .shop-product-bottom-nav button {
    display: grid;
    place-items: center;
    gap: 4px;
    min-height: 52px;
    border: 0;
    background: transparent;
    color: var(--pd-text);
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
  }

  .shop-product-bottom-nav i {
    color: var(--pd-accent);
    font-size: 18px;
  }

  body.mlmg-product-page .dk-scroll-top {
    bottom: calc(92px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 520px) {
  .shop-product-detail-main-image {
    border-radius: 20px;
  }

  .shop-product-detail-main-image img {
    padding: 10px;
  }

  .shop-product-detail-main-image em {
    display: none;
  }

  .shop-product-image-source {
    inset-inline-start: 10px;
    top: 10px;
    min-height: 28px;
    padding: 6px 9px;
    font-size: 11px;
  }

  .shop-product-detail-thumbs {
    grid-auto-columns: 64px;
  }

  .shop-product-detail-thumb small {
    display: none;
  }

  body.mlmg-public-shop.mlmg-dk-storefront.mlmg-product-page.shop-layout-compact .shop-product-similar .shop-products-grid.shop-product-detail-rail .shop-product-card {
    flex-basis: calc((100% - 12px) / 2) !important;
    width: calc((100% - 12px) / 2) !important;
  }

  .shop-product-detail-price strong {
    font-size: 25px;
    line-height: 1.45;
  }

  .shop-product-detail-meta,
  .shop-product-share {
    grid-template-columns: 1fr 1fr;
  }

  .shop-product-detail-meta > div {
    min-height: 82px;
    padding: 11px;
  }

  .shop-product-rating-summary {
    grid-template-columns: 1fr auto;
    gap: 5px 10px;
  }

  .shop-product-rating-summary .shop-product-rating-stars,
  .shop-product-rating-summary strong {
    grid-column: 1;
  }

  .shop-product-rating-summary small {
    grid-column: 1;
    white-space: normal;
  }

  .shop-product-rating-summary > i {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .shop-product-detail-section-head {
    align-items: center;
    flex-direction: row;
  }

  .shop-product-rail-actions {
    gap: 6px;
  }

  .shop-product-rail-actions button {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .shop-product-similar .shop-product-actions .shop-add-to-cart {
    min-height: 42px;
    padding-inline: 7px;
    font-size: 11px;
    line-height: 1.45;
  }
}
