/* MYGEAR Store UI — PDP (PR R5)
 * Hierarchy: GearVN white canvas + MYGEAR v1 selective tint (price, offer header strip).
 * Không card stack, không border-left accent, không ::before bar trên mọi heading. */

.mg-ui-v2 .mg-store-pdp {
  background: var(--store-bg);
  padding-bottom: 40px;
}

/* Zones — spacing rhythm, tint chỉ khi cần */
.mg-ui-v2 .mg-store-pdp-zone {
  margin-bottom: 4px;
}

.mg-ui-v2 .mg-store-pdp-zone--intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.mg-ui-v2 .mg-store-pdp-zone--spec {
  padding-top: 4px;
  margin-bottom: 8px;
}

.mg-ui-v2 .mg-store-pdp-zone--price {
  background: var(--store-pdp-price-bg);
  border: 1px solid var(--store-pdp-price-border);
  border-radius: 12px;
  padding: 16px 12px 12px;
  margin-block: 10px 14px;
}

.mg-ui-v2 .mg-store-pdp-flash-sale {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--store-pdp-price-border);
}

.mg-ui-v2 .mg-store-pdp-flash-sale__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mg-ui-v2 .mg-store-pdp-flash-sale__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--store-brand);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.mg-ui-v2 .mg-store-pdp-flash-sale__countdown {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.mg-ui-v2 .mg-store-pdp-flash-sale__countdown-label {
  font-size: 12px;
  color: var(--store-text-muted);
  margin-right: 4px;
  white-space: nowrap;
}

.mg-ui-v2 .mg-store-pdp-flash-sale__countdown-unit {
  min-width: 28px;
  padding: 4px 5px;
  border-radius: 4px;
  background: #1f2937;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.mg-ui-v2 .mg-store-pdp-flash-sale__countdown-sep {
  font-weight: 700;
  color: var(--store-text);
}

.mg-ui-v2 .mg-store-pdp-flash-sale__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.mg-ui-v2 .mg-store-pdp-flash-sale__price-now {
  font-size: 28px;
  font-weight: 800;
  color: var(--store-brand);
  line-height: 1.1;
}

.mg-ui-v2 .mg-store-pdp-flash-sale__price-now u {
  text-decoration: none;
  font-size: 0.72em;
}

.mg-ui-v2 .mg-store-pdp-flash-sale__price-old {
  font-size: 14px;
  color: var(--store-text-muted);
  text-decoration: line-through;
}

.mg-ui-v2 .mg-store-pdp-flash-sale__price-old u {
  text-decoration: none;
}

.mg-ui-v2 .mg-store-pdp-flash-sale__discount {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(227, 0, 25, 0.1);
  color: #e30019;
  font-size: 12px;
  font-weight: 700;
}

.mg-ui-v2 .mg-store-pdp-flash-sale__progress-track {
  height: 4px;
  border-radius: 2px;
  background: #f1f5f9;
  overflow: hidden;
}

.mg-ui-v2 .mg-store-pdp-flash-sale__progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--store-brand);
}

.mg-ui-v2 .mg-store-pdp-flash-sale__progress-label {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--store-text-muted);
}

.mg-ui-v2 .mg-store-pdp-zone--offers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

/* Hide empty offers only when no offer-group AND no supplements root */
.mg-ui-v2 .mg-store-pdp-zone--offers:not(:has(.mg-store-pdp-offer-group)):not(:has(.mg-store-pdp-supplements)) {
  display: none;
}

/* Khuyến mãi (list) in info col — after product summary */
.mg-ui-v2 .mg-store-pdp__info-col .mg-store-pdp-zone--promos {
  margin-top: 4px;
  margin-bottom: 12px;
}

.mg-ui-v2 .mg-store-pdp__info-col .mg-store-pdp-zone--spec + .mg-store-pdp-zone--promos {
  margin-top: 12px;
}

/* Vouchers in commerce col (above price) */
.mg-ui-v2 .mg-store-pdp__commerce-col .mg-store-pdp-zone--vouchers-commerce {
  margin-bottom: 10px;
}

.mg-ui-v2 .mg-store-pdp-zone--options {
  margin-block: 12px 16px;
  padding-top: 12px;
  border-top: 1px solid var(--store-border);
}

.mg-ui-v2 .mg-store-pdp-options__title {
  margin: 0 0 12px;
  font-size: var(--store-fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--store-text);
}

.mg-ui-v2 .mg-store-pdp-zone--purchase {
  position: relative;
  z-index: 2;
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

@media (min-width: 992px) {
  .mg-ui-v2 .mg-store-pdp__commerce-col .mg-store-pdp-zone--price {
    margin-top: 0;
  }

}

/* Offer group — MYGEAR v1 pd-offerGroup-container pattern */
.mg-ui-v2 .mg-store-pdp-offer-group {
  border-radius: 12px;
  background: var(--store-bg);
  box-shadow: 0 0 0 1px var(--store-pdp-offer-ring);
  overflow: hidden;
}

.mg-ui-v2 .mg-store-pdp-offer-group__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0 16px;
  min-height: 44px;
  background: var(--store-icon-well);
  color: var(--store-price);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.mg-ui-v2 .mg-store-pdp-offer-group__body {
  padding: 10px 16px 12px;
}

/* Below-fold */
.mg-ui-v2 .mg-store-pdp__below-fold {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--store-border);
}

/* 3-col desktop grid — gallery | info | commerce (TNC-style) */
.mg-ui-v2 .mg-store-pdp__grid {
  display: grid;
  gap: var(--store-gap);
  padding-block: 8px var(--store-gap);
}

@media (min-width: 992px) {
  .mg-ui-v2 .mg-store-pdp__grid {
    --mg-pdp-col-gap: 24px;
    grid-template-columns: minmax(0, 25%) minmax(0, 37%) minmax(0, 34%);
    column-gap: var(--mg-pdp-col-gap);
    align-items: start;
    isolation: isolate;
  }
}

@media (min-width: 1280px) {
  .mg-ui-v2 .mg-store-pdp__grid {
    grid-template-columns: minmax(240px, 26%) minmax(280px, 1fr) minmax(280px, 34%);
  }
}

.mg-ui-v2 .mg-store-pdp__gallery-col,
.mg-ui-v2 .mg-store-pdp__info-col,
.mg-ui-v2 .mg-store-pdp__commerce-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.mg-ui-v2 .mg-store-pdp__gallery-col {
  min-width: 0;
}

@media (min-width: 992px) {
  .mg-ui-v2 .mg-store-pdp__gallery-col {
    position: sticky;
    top: var(--store-header-h);
    align-self: start;
    z-index: 0;
  }

  .mg-ui-v2 .mg-store-pdp__commerce-col {
    position: sticky;
    top: var(--store-header-h);
    align-self: start;
    z-index: 1;
  }

}

.mg-ui-v2 .mg-store-pdp__gallery-col .mg-store-pdp-trust--gallery {
  margin-top: 14px;
}

/* Brand card — layout only; colors from brand-partner-tier.css tokens */
.mg-ui-v2 .mg-store-pdp-zone--brand {
  margin: 0 0 12px;
}

/* Col 2: under product title (info column) */
.mg-ui-v2 .mg-store-pdp-zone--brand-info {
  margin: 8px 0 4px;
}

.mg-ui-v2 .mg-store-pdp-zone--intro > .mg-store-pdp-zone--brand-info {
  margin-top: 6px;
  margin-bottom: 2px;
}

/* Col 3: top of commerce column */
.mg-ui-v2 .mg-store-pdp-zone--brand-commerce {
  margin: 0 0 12px;
}

/* Mobile-only brand slot (after price hero) — hidden on desktop */
.mg-ui-v2 .mg-store-pdp-zone--brand-mobile {
  display: none;
}

.mg-ui-v2 .mg-store-pdp-brand--placement-info {
  padding: 12px;
}

.mg-ui-v2 .mg-store-pdp-brand--placement-commerce {
  padding: 14px 14px 12px;
}

.mg-ui-v2 .mg-store-pdp-brand {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  padding: 14px 14px 12px;
  border: 1px solid var(--mg-partner-shell-border, #e6e8eb);
  border-radius: 12px;
  background: var(--mg-partner-shell-bg, #fff);
  box-shadow: var(--mg-partner-shell-shadow, 0 1px 2px rgba(33, 43, 54, 0.04));
  color: var(--mg-partner-text, var(--store-text));
  overflow: hidden;
  isolation: isolate;
}

/* No left accent bar — felt AI-slop / broken right edge with inset stripe */

.mg-ui-v2 .mg-store-pdp-brand__head {
  display: flex;
  align-items: center; /* vertical center logo vs name/official/tier stack */
  gap: 12px;
  min-width: 0;
}

.mg-ui-v2 .mg-store-pdp-brand__logo {
  box-sizing: border-box;
  flex: 0 0 88px;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 48px;
  min-width: 88px;
  min-height: 48px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  /* Fill background (no border) — white for mark legibility */
  background: var(--mg-partner-logo-bg, #ffffff);
  text-decoration: none;
  overflow: hidden;
  text-align: center;
  line-height: 0; /* kill anchor baseline gap that shifts logo */
}

.mg-ui-v2 .mg-store-pdp-brand__logo--fallback {
  border: 0;
  background: var(--mg-partner-logo-fallback-bg, #ffffff);
  line-height: normal;
}

.mg-ui-v2 .mg-store-pdp-brand__logo-img {
  display: block;
  box-sizing: border-box;
  /* Fill the padded box, then contain+center the mark */
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: contain;
  object-position: center center;
  vertical-align: middle;
}

/* Dark shells: solid white logo pad (no border) */
.mg-ui-v2 .mg-store-pdp-brand--surface-dark .mg-store-pdp-brand__logo,
.mg-ui-v2 .mg-store-pdp-brand--surface-dark .mg-store-pdp-brand__logo--fallback {
  border: 0;
  background: #ffffff;
}

.mg-ui-v2 .mg-store-pdp-brand__monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--mg-partner-monogram, var(--store-text-muted));
  user-select: none;
}

.mg-ui-v2 .mg-store-pdp-brand__identity {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mg-ui-v2 .mg-store-pdp-brand--house .mg-store-pdp-brand__logo,
.mg-ui-v2 .mg-store-pdp-brand--tier-house .mg-store-pdp-brand__logo {
  flex-basis: 108px;
  width: 108px;
  min-width: 108px;
  height: 52px;
  min-height: 52px;
  padding: 8px 10px;
}

.mg-ui-v2 .mg-store-pdp-brand__name-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

.mg-ui-v2 .mg-store-pdp-brand__name {
  display: block;
  margin: 0;
  min-width: 0;
  font-size: var(--store-fs-md, 16px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--mg-partner-name, var(--store-text));
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mg-ui-v2 .mg-store-pdp-brand__name:hover {
  color: var(--mg-partner-name-hover, var(--store-brand));
}

/* Verified — Meta/FB scalloped badge (wavy edge), gold metal + white check */
.mg-ui-v2 .mg-store-pdp-brand__verified {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  line-height: 0;
  vertical-align: middle;
}

.mg-ui-v2 .mg-store-pdp-brand__verified-svg {
  display: block;
  width: 18px;
  height: 18px;
  overflow: visible;
  /* Soft lift — shape itself carries the wavy border */
  filter: drop-shadow(0 0.5px 0.5px rgba(120, 80, 0, 0.35));
}

.mg-ui-v2 .mg-store-pdp-brand__verified-shape {
  /* Gradient is on the path fill via SVG defs */
}

.mg-ui-v2 .mg-store-pdp-brand__verified-check {
  /* White check sits fully inside scalloped path bounds */
}

.mg-ui-v2 .mg-store-pdp-brand__official {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--mg-partner-official, var(--store-text-muted));
}

/* Partner-tier pill */
.mg-ui-v2 .mg-store-pdp-brand__tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  max-width: 100%;
  margin-top: 1px;
  padding: 4px 10px 4px 8px;
  border: 0;
  border-radius: 999px;
  background: var(--mg-partner-badge-bg);
  color: var(--mg-partner-badge-fg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  box-shadow: var(--mg-partner-badge-shadow, none);
}

.mg-ui-v2 .mg-store-pdp-brand__tier-badge-icon {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  color: var(--mg-partner-badge-icon, currentColor);
}

.mg-ui-v2 .mg-store-pdp-brand__tier-badge-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mg-ui-v2 .mg-store-pdp-brand__desc {
  margin: 0;
  font-size: var(--store-fs-sm, 13px);
  line-height: 1.55;
  color: var(--mg-partner-text-muted, var(--store-text-muted));
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mg-ui-v2 .mg-store-pdp-brand__cta {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  align-self: flex-start;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mg-partner-cta, var(--store-brand));
  text-decoration: none;
}

.mg-ui-v2 .mg-store-pdp-brand__cta:hover {
  color: var(--mg-partner-cta-hover, var(--store-brand-dark, #7a180d));
  text-decoration: underline;
}

.mg-ui-v2 .mg-store-pdp-brand__cta-icon {
  width: 16px;
  height: 16px;
}

/* House: quieter badge, sharper card */
.mg-ui-v2 .mg-store-pdp-brand--house .mg-store-pdp-brand__tier-badge,
.mg-ui-v2 .mg-store-pdp-brand--tier-house .mg-store-pdp-brand__tier-badge {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 10px;
  padding: 5px 11px 5px 9px;
}

.mg-ui-v2 .mg-store-pdp-brand__cta-icon {
  width: 16px;
  height: 16px;
}

.mg-ui-v2 .mg-store-pdp-zone--vouchers {
  margin-block: 12px 16px;
}

.mg-ui-v2 .mg-store-pdp-zone--vouchers:not(:has(.mg-store-pdp-vouchers)) {
  display: none;
}

.mg-ui-v2 .mg-store-pdp__info-col {
  position: relative;
  z-index: 1;
}

/* Title */
.mg-ui-v2 .mg-store-pdp-title {
  margin: 0;
  font-size: var(--store-fs-xl);
  font-weight: 700;
  line-height: 1.3;
  color: var(--store-text);
}

@media (min-width: 1280px) {
  .mg-ui-v2 .mg-store-pdp-title {
    font-size: var(--store-fs-2xl);
  }
}

/* Meta row */
.mg-ui-v2 .mg-store-pdp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: var(--store-fs-sm);
  color: var(--store-text-muted);
}

.mg-ui-v2 .mg-store-pdp-meta__item--brand {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.mg-ui-v2 .mg-store-pdp-meta__brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 56px;
  max-width: 88px;
  height: 28px;
  padding: 0;
  text-decoration: none;
}

.mg-ui-v2 .mg-store-pdp-meta__brand-logo-img {
  display: block;
  width: auto;
  max-width: 72px;
  height: 22px;
  object-fit: contain;
}

.mg-ui-v2 .mg-store-pdp-meta__brand,
.mg-ui-v2 .mg-store-pdp-meta__visit {
  color: var(--store-brand);
  font-weight: 500;
  text-decoration: none;
}

.mg-ui-v2 .mg-store-pdp-meta__brand:hover {
  text-decoration: underline;
}

.mg-ui-v2 .mg-store-pdp-meta__stock--in {
  color: #0f9d58;
  font-weight: 600;
}

.mg-ui-v2 .mg-store-pdp-meta__stock--out {
  color: var(--store-price);
  font-weight: 600;
}

.mg-ui-v2 .mg-store-pdp-meta__stock--contact {
  color: var(--store-brand);
  font-weight: 600;
}

/* Summary — flat inside spec panel */
.mg-ui-v2 .mg-store-pdp-summary {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.mg-ui-v2 .mg-store-pdp-summary__heading {
  margin: 0 0 8px;
  font-size: var(--store-fs-sm);
  font-weight: 600;
  color: var(--store-text);
}

.mg-ui-v2 .mg-store-pdp-summary__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--store-fs-sm);
  color: var(--store-text);
  line-height: 1.5;
}

.mg-ui-v2 .mg-store-pdp-summary__list li {
  padding: 3px 0;
  border-bottom: 1px dashed var(--store-border);
}

.mg-ui-v2 .mg-store-pdp-summary__list li:last-child {
  border-bottom: 0;
}

.mg-ui-v2 .mg-store-pdp-summary__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  font-size: var(--store-fs-sm);
  font-weight: 500;
  color: var(--store-brand);
  cursor: pointer;
}

/* Price box — flat inside price panel */
.mg-ui-v2 .mg-store-pdp-price-box {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.mg-ui-v2 .mg-store-pdp-price-box__loyalty {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.mg-ui-v2 .mg-store-pdp-price-box__loyalty .pd-loyalty-earn__icon {
  flex-shrink: 0;
  font-size: 15px;
  color: #d4a017;
  line-height: 1;
}

.mg-ui-v2 .mg-store-pdp-price-box__loyalty .pd-loyalty-earn__text {
  font-size: var(--store-fs-sm);
  line-height: 1.4;
  color: #7a5c00;
}

.mg-ui-v2 .mg-store-pdp-price-box__loyalty .pd-loyalty-earn__text strong {
  color: #9a7200;
  font-weight: 700;
}

.mg-ui-v2 .mg-store-pdp-price-box__hint {
  margin: 8px 0 0;
  font-size: var(--store-fs-sm);
  color: var(--store-text-muted);
}

@media (min-width: 992px) {
  .mg-ui-v2 .mg-store-pdp-price-box__hint,
  .mg-ui-v2 .mg-store-pdp-price-box__variant-lines {
    display: none;
  }
}

.mg-ui-v2 .mg-store-pdp-price-box__variant-lines {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--store-fs-sm);
}

.mg-ui-v2 .mg-store-pdp-price-box__variant-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px solid var(--store-border);
}

.mg-ui-v2 .mg-store-pdp-price-box__parent-ref {
  margin: 8px 0 0;
  font-size: var(--store-fs-xs);
  color: var(--store-text-muted);
}

.mg-ui-v2 .mg-store-pdp-price-box__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.mg-ui-v2 .mg-store-pdp-price-box__tags span {
  display: inline-block;
  margin-top: 6px;
  margin-right: 8px;
  padding: 0 11px;
  line-height: 30px;
  font-size: var(--store-fs-sm);
  font-weight: 500;
  color: var(--store-brand);
  background: var(--store-icon-well);
  border-radius: var(--store-radius-sm);
}

/* Promos / vouchers / supplements — inside offer-group body */
.mg-ui-v2 .mg-store-pdp-promos__list,
.mg-ui-v2 .mg-store-pdp-supplements__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--store-fs-sm);
  line-height: 1.45;
}

.mg-ui-v2 .mg-store-pdp-promos__list li,
.mg-ui-v2 .mg-store-pdp-supplements__list li {
  position: relative;
  padding: 5px 0 5px 22px;
}

.mg-ui-v2 .mg-store-pdp-promos__list li::before,
.mg-ui-v2 .mg-store-pdp-supplements__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--store-brand);
  font-size: 12px;
  font-weight: 700;
}

.mg-ui-v2 .mg-store-pdp-supplements__item--warning {
  color: #b45309;
}

.mg-ui-v2 .mg-store-pdp-supplements__item--promo {
  color: var(--store-brand);
}

/* ── PDP vouchers — Shopee-style horizontal chip rail ──────────── */
.mg-ui-v2 .mg-store-pdp-vouchers {
  margin: 0 0 8px;
}

.mg-ui-v2 .mg-store-pdp-vouchers__head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  min-width: 0;
}

.mg-ui-v2 .mg-store-pdp-vouchers__icon {
  flex: 0 0 auto;
  color: var(--store-brand, #d91605);
}

.mg-ui-v2 .mg-store-pdp-vouchers__title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--store-text);
}

.mg-ui-v2 .mg-store-pdp-vouchers__count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--store-text-muted);
  white-space: nowrap;
}

.mg-ui-v2 .mg-store-pdp-vouchers__rail {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding: 2px 2px 6px;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mg-ui-v2 .mg-store-pdp-vouchers__rail::-webkit-scrollbar {
  display: none;
}

.mg-ui-v2 .mg-store-pdp-vouchers__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* Single / dual vouchers: stretch a bit wider */
.mg-ui-v2 .mg-store-pdp-vouchers__rail[data-count="1"] .mg-store-pdp-voucher-chip,
.mg-ui-v2 .mg-store-pdp-vouchers__rail[data-count="2"] .mg-store-pdp-voucher-chip {
  width: min(200px, 72vw);
}

.mg-ui-v2 .mg-store-pdp-voucher-chip {
  display: flex;
  flex-direction: column;
  width: 152px;
  min-height: 108px;
  border: 1px solid color-mix(in srgb, var(--store-brand, #d91605) 28%, var(--store-border));
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(33, 43, 54, 0.04);
}

.mg-ui-v2 .mg-store-pdp-voucher-chip__top {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  margin: 0;
  padding: 10px 10px 6px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  min-width: 0;
}

.mg-ui-v2 .mg-store-pdp-voucher-chip__discount {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--store-brand, #d91605);
}

.mg-ui-v2 .mg-store-pdp-voucher-chip__code {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--store-text);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mg-ui-v2 .mg-store-pdp-voucher-chip__cond {
  font-size: 10px;
  line-height: 1.3;
  color: var(--store-text-muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mg-ui-v2 .mg-store-pdp-voucher-chip__reason {
  font-size: 9px;
  line-height: 1.25;
  color: #b45309;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mg-ui-v2 .mg-store-pdp-voucher-chip__footer {
  margin-top: auto;
  padding: 0 8px 8px;
}

.mg-ui-v2 .mg-store-pdp-voucher-chip__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid var(--store-brand, #d91605);
  border-radius: 6px;
  background: var(--store-brand, #d91605);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.mg-ui-v2 .mg-store-pdp-voucher-chip__btn:hover:not(:disabled):not(.is-disabled) {
  filter: brightness(0.96);
}

.mg-ui-v2 .mg-store-pdp-voucher-chip__btn:disabled,
.mg-ui-v2 .mg-store-pdp-voucher-chip__btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.mg-ui-v2 .mg-store-pdp-voucher-chip__btn--secondary {
  background: #fff;
  color: var(--store-brand, #d91605);
}

.mg-ui-v2 .mg-store-pdp-voucher-chip__btn--secondary:hover:not(:disabled) {
  background: color-mix(in srgb, var(--store-brand, #d91605) 7%, #fff);
  filter: none;
}

.mg-ui-v2 .mg-store-pdp-voucher-chip__btn--ghost {
  background: var(--store-surface, #f6f7f8);
  border-color: var(--store-border);
  color: var(--store-text-muted);
}

/* Status tints */
.mg-ui-v2 .mg-store-pdp-voucher-chip--claimable {
  border-color: color-mix(in srgb, #d97706 35%, var(--store-border));
}

.mg-ui-v2 .mg-store-pdp-voucher-chip--claimable .mg-store-pdp-voucher-chip__discount {
  color: #c2410c;
}

.mg-ui-v2 .mg-store-pdp-voucher-chip--applicable {
  border-color: color-mix(in srgb, var(--store-brand, #d91605) 40%, var(--store-border));
}

.mg-ui-v2 .mg-store-pdp-voucher-chip--ineligible,
.mg-ui-v2 .mg-store-pdp-voucher-chip--used {
  opacity: 0.72;
  border-color: var(--store-border);
}

.mg-ui-v2 .mg-store-pdp-voucher-chip--ineligible .mg-store-pdp-voucher-chip__discount,
.mg-ui-v2 .mg-store-pdp-voucher-chip--used .mg-store-pdp-voucher-chip__discount {
  color: #64748b;
}

/* Skeleton chips */
.mg-ui-v2 .mg-store-pdp-voucher-chip--skeleton {
  padding: 10px;
  gap: 8px;
  pointer-events: none;
}

.mg-ui-v2 .mg-store-pdp-voucher-chip__sk-block {
  width: 48px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e8edf2 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: mg-pdp-voucher-shimmer 1.2s ease-in-out infinite;
}

.mg-ui-v2 .mg-store-pdp-voucher-chip__sk-line {
  width: 80%;
  height: 8px;
  border-radius: 3px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e8edf2 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: mg-pdp-voucher-shimmer 1.2s ease-in-out infinite;
}

.mg-ui-v2 .mg-store-pdp-voucher-chip__sk-btn {
  margin-top: auto;
  width: 100%;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e8edf2 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: mg-pdp-voucher-shimmer 1.2s ease-in-out infinite;
}

@keyframes mg-pdp-voucher-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (max-width: 991px) {
  .mg-ui-v2 .mg-store-pdp-voucher-chip {
    width: 140px;
    min-height: 100px;
  }

  .mg-ui-v2 .mg-store-pdp-voucher-chip__discount {
    font-size: 16px;
  }
}

/* Variants */
.mg-ui-v2 .mg-store-pdp-variants {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mg-ui-v2 .mg-store-pdp-variants__label {
  margin: 0 0 8px;
  font-size: var(--store-fs-sm);
  font-weight: 600;
  color: var(--store-text);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}

.mg-ui-v2 .mg-store-pdp-variants__selected {
  font-weight: 500;
  color: var(--store-text-muted, #637381);
}

.mg-ui-v2 .mg-store-pdp-variants__selected::before {
  content: "·";
  margin-right: 8px;
  color: var(--store-border, #dfe3e8);
}

.mg-ui-v2 .mg-store-pdp-variants__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mg-ui-v2 .mg-store-pdp-variants__options--color {
  gap: 10px;
}

.mg-ui-v2 .mg-store-pdp-variants__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-sm);
  background: #fff;
  font-size: var(--store-fs-sm);
  color: var(--store-text);
  cursor: pointer;
  transition:
    border-color var(--store-ease),
    color var(--store-ease),
    box-shadow var(--store-ease),
    background var(--store-ease);
}

.mg-ui-v2 .mg-store-pdp-variants__option:hover:not(:disabled) {
  border-color: var(--store-brand);
  color: var(--store-brand);
}

.mg-ui-v2 .mg-store-pdp-variants__option--active {
  border-color: var(--store-brand);
  color: var(--store-brand);
  font-weight: 600;
  /* Single outline only — no inset ring (avoids double border) */
  box-shadow: none;
  background: color-mix(in srgb, var(--store-brand) 6%, #fff);
}

.mg-ui-v2 .mg-store-pdp-variants__option--disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Color swatch options — `#HEX-Label` variants */
.mg-ui-v2 .mg-store-pdp-variants__option--color {
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
}

.mg-ui-v2 .mg-store-pdp-variants__option--color.mg-store-pdp-variants__option--active {
  border-color: var(--store-brand);
  box-shadow: none;
  background: #fff;
}

.mg-ui-v2 .mg-store-pdp-variants__swatch {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
  background-clip: padding-box;
}

.mg-ui-v2 .mg-store-pdp-variants__swatch--light {
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(15, 23, 42, 0.06);
}

.mg-ui-v2 .mg-store-pdp-variants__color-name {
  line-height: 1.2;
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .mg-ui-v2 .mg-store-pdp-variants__option--color {
    padding: 6px 10px 6px 7px;
  }

  .mg-ui-v2 .mg-store-pdp-variants__swatch {
    width: 20px;
    height: 20px;
  }

  .mg-ui-v2 .mg-store-pdp-variants__color-name {
    max-width: 8.5rem;
    font-size: 13px;
  }
}

/* Buy box */
.mg-ui-v2 .mg-store-pdp-buy-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 4px;
}

@media (max-width: 991px) {
  .mg-ui-v2 .mg-store-pdp-buy-box {
    display: none;
  }
}

.mg-ui-v2 .mg-store-pdp-buy-box__qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mg-ui-v2 .mg-store-pdp-buy-box__qty-label {
  font-size: var(--store-fs-sm);
  font-weight: 500;
  color: var(--store-text);
}

.mg-ui-v2 .mg-store-pdp-buy-box__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-sm);
  overflow: hidden;
}

.mg-ui-v2 .mg-store-pdp-buy-box__qty-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--store-surface);
  font-size: 18px;
  color: var(--store-text);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.mg-ui-v2 .mg-store-pdp-buy-box__qty-btn:hover:not(:disabled) {
  background: var(--store-border);
  color: var(--store-brand);
}

.mg-ui-v2 .mg-store-pdp-buy-box__qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.mg-ui-v2 .mg-store-pdp-buy-box__qty-input {
  width: 44px;
  height: 36px;
  border: 0;
  border-inline: 1px solid var(--store-border);
  text-align: center;
  font-size: var(--store-fs-sm);
  font-weight: 600;
}

.mg-ui-v2 .mg-store-pdp-buy-box__actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

@media (min-width: 480px) {
  .mg-ui-v2 .mg-store-pdp-buy-box__actions {
    grid-template-columns: 1fr 1.2fr;
  }
}

.mg-ui-v2 .mg-store-pdp-buy-box__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: var(--store-fs-base);
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid var(--store-brand);
  border-radius: var(--store-radius-sm);
  background: #fff;
  color: var(--store-brand);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.mg-ui-v2 .mg-store-pdp-buy-box__cart:hover:not(:disabled) {
  background: rgba(217, 22, 5, 0.06);
  border-color: var(--store-brand);
  color: var(--store-brand);
}

.mg-ui-v2 .mg-store-pdp-buy-box__cart:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.mg-ui-v2 .mg-store-pdp-buy-box__buy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  min-height: 52px;
  padding: 10px 20px;
  font-family: inherit;
  line-height: 1.2;
  border: 1px solid var(--store-brand);
  border-radius: var(--store-radius-sm);
  background: var(--store-brand);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.mg-ui-v2 .mg-store-pdp-buy-box__buy:hover:not(:disabled) {
  background: var(--store-brand-dark);
  border-color: var(--store-brand-dark);
  color: #fff;
}

.mg-ui-v2 .mg-store-pdp-buy-box__buy:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.mg-ui-v2 .mg-store-pdp-buy-box__buy-title {
  font-size: var(--store-fs-lg);
  font-weight: 700;
  text-transform: uppercase;
}

.mg-ui-v2 .mg-store-pdp-buy-box__buy-sub {
  font-size: var(--store-fs-xs);
  font-weight: 400;
  opacity: 0.92;
}

/* Gallery */
.mg-ui-v2 .mg-store-pdp-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mg-ui-v2 .mg-store-pdp-gallery__stage {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-sm);
  background: var(--store-bg);
  cursor: zoom-in;
  overflow: hidden;
}

.mg-ui-v2 .mg-store-pdp-gallery__main {
  position: relative;
  aspect-ratio: 1;
  background: #fff;
}

.mg-ui-v2 .mg-store-pdp-gallery__layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.mg-ui-v2 .mg-store-pdp-gallery__layer--front {
  opacity: 1;
  pointer-events: auto;
}

.mg-ui-v2 .mg-store-pdp-gallery__main-img {
  object-fit: contain;
}

.mg-ui-v2 .mg-store-pdp-gallery__zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--store-text-muted);
  box-shadow: var(--store-shadow-sm);
}

.mg-ui-v2 .mg-store-pdp-gallery__thumbs {
  position: relative;
  overflow: hidden;
}

.mg-ui-v2 .mg-store-pdp-gallery__thumb-track {
  display: flex;
  will-change: transform;
}

.mg-ui-v2 .mg-store-pdp-gallery__thumb {
  padding: 4px;
  border: 2px solid transparent;
  border-radius: var(--store-radius-sm);
  background: #fff;
  cursor: pointer;
}

.mg-ui-v2 .mg-store-pdp-gallery__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.mg-ui-v2 .mg-store-pdp-gallery__thumb--active {
  border-color: var(--store-brand);
}

.mg-ui-v2 .mg-store-pdp-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--store-border);
  border-radius: 50%;
  background: #fff;
  color: var(--store-text);
  transform: translateY(-50%);
  cursor: pointer;
}

.mg-ui-v2 .mg-store-pdp-gallery__nav--prev {
  left: 4px;
}

.mg-ui-v2 .mg-store-pdp-gallery__nav--next {
  right: 4px;
}

/* Gallery hero video (ô ảnh đầu) */
.mg-ui-v2 .mg-store-pdp-gallery__stage--video {
  cursor: pointer;
}

.mg-ui-v2 .mg-store-pdp-gallery__stage--playing {
  cursor: default;
}

.mg-ui-v2 .mg-store-pdp-gallery__video {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
}

.mg-ui-v2 .mg-store-pdp-gallery__video-poster {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mg-ui-v2 .mg-store-pdp-gallery__video-play {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(208, 41, 21, 0.92);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.mg-ui-v2 .mg-store-pdp-gallery__video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.mg-ui-v2 .mg-store-pdp-gallery__thumb--video {
  position: relative;
}

.mg-ui-v2 .mg-store-pdp-gallery__thumb-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(208, 41, 21, 0.95);
  color: #fff;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Banner promo */
.mg-ui-v2 .mg-store-pdp-banner__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--store-radius-sm);
}

/* Sidebar */
.mg-ui-v2 .mg-store-pdp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mg-ui-v2 .mg-store-pdp-sidebar__block,
.mg-ui-v2 .mg-store-pdp-sidebar__qr {
  padding: 14px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-sm);
  background: #fff;
}

.mg-ui-v2 .mg-store-pdp-sidebar__heading {
  margin: 0 0 10px;
  font-size: var(--store-fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--store-brand);
}

.mg-ui-v2 .mg-store-pdp-sidebar__line {
  margin: 0 0 6px;
  font-size: var(--store-fs-sm);
  line-height: 1.45;
}

.mg-ui-v2 .mg-store-pdp-sidebar__line span {
  color: var(--store-text-muted);
}

.mg-ui-v2 .mg-store-pdp-sidebar__line a {
  color: var(--store-brand);
  font-weight: 500;
  text-decoration: none;
}

.mg-ui-v2 .mg-store-pdp-sidebar__links,
.mg-ui-v2 .mg-store-pdp-sidebar__hotlines {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--store-fs-sm);
}

.mg-ui-v2 .mg-store-pdp-sidebar__links li,
.mg-ui-v2 .mg-store-pdp-sidebar__hotlines li {
  padding: 4px 0;
}

.mg-ui-v2 .mg-store-pdp-sidebar__links a {
  color: var(--store-text);
  text-decoration: none;
}

.mg-ui-v2 .mg-store-pdp-sidebar__links a:hover {
  color: var(--store-brand);
}

.mg-ui-v2 .mg-store-pdp-sidebar__hotlines li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.mg-ui-v2 .mg-store-pdp-sidebar__hotlines a {
  color: var(--store-brand);
  font-weight: 600;
  text-decoration: none;
}

.mg-ui-v2 .mg-store-pdp-sidebar__qr {
  text-align: center;
}

.mg-ui-v2 .mg-store-pdp-sidebar__qr p {
  margin: 0 0 10px;
  font-size: var(--store-fs-sm);
  line-height: 1.45;
  color: var(--store-text);
}

/* Trust block — under gallery thumbs (desktop) / below gallery (mobile) */
.mg-ui-v2 .mg-store-pdp-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mg-ui-v2 .mg-store-pdp-trust--gallery {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--store-border);
}

.mg-ui-v2 .mg-store-pdp-trust__quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 8px;
}

.mg-ui-v2 .mg-store-pdp-trust__channel {
  --channel-accent: var(--store-text-muted);
  --channel-bg: var(--store-surface);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-sm);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.mg-ui-v2 .mg-store-pdp-trust__channel--zalo {
  --channel-accent: var(--store-trust-zalo);
  --channel-bg: var(--store-trust-zalo-bg);
}

.mg-ui-v2 .mg-store-pdp-trust__channel--retail {
  --channel-accent: var(--store-trust-retail);
  --channel-bg: var(--store-trust-retail-bg);
}

.mg-ui-v2 .mg-store-pdp-trust__channel--project {
  --channel-accent: var(--store-trust-project);
  --channel-bg: var(--store-trust-project-bg);
}

.mg-ui-v2 .mg-store-pdp-trust__channel--showroom {
  --channel-accent: var(--store-trust-showroom);
  --channel-bg: var(--store-trust-showroom-bg);
}

.mg-ui-v2 .mg-store-pdp-trust__channel:hover {
  border-color: var(--channel-accent);
  background: var(--channel-bg);
}

.mg-ui-v2 .mg-store-pdp-trust__channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--channel-bg);
  color: var(--channel-accent);
}

.mg-ui-v2 .mg-store-pdp-trust__channel-svg {
  display: block;
  width: 18px;
  height: 18px;
}

.mg-ui-v2 .mg-store-pdp-trust__channel-svg--zalo {
  width: 20px;
  height: 20px;
}

.mg-ui-v2 .mg-store-pdp-trust__channel-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.mg-ui-v2 .mg-store-pdp-trust__channel-label {
  font-size: var(--store-fs-xs);
  color: var(--store-text-muted);
  line-height: 1.2;
}

.mg-ui-v2 .mg-store-pdp-trust__channel-value {
  font-size: var(--store-fs-sm);
  font-weight: 600;
  color: var(--channel-accent);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mg-ui-v2 .mg-store-pdp-trust__community {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-sm);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.mg-ui-v2 .mg-store-pdp-trust__community:hover {
  border-color: var(--store-trust-fb);
  background: var(--store-trust-fb-bg);
}

.mg-ui-v2 .mg-store-pdp-trust__community img {
  flex-shrink: 0;
  border-radius: 4px;
}

.mg-ui-v2 .mg-store-pdp-trust__community-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: var(--store-fs-sm);
  font-weight: 600;
  color: var(--store-text);
  line-height: 1.3;
}

.mg-ui-v2 .mg-store-pdp-trust__community-text small {
  font-size: var(--store-fs-xs);
  font-weight: 400;
  color: var(--store-text-muted);
}

/* Tabs */
.mg-ui-v2 .mg-store-pdp-tabs {
  margin-top: 0;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-sm);
  background: var(--store-bg);
}

@media (max-width: 991px) {
  .mg-ui-v2 .mg-store-pdp__tabs-video:has(.mg-store-pdp-video) .mg-store-pdp-tabs {
    border: 0;
    background: transparent;
  }
}

.mg-ui-v2 #mg-store-pdp-section-product-info {
  scroll-margin-top: calc(
    var(--mg-sticky-header-h, 0px) + var(--pd-mobile-section-nav-h, 0px) + 8px
  );
}

@media (min-width: 992px) {
  .mg-ui-v2 #mg-store-pdp-section-product-info {
    scroll-margin-top: calc(var(--store-header-h, 64px) + 8px);
  }

  html:not(:has(.mg-store-pdp)) .mg-ui-v2 .mg-store-pdp-tabs__bar {
    position: sticky;
    top: calc(var(--store-header-h, 64px) + 8px);
    z-index: 10;
    box-shadow: 0 1px 0 var(--store-border);
  }
}

html:has(.mg-store-pdp) {
  scroll-padding-top: calc(var(--pd-mobile-section-nav-h, 0px) + 8px);
}

html:has(.mg-store-pdp) body > .pd-mobile-section-nav {
  display: block !important;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 100;
  background: var(--store-bg, #fff);
  border-bottom: 1px solid var(--store-border, #e8e8e8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

html:has(.mg-store-pdp) body > .pd-mobile-section-nav--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-100%);
}

html:has(.mg-store-pdp) .pd-mobile-section-nav__shell {
  min-width: 0;
}

html:has(.mg-store-pdp) .pd-mobile-section-nav__list {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0;
}

html:has(.mg-store-pdp) .pd-mobile-section-nav__list::-webkit-scrollbar {
  display: none;
}

html:has(.mg-store-pdp) .pd-mobile-section-nav__tab {
  flex: 0 0 auto;
  position: relative;
  margin: 0;
  padding: 11px 14px;
  border: 0;
  background: transparent;
  color: var(--store-text-muted, #637381);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

html:has(.mg-store-pdp) .pd-mobile-section-nav__tab.is-active {
  color: var(--store-brand, #d91605);
  font-weight: 600;
}

html:has(.mg-store-pdp) .pd-mobile-section-nav__tab.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--store-brand, #d91605);
}

@media (min-width: 992px) {
  html:has(.mg-store-pdp) #mg-store-pdp-section-product-info,
  html:has(.mg-store-pdp) #mg-store-pdp-section-detail,
  html:has(.mg-store-pdp) #mg-store-pdp-section-insights,
  html:has(.mg-store-pdp) #mg-store-pdp-section-reviews,
  html:has(.mg-store-pdp) #mg-store-pdp-section-related,
  html:has(.mg-store-pdp) #mg-store-pdp-section-faq,
  html:has(.mg-store-pdp) #mg-store-pdp-section-spec {
    scroll-margin-top: calc(var(--pd-mobile-section-nav-h, 44px) + 8px);
  }
}

html:has(.mg-store-pdp) #mg-store-pdp-section-insights,
html:has(.mg-store-pdp) #mg-store-pdp-section-related,
html:has(.mg-store-pdp) #mg-store-pdp-section-faq,
html:has(.mg-store-pdp) #mg-store-pdp-section-spec,
html:has(.mg-store-pdp) #mg-store-pdp-section-detail {
  scroll-margin-top: calc(
    var(--mg-sticky-header-h, 0px) + var(--pd-mobile-section-nav-h, 0px) + 8px
  );
}

.mg-ui-v2 .mg-store-pdp-tabs__bar {
  position: relative;
  display: flex;
  gap: 0;
  background: var(--store-surface);
  border-bottom: 1px solid var(--store-border);
  border-radius: var(--store-radius-sm) var(--store-radius-sm) 0 0;
}

.mg-ui-v2 .mg-store-pdp-tabs__indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  opacity: 0;
  border-radius: 2px 2px 0 0;
  background: var(--store-brand);
  pointer-events: none;
  z-index: 1;
}

.mg-ui-v2 .mg-store-pdp-tabs__tab {
  flex: 1;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: var(--store-fs-sm);
  font-weight: 600;
  color: var(--store-text-muted);
  cursor: pointer;
}

.mg-ui-v2 .mg-store-pdp-tabs__tab--active {
  color: var(--store-brand);
  border-bottom-color: transparent;
  background: #fff;
}

.mg-ui-v2 .mg-store-pdp-tabs__panels {
  position: relative;
  z-index: 1;
  padding: 12px 16px 16px;
  min-width: 0;
}

.mg-ui-v2 .mg-store-pdp-tabs__panel--hidden {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
  inset: 12px 16px auto;
  width: calc(100% - 32px);
  z-index: 0;
}

.mg-ui-v2 .mg-store-pdp-tabs__panel > :first-child {
  margin-top: 0;
}

/* Description HTML inside tabs */
.mg-ui-v2 .mg-store-pdp-tabs__html.mg-rich-content > :first-child {
  margin-top: 0;
}

.mg-ui-v2 .mg-store-pdp-tabs__html img,
.mg-ui-v2 .mg-store-pdp-tabs__html video,
.mg-ui-v2 .mg-store-pdp-tabs__html iframe {
  max-width: 100%;
  height: auto;
}

.mg-ui-v2 .mg-store-pdp-tabs__panel .btn-html-content,
.mg-ui-v2 .mg-store-pdp-mobile-info__block--description .btn-html-content {
  text-align: center;
  padding: 12px 0 4px;
}

.mg-ui-v2 .mg-store-pdp-tabs__panel .btn-html-content .content-button,
.mg-ui-v2 .mg-store-pdp-mobile-info__block--description .btn-html-content .content-button {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 40px;
  padding: 0 16px;
  background: #fff;
  color: var(--store-brand);
  border: 1px solid var(--store-brand);
  border-radius: var(--store-radius-sm);
  margin: auto;
  font-size: var(--store-fs-sm);
  font-weight: 600;
  cursor: pointer;
}

.mg-ui-v2 .mg-store-pdp-tabs__panel .btn-html-content .content-button.is-visible,
.mg-ui-v2
  .mg-store-pdp-mobile-info__block--description
  .btn-html-content
  .content-button.is-visible {
  display: inline-flex;
}

.mg-ui-v2 .mg-store-pdp-tabs__panel .btn-html-content .content-button:hover,
.mg-ui-v2
  .mg-store-pdp-mobile-info__block--description
  .btn-html-content
  .content-button:hover {
  background: var(--store-brand);
  color: #fff;
}

.mg-ui-v2 .mg-store-pdp-tabs__panel .mg-rich-content-fade,
.mg-ui-v2 .mg-store-pdp-mobile-info__block--description .mg-rich-content-fade {
  background: linear-gradient(transparent, var(--store-bg));
}

/* Spec panel v2 */
.mg-ui-v2 .mg-store-pdp-spec__holder {
  position: relative;
  max-height: 420px;
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mg-ui-v2 .mg-store-pdp-spec__holder::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 88px;
  background: linear-gradient(transparent, var(--store-bg));
  pointer-events: none;
}

.mg-ui-v2 .mg-store-pdp-spec--expanded .mg-store-pdp-spec__holder {
  max-height: none;
  overflow: visible;
}

.mg-ui-v2 .mg-store-pdp-spec--expanded .mg-store-pdp-spec__holder::after {
  display: none;
}

.mg-ui-v2 .mg-store-pdp-spec--fits .mg-store-pdp-spec__holder {
  max-height: none;
  overflow: visible;
}

.mg-ui-v2 .mg-store-pdp-spec--fits .mg-store-pdp-spec__holder::after {
  display: none;
}

.mg-ui-v2 .mg-store-pdp-spec__actions {
  display: flex;
  justify-content: center;
  padding-top: 12px;
}

.mg-ui-v2 .mg-store-pdp-spec__toggle {
  gap: 6px;
}

.mg-ui-v2 .mg-store-pdp-spec__content.mg-rich-content--spec table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--store-fs-sm);
}

.mg-ui-v2 .mg-store-pdp-spec__content.mg-rich-content--spec table th,
.mg-ui-v2 .mg-store-pdp-spec__content.mg-rich-content--spec table td {
  padding: 10px 12px;
  border: 1px solid var(--store-border);
  vertical-align: top;
  text-align: left;
}

.mg-ui-v2 .mg-store-pdp-spec__content.mg-rich-content--spec table th,
.mg-ui-v2 .mg-store-pdp-spec__content.mg-rich-content--spec table td:first-child {
  font-weight: 600;
  color: var(--store-text);
  background: var(--store-surface);
  white-space: normal;
}

.mg-ui-v2 .mg-store-pdp-spec__content .group-title,
.mg-ui-v2 .mg-store-pdp-spec__content .group-title p {
  margin: 12px 0 8px;
  font-size: var(--store-fs-sm);
  font-weight: 700;
  color: var(--store-text);
}

/* Reviews embedded in tab */
.mg-ui-v2 .mg-store-pdp-tabs__panel--reviews {
  padding-top: 8px;
}

.mg-ui-v2 .mg-store-pdp-comments--embedded {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.mg-ui-v2 .mg-store-pdp-comments--embedded .mg-store-pdp-comments__empty {
  margin-top: 10px;
  padding: 22px 16px;
}

/* Product info — tabs/video row + FAQ full width below */
.mg-ui-v2 .mg-store-pdp-product-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Reveal safety: never keep below-fold content fully invisible if JS mid-state */
.mg-ui-v2 .mg-store-pdp-reveal {
  min-height: 1px;
}

.mg-ui-v2 .mg-store-pdp-product-info:has(.mg-store-pdp-faq--attached) .mg-store-pdp-tabs {
  border-radius: var(--store-radius-sm) var(--store-radius-sm) 0 0;
}

.mg-ui-v2 .mg-store-pdp-product-info:has(.mg-store-pdp-faq--attached):not(:has(.mg-store-pdp-video))
  .mg-store-pdp-tabs {
  border-radius: var(--store-radius-sm) var(--store-radius-sm) 0 0;
}

/* Tabs + short video — tabs cột 1–2, video cột 3 (thẳng commerce); video cố định, không kéo theo panel */
.mg-ui-v2 .mg-store-pdp__tabs-video {
  display: grid;
  gap: var(--store-gap);
  align-items: start;
}

@media (min-width: 992px) {
  .mg-ui-v2 .mg-store-pdp__tabs-video:has(.mg-store-pdp-video) {
    --mg-pdp-col-gap: 24px;
    grid-template-columns: minmax(0, 25%) minmax(0, 37%) minmax(0, 34%);
    column-gap: var(--mg-pdp-col-gap);
    align-items: start;
  }

  /* Tabs giữ bar + panel liền nhau; video cột 3, không chiếm chiều cao hàng tabs */
  .mg-ui-v2 .mg-store-pdp__tabs-video:has(.mg-store-pdp-video) .mg-store-pdp-tabs {
    grid-column: 1 / 3;
    grid-row: 1;
    min-width: 0;
  }

  .mg-ui-v2 .mg-store-pdp__tabs-video:has(.mg-store-pdp-video) .mg-store-pdp-video {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    position: sticky;
    top: calc(var(--store-header-h, 64px) + 8px);
    border-radius: var(--store-radius-sm);
    height: var(--mg-store-pdp-tabs-collapsed-h, auto);
    max-height: var(--mg-store-pdp-tabs-collapsed-h, none);
  }
}

@media (min-width: 1280px) {
  .mg-ui-v2 .mg-store-pdp__tabs-video:has(.mg-store-pdp-video) {
    grid-template-columns: minmax(240px, 26%) minmax(280px, 1fr) minmax(280px, 34%);
  }
}

.mg-ui-v2 .mg-store-pdp__tabs-video .mg-store-pdp-tabs {
  min-width: 0;
}

@media (max-width: 991px) {
  .mg-ui-v2 .mg-store-pdp__tabs-video:has(.mg-store-pdp-video) .mg-store-pdp-tabs {
    display: contents;
  }

  .mg-ui-v2 .mg-store-pdp__tabs-video:has(.mg-store-pdp-video) .mg-store-pdp-tabs__bar {
    grid-column: 1;
    grid-row: 1;
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius-sm) var(--store-radius-sm) 0 0;
    background: var(--store-bg);
  }

  .mg-ui-v2 .mg-store-pdp__tabs-video:has(.mg-store-pdp-video) .mg-store-pdp-tabs__panels {
    grid-column: 1;
    grid-row: 3;
    border: 1px solid var(--store-border);
    border-top: 0;
    border-radius: 0 0 var(--store-radius-sm) var(--store-radius-sm);
    background: var(--store-bg);
  }

  .mg-ui-v2 .mg-store-pdp__tabs-video:has(.mg-store-pdp-video) .mg-store-pdp-video {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 0;
  }
}

.mg-ui-v2 .mg-store-pdp__tabs-video .mg-store-pdp-video {
  padding: 0;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-sm);
  background: var(--store-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mg-ui-v2 .mg-store-pdp__tabs-video:not(:has(.mg-store-pdp-video)) .mg-store-pdp-tabs {
  display: block;
}

/* ─── FAQ accordion (GSAP height + icon) ─── */
.mg-ui-v2 .mg-store-pdp-faq {
  padding: 20px 18px 18px;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, var(--store-bg) 48%),
    var(--store-bg);
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.03);
}

.mg-ui-v2 .mg-store-pdp > .mg-store-container > .mg-store-pdp-faq,
.mg-ui-v2 .mg-store-pdp__below-fold .mg-store-pdp-faq {
  margin-top: var(--store-gap-lg);
  margin-bottom: 32px;
}

.mg-ui-v2 .mg-store-pdp-faq--attached {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--store-border);
  border-top: 0;
  border-radius: 0 0 var(--store-radius-sm) var(--store-radius-sm);
  background: var(--store-bg);
  box-shadow: none;
}

.mg-ui-v2
  .mg-store-pdp-product-info:has(.mg-store-pdp-video)
  .mg-store-pdp-faq--attached {
  margin-top: var(--store-gap);
  border-top: 1px solid var(--store-border);
  border-radius: var(--store-radius-sm);
}

.mg-ui-v2 .mg-store-pdp-faq--nested .mg-store-pdp-faq__heading {
  margin-top: 0;
}

.mg-ui-v2 .mg-store-pdp-faq--tabbed {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mg-ui-v2 .mg-store-pdp-faq--tabbed .mg-store-pdp-faq__head {
  display: none;
}

.mg-ui-v2 .mg-store-pdp-tabs__panels--solo {
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-sm);
  background: var(--store-bg);
}

.mg-ui-v2 .mg-store-pdp-faq__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0 2px 14px;
  border-bottom: 1px solid var(--store-border);
}

.mg-ui-v2 .mg-store-pdp-faq__head-icon {
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--store-brand-tint, rgba(208, 41, 21, 0.08));
  color: var(--store-brand);
  border: 1px solid rgba(208, 41, 21, 0.12);
}

.mg-ui-v2 .mg-store-pdp-faq__head-copy {
  min-width: 0;
  flex: 1;
}

.mg-ui-v2 .mg-store-pdp-faq__heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--store-text);
  line-height: 1.3;
}

.mg-ui-v2 .mg-store-pdp-faq__heading-label {
  flex: 0 1 auto;
}

.mg-ui-v2 .mg-store-pdp-faq__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  font-variant-numeric: tabular-nums;
}

.mg-ui-v2 .mg-store-pdp-faq__sub {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--store-text-muted);
}

.mg-ui-v2 .mg-store-pdp-faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mg-ui-v2 .mg-store-pdp-faq__item {
  border: 1px solid var(--store-border);
  border-radius: 10px;
  background: var(--store-surface, #f7f7f8);
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.mg-ui-v2 .mg-store-pdp-faq__item:hover {
  border-color: color-mix(in srgb, var(--store-border) 40%, #bbb);
}

.mg-ui-v2 .mg-store-pdp-faq__item--active {
  background: #fff;
  border-color: color-mix(in srgb, var(--store-brand) 28%, var(--store-border));
  box-shadow:
    0 1px 0 rgba(17, 17, 17, 0.03),
    0 8px 24px rgba(17, 17, 17, 0.05);
}

.mg-ui-v2 .mg-store-pdp-faq__question {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  width: 100%;
  padding: 14px 14px 14px 14px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease;
}

.mg-ui-v2 .mg-store-pdp-faq__question:hover {
  background: rgba(17, 17, 17, 0.025);
}

.mg-ui-v2 .mg-store-pdp-faq__item--active .mg-store-pdp-faq__question {
  background: transparent;
}

.mg-ui-v2 .mg-store-pdp-faq__item--active .mg-store-pdp-faq__question:hover {
  background: transparent;
}

.mg-ui-v2 .mg-store-pdp-faq__question:focus-visible {
  outline: 2px solid var(--store-brand);
  outline-offset: -2px;
}

.mg-ui-v2 .mg-store-pdp-faq__index {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  margin-top: 1px;
  padding: 0 6px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--store-border);
  color: var(--store-text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.mg-ui-v2 .mg-store-pdp-faq__item--active .mg-store-pdp-faq__index {
  background: var(--store-brand);
  border-color: var(--store-brand);
  color: #fff;
}

.mg-ui-v2 .mg-store-pdp-faq__question-text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding-top: 3px;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.45;
  color: var(--store-text);
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

.mg-ui-v2 .mg-store-pdp-faq__item--active .mg-store-pdp-faq__question-text {
  color: var(--store-text);
  font-weight: 700;
}

.mg-ui-v2 .mg-store-pdp-faq__icon {
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-top: 0;
  border: 1px solid var(--store-border);
  border-radius: 999px;
  background: #fff;
  color: var(--store-text-muted);
  will-change: transform;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.mg-ui-v2 .mg-store-pdp-faq__item--active .mg-store-pdp-faq__icon {
  border-color: color-mix(in srgb, var(--store-brand) 30%, var(--store-border));
  background: var(--store-brand-tint, rgba(208, 41, 21, 0.08));
  color: var(--store-brand);
}

.mg-ui-v2 .mg-store-pdp-faq__answer {
  overflow: hidden;
}

.mg-ui-v2 .mg-store-pdp-faq__answer[hidden] {
  display: none !important;
}

.mg-ui-v2 .mg-store-pdp-faq__answer-inner {
  margin: 0 14px 14px 54px;
  padding: 12px 14px;
  border-left: 2px solid var(--store-brand);
  border-radius: 0 8px 8px 0;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--store-brand) 6%, #fff) 0%,
    var(--store-surface, #f7f7f8) 100%
  );
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--store-text-muted);
}

.mg-ui-v2 .mg-store-pdp-faq__answer-inner p {
  margin: 0;
}

.mg-ui-v2 .mg-store-pdp-faq__answer-inner p + p {
  margin-top: 8px;
}

.mg-ui-v2 .mg-store-pdp-video__heading {
  margin: 0;
  padding: 10px 12px;
  border-bottom: 1px solid var(--store-border);
  font-size: var(--store-fs-sm);
  font-weight: 700;
  color: var(--store-text);
  flex: 0 0 auto;
  min-height: var(--mg-store-pdp-tabs-bar-h, 44px);
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
}

.mg-ui-v2 .mg-store-pdp-video__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--store-surface);
  color: var(--store-text-muted);
  font-size: 11px;
  font-weight: 600;
}

@media (max-width: 991px) {
  .mg-ui-v2 .mg-store-pdp-faq {
    padding: 16px 14px 14px;
    border-radius: 10px;
  }

  .mg-ui-v2 .mg-store-pdp-faq--attached {
    padding: 12px 14px 14px;
  }

  .mg-ui-v2 .mg-store-pdp-faq__head {
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .mg-ui-v2 .mg-store-pdp-faq__head-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 9px;
  }

  .mg-ui-v2 .mg-store-pdp-faq__heading {
    font-size: 14.5px;
  }

  .mg-ui-v2 .mg-store-pdp-faq__question {
    padding: 12px;
    gap: 10px;
  }

  .mg-ui-v2 .mg-store-pdp-faq__index {
    min-width: 26px;
    height: 26px;
    font-size: 10.5px;
  }

  .mg-ui-v2 .mg-store-pdp-faq__question-text {
    font-size: 14px;
    padding-top: 2px;
  }

  .mg-ui-v2 .mg-store-pdp-faq__icon {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }

  .mg-ui-v2 .mg-store-pdp-faq__answer-inner {
    margin: 0 12px 12px 48px;
    padding: 10px 12px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mg-ui-v2 .mg-store-pdp-faq__item,
  .mg-ui-v2 .mg-store-pdp-faq__icon,
  .mg-ui-v2 .mg-store-pdp-faq__index {
    transition: none;
  }
}

.mg-ui-v2 .mg-store-pdp-video__frame {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  padding: 0 10px 10px;
}

.mg-ui-v2 .mg-store-pdp-video__list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  align-items: flex-start;
}

.mg-ui-v2 .mg-store-pdp-video .mg-vertical-video-card {
  flex: 0 0 auto;
  width: 168px;
  height: auto;
  aspect-ratio: 9 / 16;
  max-height: 300px;
}

@media (min-width: 992px) {
  .mg-ui-v2 .mg-store-pdp__tabs-video:has(.mg-store-pdp-video) .mg-store-pdp-video__frame {
    flex: 1 1 auto;
    padding: 8px 10px 10px;
    height: var(--mg-store-pdp-video-frame-h, auto);
    box-sizing: border-box;
  }

  .mg-ui-v2 .mg-store-pdp__tabs-video:has(.mg-store-pdp-video) .mg-store-pdp-video__list {
    display: flex;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 8px;
    align-items: center;
    -webkit-overflow-scrolling: touch;
  }

  .mg-ui-v2
    .mg-store-pdp__tabs-video:has(.mg-store-pdp-video)
    .mg-store-pdp-video__frame:not([data-multi="true"])
    .mg-store-pdp-video__list {
    justify-content: center;
  }

  .mg-ui-v2 .mg-store-pdp__tabs-video:has(.mg-store-pdp-video) .mg-store-pdp-video .mg-vertical-video-card {
    flex: 0 0 auto;
    width: auto;
    height: 100%;
    max-height: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .mg-ui-v2
    .mg-store-pdp__tabs-video:has(.mg-store-pdp-video)
    .mg-store-pdp-video__frame:not([data-multi="true"])
    .mg-vertical-video-card {
    max-width: 100%;
  }

  .mg-ui-v2
    .mg-store-pdp__tabs-video:has(.mg-store-pdp-video)
    .mg-store-pdp-video__frame[data-multi="true"]
    .mg-vertical-video-card {
    max-width: 84%;
    scroll-snap-align: center;
  }

  .mg-ui-v2 .mg-store-pdp__tabs-video:has(.mg-store-pdp-video) .mg-store-pdp-video__nav {
    display: inline-flex;
  }

  .mg-ui-v2
    .mg-store-pdp__tabs-video:has(.mg-store-pdp-video)
    .mg-store-pdp-video__frame:not([data-multi="true"])
    .mg-store-pdp-video__nav {
    display: none;
  }
}

.mg-ui-v2 .mg-store-pdp-video__list::-webkit-scrollbar {
  display: none;
}

.mg-ui-v2 .mg-store-pdp-video__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--store-border);
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  cursor: pointer;
}

.mg-ui-v2 .mg-store-pdp-video__nav--prev {
  left: -6px;
}

.mg-ui-v2 .mg-store-pdp-video__nav--next {
  right: -6px;
}

/* Insights — video shorts + tin tức */
.mg-ui-v2 .mg-store-pdp-insights {
  padding: 16px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-md);
  background: var(--store-bg);
}

.mg-ui-v2 .mg-store-pdp-insights__heading {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--store-border);
  font-size: var(--store-fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--store-text);
}

.mg-ui-v2 .mg-store-pdp-insights .mg-store-pdp-video--nested {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.mg-ui-v2 .mg-store-pdp-insights .mg-store-pdp-video--nested .mg-store-pdp-video__heading {
  margin: 0 0 10px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--store-border);
  min-height: 0;
  font-size: var(--store-fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mg-ui-v2 .mg-store-pdp-insights .mg-store-pdp-articles--nested {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.mg-ui-v2
  .mg-store-pdp-insights
  .mg-store-pdp-articles--nested
  .mg-store-pdp-articles__heading {
  margin: 0 0 10px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--store-border);
  font-size: var(--store-fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mg-ui-v2 .mg-store-pdp-insights .mg-store-pdp-video--nested .mg-store-pdp-video__frame {
  padding: 0;
  height: auto;
}

.mg-ui-v2 .mg-store-pdp-insights .mg-store-pdp-video--nested .mg-store-pdp-video__list {
  height: auto;
}

.mg-ui-v2 .mg-store-pdp-insights .mg-store-pdp-video--nested .mg-vertical-video-card {
  flex: 0 0 auto;
  width: 168px;
  height: auto;
  aspect-ratio: 9 / 16;
  max-height: 300px;
}

.mg-ui-v2 #mg-store-pdp-section-reviews {
  scroll-margin-top: calc(
    var(--mg-sticky-header-h, 0px) + var(--pd-mobile-section-nav-h, 0px) + 8px
  );
}

@media (min-width: 992px) {
  html:not(:has(.mg-store-pdp)) .mg-ui-v2 #mg-store-pdp-section-reviews {
    scroll-margin-top: calc(var(--store-header-h, 64px) + 8px);
  }
}

.mg-ui-v2 .mg-store-pdp-comments,
.mg-ui-v2 .mg-store-pdp-articles:not(.mg-store-pdp-articles--nested) {
  padding: 16px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-md);
  background: var(--store-bg);
}

.mg-ui-v2 .mg-store-pdp-comments__heading,
.mg-ui-v2 .mg-store-pdp-articles__heading {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--store-border);
  font-size: var(--store-fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--store-text);
}

/* Reviews — hero summary */
.mg-ui-v2 .mg-store-pdp-comments__hero {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .mg-ui-v2 .mg-store-pdp-comments__hero {
    grid-template-columns: minmax(132px, 160px) minmax(0, 1fr) minmax(200px, 240px);
    gap: 14px;
    align-items: stretch;
  }
}

.mg-ui-v2 .mg-store-pdp-comments__score-card,
.mg-ui-v2 .mg-store-pdp-comments__distribution,
.mg-ui-v2 .mg-store-pdp-comments__prompt {
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-md);
  background: var(--store-bg);
}

.mg-ui-v2 .mg-store-pdp-comments__score-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 14px;
  text-align: center;
}

.mg-ui-v2 .mg-store-pdp-comments__score-value {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1;
  font-weight: 700;
  color: var(--store-brand);
}

.mg-ui-v2 .mg-store-pdp-comments__score-value span {
  margin-left: 2px;
  font-size: var(--store-fs-lg);
  font-weight: 500;
  color: var(--store-text-muted);
}

.mg-ui-v2 .mg-store-pdp-comments__stars {
  display: flex;
  gap: 3px;
  color: #e5e7eb;
}

.mg-ui-v2 .mg-store-pdp-comments__star--filled {
  color: #f5a623;
  fill: #f5a623;
}

.mg-ui-v2 .mg-store-pdp-comments__score-meta {
  margin: 0;
  font-size: var(--store-fs-xs);
  color: var(--store-text-muted);
}

.mg-ui-v2 .mg-store-pdp-comments__distribution {
  padding: 14px 16px;
}

.mg-ui-v2 .mg-store-pdp-comments__subheading {
  margin: 0 0 10px;
  font-size: var(--store-fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--store-text-muted);
}

.mg-ui-v2 .mg-store-pdp-comments__bars {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mg-ui-v2 .mg-store-pdp-comments__bar-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 8px;
  font-size: var(--store-fs-xs);
}

.mg-ui-v2 .mg-store-pdp-comments__bar-row + .mg-store-pdp-comments__bar-row {
  margin-top: 6px;
}

.mg-ui-v2 .mg-store-pdp-comments__bar-label {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 600;
  color: var(--store-text);
  white-space: nowrap;
}

.mg-ui-v2 .mg-store-pdp-comments__bar-label svg {
  color: #f5a623;
  fill: #f5a623;
}

.mg-ui-v2 .mg-store-pdp-comments__bar-track {
  height: 8px;
  background: var(--store-surface);
  border-radius: 999px;
  overflow: hidden;
}

.mg-ui-v2 .mg-store-pdp-comments__bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #eceff3;
  transition: width 0.25s ease;
}

.mg-ui-v2 .mg-store-pdp-comments__bar-count {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--store-text-muted);
}

.mg-ui-v2 .mg-store-pdp-comments__prompt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--store-surface);
}

.mg-ui-v2 .mg-store-pdp-comments__prompt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--store-brand);
  box-shadow: var(--store-shadow-sm);
}

.mg-ui-v2 .mg-store-pdp-comments__prompt-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mg-ui-v2 .mg-store-pdp-comments__prompt-title {
  margin: 0;
  font-size: var(--store-fs-sm);
  font-weight: 700;
  color: var(--store-text);
}

.mg-ui-v2 .mg-store-pdp-comments__prompt-text {
  margin: 0;
  font-size: var(--store-fs-xs);
  line-height: 1.45;
  color: var(--store-text-muted);
}

.mg-ui-v2 .mg-store-pdp-comments__prompt-text strong {
  font-weight: 600;
  color: var(--store-text);
}

.mg-ui-v2 .mg-store-pdp-comments__prompt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: center;
}

/* Reviews — notice + composer */
.mg-ui-v2 .mg-store-pdp-comments__notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #b7e4c7;
  border-radius: var(--store-radius-md);
  background: #edf9f0;
  color: #1b6b36;
  font-size: var(--store-fs-sm);
  line-height: 1.45;
}

.mg-ui-v2 .mg-store-pdp-comments__notice p {
  margin: 0;
}

.mg-ui-v2 .mg-store-pdp-comments__notice svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.mg-ui-v2 .mg-store-pdp-comments__composer {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-md);
  background: #fff;
  box-shadow: var(--store-shadow-sm);
}

.mg-ui-v2 .mg-store-pdp-comments__composer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--store-border);
}

.mg-ui-v2 .mg-store-pdp-comments__composer-title {
  margin: 0;
  font-size: var(--store-fs-sm);
  font-weight: 700;
  color: var(--store-text);
}

.mg-ui-v2 .mg-store-pdp-comments__composer-sub {
  margin: 4px 0 0;
  font-size: var(--store-fs-xs);
  color: var(--store-text-muted);
}

.mg-ui-v2 .mg-store-pdp-comments__composer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--store-border);
  border-radius: 50%;
  background: #fff;
  color: var(--store-text-muted);
  cursor: pointer;
  transition:
    color var(--store-ease),
    border-color var(--store-ease),
    background var(--store-ease);
}

.mg-ui-v2 .mg-store-pdp-comments__composer-close:hover {
  border-color: var(--store-brand);
  color: var(--store-brand);
  background: var(--store-brand-tint);
}

.mg-ui-v2 .mg-store-pdp-comments__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mg-ui-v2 .mg-store-pdp-comments__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.mg-ui-v2 .mg-store-pdp-comments__field-label {
  font-size: var(--store-fs-xs);
  font-weight: 600;
  color: var(--store-text);
}

.mg-ui-v2 .mg-store-pdp-comments__textarea,
.mg-ui-v2 .mg-store-pdp-comments__input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-sm);
  background: #fff;
  font-size: var(--store-fs-sm);
  font-family: inherit;
  line-height: 1.45;
  color: var(--store-text);
  transition:
    border-color var(--store-ease),
    box-shadow var(--store-ease);
}

.mg-ui-v2 .mg-store-pdp-comments__textarea {
  min-height: 108px;
  resize: vertical;
}

.mg-ui-v2 .mg-store-pdp-comments__textarea:focus,
.mg-ui-v2 .mg-store-pdp-comments__input:focus {
  outline: none;
  border-color: var(--store-brand);
  box-shadow: 0 0 0 3px var(--store-brand-tint);
}

.mg-ui-v2 .mg-store-pdp-comments__form-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.mg-ui-v2 .mg-store-pdp-comments__form-fields {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .mg-ui-v2 .mg-store-pdp-comments__form-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mg-ui-v2 .mg-store-pdp-comments__form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 4px;
}

.mg-ui-v2 .mg-store-pdp-comments__star-picker {
  display: flex;
  gap: 2px;
}

.mg-ui-v2 .mg-store-pdp-comments__star-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: var(--store-radius-sm);
  background: transparent;
  color: #e5e7eb;
  cursor: pointer;
  transition:
    color var(--store-ease),
    transform var(--store-ease),
    background var(--store-ease);
}

.mg-ui-v2 .mg-store-pdp-comments__star-btn:hover,
.mg-ui-v2 .mg-store-pdp-comments__star-btn:focus-visible {
  color: #f5a623;
  background: rgba(245, 166, 35, 0.08);
  transform: scale(1.05);
}

.mg-ui-v2 .mg-store-pdp-comments__star-btn--active {
  color: #f5a623;
}

.mg-ui-v2 .mg-store-pdp-comments__star-btn--active svg {
  fill: #f5a623;
}

/* Reviews — empty state */
.mg-ui-v2 .mg-store-pdp-comments__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 28px 20px;
  border: 1px dashed var(--store-border);
  border-radius: var(--store-radius-md);
  background: var(--store-surface);
  text-align: center;
}

.mg-ui-v2 .mg-store-pdp-comments__empty-stars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  color: #e5e7eb;
}

.mg-ui-v2 .mg-store-pdp-comments__empty-stars svg:nth-child(3) {
  color: #f5c451;
  fill: #f5c451;
}

.mg-ui-v2 .mg-store-pdp-comments__empty-title {
  margin: 0;
  font-size: var(--store-fs-sm);
  font-weight: 700;
  color: var(--store-text);
}

.mg-ui-v2 .mg-store-pdp-comments__empty-text {
  margin: 0;
  max-width: 36ch;
  font-size: var(--store-fs-xs);
  line-height: 1.5;
  color: var(--store-text-muted);
}

.mg-ui-v2 .mg-store-pdp-articles__card + .mg-store-pdp-articles__card {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--store-border);
}

.mg-ui-v2 .mg-store-pdp-articles__link {
  display: flex;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.mg-ui-v2 .mg-store-pdp-articles__body h3 {
  margin: 0 0 4px;
  font-size: var(--store-fs-sm);
  font-weight: 600;
  line-height: 1.35;
}

.mg-ui-v2 .mg-store-pdp-articles__body p {
  margin: 0;
  font-size: var(--store-fs-xs);
  color: var(--store-text-muted);
  line-height: 1.4;
}

.mg-ui-v2 .mg-store-pdp-articles__body time {
  display: block;
  margin-top: 4px;
  font-size: var(--store-fs-xs);
  color: var(--store-text-muted);
}

.mg-ui-v2 .mg-store-pdp-articles__expand button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  font-size: var(--store-fs-sm);
  color: var(--store-brand);
  cursor: pointer;
}

/* Related rail */
.mg-ui-v2 .mg-store-pdp-related {
  margin-top: var(--store-gap-lg);
  padding-block: var(--store-gap-lg) 32px;
  background: var(--store-surface);
  border-top: 1px solid var(--store-border);
}

/* Configurable parts */
.mg-ui-v2 .mg-store-pdp-configurable {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mg-ui-v2 .mg-store-pdp-configurable__item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-sm);
  background: #fff;
}

.mg-ui-v2 .mg-store-pdp-configurable__thumb img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.mg-ui-v2 .mg-store-pdp-configurable__name {
  display: block;
  font-size: var(--store-fs-sm);
  font-weight: 500;
  color: var(--store-text);
  text-decoration: none;
  line-height: 1.35;
}

.mg-ui-v2 .mg-store-pdp-configurable__name:hover {
  color: var(--store-brand);
}

.mg-ui-v2 .mg-store-pdp-configurable__price {
  margin: 4px 0;
  font-size: var(--store-fs-sm);
  font-weight: 600;
  color: var(--store-price);
}

.mg-ui-v2 .mg-store-pdp-configurable__qty {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--store-fs-xs);
  color: var(--store-text-muted);
}

@media (min-width: 992px) {
  .mg-ui-v2 .mg-store-pdp-configurable__qty {
    display: none;
  }
}

.mg-ui-v2 .mg-store-pdp-configurable__qty-controls {
  display: inline-flex;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-sm);
  overflow: hidden;
}

.mg-ui-v2 .mg-store-pdp-configurable__qty-controls button {
  width: 28px;
  height: 28px;
  border: 0;
  background: var(--store-surface);
  cursor: pointer;
}

.mg-ui-v2 .mg-store-pdp-configurable__qty-controls input {
  width: 32px;
  height: 28px;
  border: 0;
  border-inline: 1px solid var(--store-border);
  text-align: center;
  font-size: var(--store-fs-xs);
}

.mg-ui-v2 .mg-store-pdp-configurable__pick {
  align-self: center;
  padding: 6px 10px;
  border: 1px solid var(--store-brand);
  border-radius: var(--store-radius-sm);
  background: #fff;
  font-size: var(--store-fs-xs);
  font-weight: 600;
  color: var(--store-brand);
  cursor: pointer;
  white-space: nowrap;
}

.mg-ui-v2 .mg-store-pdp-configurable__toggle {
  padding: 8px;
  border: 0;
  background: none;
  font-size: var(--store-fs-sm);
  color: var(--store-brand);
  cursor: pointer;
}

/* Video modal */
.mg-ui-v2 .mg-store-pdp-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mg-ui-v2 .mg-store-pdp-video-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.mg-ui-v2 .mg-store-pdp-video-modal__content {
  position: relative;
  z-index: 1;
  width: min(92vw, 960px);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--store-radius-sm);
  overflow: hidden;
}

.mg-ui-v2 .mg-store-pdp-video-modal__content--vertical {
  width: min(92vw, 400px);
  aspect-ratio: 9 / 16;
}

.mg-ui-v2 .mg-store-pdp-video-modal__content iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.mg-ui-v2 .mg-store-pdp-video-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
}

/* ── Mobile description: SEO full HTML + visual clamp + sheet CTA ── */
.mg-store-pdp-desc-mobile {
  position: relative;
  min-width: 0;
}

.mg-store-pdp-desc-mobile--clamped {
  /* max-height set inline for ResizeObserver parity — overflow only visual */
  overflow: hidden;
}

.mg-store-pdp-desc-mobile__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--store-bg, #fff) 88%
  );
}

.mg-store-pdp-desc-mobile__actions {
  display: flex;
  justify-content: center;
  padding: 10px 0 4px;
  border-top: 1px solid var(--store-border, #e8eaed);
  margin-top: 4px;
  background: var(--store-bg, #fff);
}

.mg-store-pdp-desc-mobile__sheet-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--store-brand, #d02915);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mg-store-pdp-desc-mobile__sheet-trigger:active {
  opacity: 0.85;
}

.mg-store-pdp-desc-sheet__content {
  min-width: 0;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.mg-store-pdp-desc-sheet__content img {
  max-width: 100%;
  height: auto;
}

/* Spec / description bottom sheet — mobile FPT-style
   z-index above cookie (10050) / FAB (9990) / buy-bar (10002)
   so the sheet stays fully tappable while open. */
.mg-store-pdp-spec-sheet {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: auto;
  isolation: isolate;
}

.mg-store-pdp-spec-sheet__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.22s ease;
  -webkit-tap-highlight-color: transparent;
  /* Prevent backdrop from stealing vertical pans meant for the panel body */
  touch-action: none;
}

.mg-store-pdp-spec-sheet.is-open .mg-store-pdp-spec-sheet__backdrop {
  opacity: 1;
}

.mg-store-pdp-spec-sheet__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  /* Auto height for few specs; cap + inner scroll for 21+ rows */
  height: auto;
  max-height: min(88dvh, 88vh, 720px);
  overflow: hidden;
  background: var(--store-bg, #fff);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
  /* CSS slide (no GSAP) — settled open state uses transform:none for WebKit scroll */
  transform: translate3d(0, 100%, 0);
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.mg-store-pdp-spec-sheet.is-open .mg-store-pdp-spec-sheet__panel {
  transform: translate3d(0, 0, 0);
}

/* Drop transform after open settles — nested overflow scroll works on iOS/WebKit */
.mg-store-pdp-spec-sheet.is-open.is-settled .mg-store-pdp-spec-sheet__panel {
  transform: none;
  transition: none;
}

.mg-store-pdp-spec-sheet[data-reduced-motion="true"] .mg-store-pdp-spec-sheet__backdrop,
.mg-store-pdp-spec-sheet[data-reduced-motion="true"] .mg-store-pdp-spec-sheet__panel {
  transition: none;
}

.mg-store-pdp-spec-sheet[data-reduced-motion="true"].is-open .mg-store-pdp-spec-sheet__panel {
  transform: none;
}

.mg-store-pdp-spec-sheet__handle {
  flex-shrink: 0;
  width: 40px;
  height: 4px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: var(--store-border, #e0e0e0);
}

.mg-store-pdp-spec-sheet__head {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 10px;
  border-bottom: 1px solid var(--store-border, #e8eaed);
  background: var(--store-bg, #fff);
}

.mg-store-pdp-spec-sheet__head-text {
  min-width: 0;
}

.mg-store-pdp-spec-sheet__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--store-text, #212b36);
}

.mg-store-pdp-spec-sheet__subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--store-text-muted, #637381);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.mg-store-pdp-spec-sheet__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--store-surface, #f4f6f8);
  color: var(--store-text, #212b36);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  pointer-events: auto;
}

.mg-store-pdp-spec-sheet__close:active {
  background: var(--store-border, #e8eaed);
}

.mg-store-pdp-spec-sheet__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 12px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  /* Create scrollport independent of parent transform residual */
  position: relative;
  z-index: 1;
}

.mg-store-pdp-spec-sheet__content {
  min-width: 0;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Structured full list — every parsed row (no 9-row cap) */
.mg-store-pdp-spec-sheet__list {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mg-store-pdp-spec-sheet__group {
  margin: 14px 0 6px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--store-text, #212b36);
}

.mg-store-pdp-spec-sheet__group:first-child {
  margin-top: 0;
}

.mg-store-pdp-spec-sheet__row {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
  gap: 10px 12px;
  align-items: start;
  padding: 11px 0;
  border-bottom: 1px solid var(--store-border, #e8eaed);
}

.mg-store-pdp-spec-sheet__label {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--store-text-muted, #637381);
  word-break: break-word;
}

.mg-store-pdp-spec-sheet__value {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--store-text, #212b36);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.mg-store-pdp-spec-sheet__content.mg-rich-content--spec table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.mg-store-pdp-spec-sheet__content.mg-rich-content--spec table th,
.mg-store-pdp-spec-sheet__content.mg-rich-content--spec table td {
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid var(--store-border, #e8eaed);
  vertical-align: top;
  background: transparent;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.45;
}

.mg-store-pdp-spec-sheet__content.mg-rich-content--spec table th,
.mg-store-pdp-spec-sheet__content.mg-rich-content--spec table td:first-child {
  width: 40%;
  padding-right: 12px;
  color: var(--store-text-muted, #637381);
  font-weight: 500;
}

.mg-store-pdp-spec-sheet__content.mg-rich-content--spec table td:last-child {
  width: 60%;
  color: var(--store-text, #212b36);
  font-weight: 600;
}

.mg-store-pdp-spec-sheet__content .group-title,
.mg-store-pdp-spec-sheet__content .group-title p {
  margin: 16px 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--store-text, #212b36);
}

.mg-store-pdp-spec-sheet__content img {
  max-width: 100%;
  height: auto;
}