/* web44 4/12/2026 — bố cục cuối trang sản phẩm. Chỉ tác động phần DƯỚI ô mua hàng; không đụng căn hàng web43. */
.block-detail-product.mmc-on > .row.mt-4,
.block-detail-product.mmc-on > hr.d-none.d-md-block,
.block-detail-product.mmc-on .mmc-rel-orig { display: none !important; }
.block-detail-product.mmc-on .as-configuration-stickybox-stop { margin-bottom: 0 !important; height: 0; }

.mmc { margin: 56px 0 0; padding: 0; color: #1d1d1f; font-family: inherit; }
.mmc *, .mmc *::before, .mmc *::after { box-sizing: border-box; }
.mmc a { color: #0066cc; text-decoration: none; }
.mmc a:hover { text-decoration: underline; }

/* thanh mục (neo trong trang) */
.mmc-nav { display: flex; gap: 8px; margin: 0 0 20px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mmc-nav::-webkit-scrollbar { display: none; }
.mmc-nav a { flex: 0 0 auto; padding: 8px 18px; border-radius: 980px; background: #f5f5f7; color: #1d1d1f; font-size: 14px; font-weight: 600; white-space: nowrap; }
.mmc-nav a:hover { background: #e8e8ed; text-decoration: none; }

.mmc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.mmc-grid.mmc-one { grid-template-columns: minmax(0, 1fr); }
.mmc-main { display: grid; gap: 20px; min-width: 0; }
.mmc-side { display: grid; gap: 20px; position: sticky; top: 96px; }

.mmc-card { background: #f5f5f7; border-radius: 16px; padding: 28px 32px; scroll-margin-top: 96px; }
.mmc-h { margin: 0 0 16px; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; color: #1d1d1f; }

/* khuyến mãi / mô tả (nội dung gốc) */
.mmc-promo-body, .mmc-desc-body { font-size: 15px; line-height: 1.65; }
.mmc-promo-body ul, .mmc-promo-body ol { margin: 0; padding-left: 0; list-style: none; }
.mmc-promo-body li { margin: 0 0 6px; }
.mmc-promo-body, .mmc-promo-body * { box-shadow: none !important; }
.mmc-promo-body .as-tradeupbanner, .mmc-promo-body .as-tradeupbanner-message, .mmc-promo-body .as-tradeupbanner-message-row { background: transparent !important; padding: 0 !important; border: 0 !important; margin: 0 !important; border-radius: 0 !important; }
.mmc-desc-body img { max-width: 100%; height: auto; border-radius: 12px; }

/* thông số */
.mmc-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.mmc-kv > dt, .mmc-kv > dd { margin: 0; }
.mmc-kv > dt { grid-column: auto; }
.mmc-kv { counter-reset: kv; }
.mmc-kv dt { font-size: 13px; color: #6e6e73; font-weight: 600; }
.mmc-kv dd { font-size: 15px; line-height: 1.45; font-weight: 600; color: #1d1d1f; }
.mmc-kv { display: block; column-count: 2; column-gap: 20px; }
.mmc-kv dt { break-inside: avoid; break-after: avoid; background: #fff; border-radius: 12px 12px 0 0; padding: 14px 16px 0; }
.mmc-kv dd { break-inside: avoid; background: #fff; border-radius: 0 0 12px 12px; padding: 2px 16px 14px; margin-bottom: 12px; }
.mmc-full { margin: 0; }
.mmc-full > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 980px; background: #fff; color: #0066cc; font-size: 14px; font-weight: 600; }
.mmc-full > summary::-webkit-details-marker { display: none; }
.mmc-full > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.mmc-full[open] > summary::after { transform: rotate(225deg); }
.mmc-spec-full { margin-top: 16px; background: #fff; border-radius: 12px; padding: 8px 20px; overflow-x: auto; }
.mmc-spec-full table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.mmc-spec-full td, .mmc-spec-full th { padding: 10px 8px; vertical-align: top; border-bottom: 1px solid #e8e8ed; }
.mmc-spec-full img { max-width: 100%; height: auto; }

/* Tư vấn chọn máy */
.mmc-adv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mmc-adv-box { background: #fff; border-radius: 12px; padding: 18px 18px 16px; min-width: 0; }
.mmc-adv-box h3 { margin: 0 0 10px; font-size: 16px; line-height: 1.3; font-weight: 700; color: #1d1d1f; }
.mmc-adv-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.mmc-adv-box li { font-size: 14px; line-height: 1.55; color: #424245; overflow-wrap: anywhere; padding-left: 14px; position: relative; }
.mmc-adv-box li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: #0071e3; }

/* FAQ */
.mmc-q { background: #fff; border-radius: 12px; margin: 0 0 8px; }
.mmc-q > summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-size: 16px; font-weight: 600; line-height: 1.4; position: relative; }
.mmc-q > summary::-webkit-details-marker { display: none; }
.mmc-q > summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid #6e6e73; border-bottom: 2px solid #6e6e73; transform: rotate(45deg); transition: transform .2s; }
.mmc-q[open] > summary::after { transform: rotate(225deg); margin-top: -2px; }
.mmc-a { padding: 0 20px 18px; font-size: 15px; line-height: 1.6; color: #424245; overflow-wrap: anywhere; }

/* cột phải */
.mmc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mmc-list li { display: grid; gap: 2px; }
.mmc-list b { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #6e6e73; font-weight: 600; }
.mmc-list span { font-size: 15px; line-height: 1.5; color: #1d1d1f; }
.mmc-links { display: flex; flex-direction: column; gap: 4px; }
.mmc-side .mmc-card { padding: 24px; }
.mmc-side .mmc-h { font-size: 20px; }
.mmc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.mmc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 980px; background: #fff; color: #1d1d1f !important; font-size: 15px; font-weight: 600; border: 1px solid #d2d2d7; text-decoration: none !important; cursor: pointer; }
.mmc-btn:hover { background: #f5f5f7; }
.mmc-btn-blue { background: #0071e3; border-color: #0071e3; color: #fff !important; }
.mmc-btn-blue:hover { background: #0077ed; }

/* sản phẩm tương tự */
.mmc-rel { margin-top: 56px; }
.mmc-rel .mmc-h { margin-bottom: 20px; }
.mmc-rel-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.mmc-rc { display: flex; flex-direction: column; background: #f5f5f7; border-radius: 16px; padding: 16px 16px 20px; color: #1d1d1f !important; text-decoration: none !important; transition: background .2s; }
.mmc-rc:hover { background: #ececf0; }
.mmc-rc-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; margin-bottom: 14px; }
.mmc-rc-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.mmc-rc-t { font-size: 15px; font-weight: 600; line-height: 1.35; min-height: 2.7em; }
.mmc-rc-p { margin-top: 8px; font-size: 14px; color: #424245; }

/* CTA trước footer */
.mmc-cta { margin: 56px 0 56px; background: #f5f5f7; border-radius: 16px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mmc-cta-k { font-size: 13px; font-weight: 600; color: #6e6e73; text-transform: uppercase; letter-spacing: .04em; }
.mmc-cta-t { margin-top: 6px; font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
.mmc-cta-m { margin-top: 8px; font-size: 15px; color: #424245; }
.mmc-cta-m b { color: #1d1d1f; font-size: 17px; }
.mmc-cta-r { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; flex: 0 0 auto; }

@media (max-width: 1100px) {
  .mmc-adv-grid { grid-template-columns: minmax(0, 1fr); }
  .mmc-grid { grid-template-columns: minmax(0, 1fr); }
  .mmc-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mmc-rel-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .mmc { margin: 32px 0 0; }
  .block-detail-product { }
  .mmc-card { padding: 20px 18px; border-radius: 16px; }
  .mmc-h { font-size: 21px; }
  .mmc-side { grid-template-columns: minmax(0, 1fr); }
  .mmc-kv { column-count: 1; }
  .mmc-q > summary { font-size: 15px; padding: 14px 44px 14px 16px; }
  .mmc-rel { margin-top: 36px; }
  .mmc-rel-row { display: flex; overflow-x: auto; gap: 12px; margin: 0 -16px; padding: 0 16px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .mmc-rel-row::-webkit-scrollbar { display: none; }
  .mmc-rc { flex: 0 0 62%; scroll-snap-align: start; }
  .mmc-cta { flex-direction: column; align-items: stretch; padding: 24px 20px; margin: 36px 0 36px; }
  .mmc-cta-t { font-size: 22px; }
  .mmc-cta-r { justify-content: stretch; }
  .mmc-cta-r .mmc-btn { flex: 1 1 100%; }
}
