/* MarketTop v3.6.0 stable UI baseline. Scoped to generated content. */
.mtm-pro,.mtm-pro *{box-sizing:border-box}
.mtm-pro{width:100%;max-width:900px;margin:0 auto;color:#172033;line-height:1.65;font-size:16px}
.mtm-pro p{margin:0 0 1em}.mtm-pro h2{margin:2rem 0 1rem;font-size:clamp(1.45rem,2vw,2rem);line-height:1.25}.mtm-pro h3{margin:1.35rem 0 .7rem;line-height:1.3}
.mtm-pro a{overflow-wrap:anywhere}.mtm-pro img{display:block;max-width:100%;height:auto}
.mtm-card{width:100%;max-width:100%;margin:0 0 28px;padding:20px;border:1px solid #d9e2ec;border-radius:12px;background:#fff;overflow:hidden;clear:both}
.mtm-card-grid{display:grid;grid-template-columns:minmax(170px,240px) minmax(0,1fr);gap:22px;align-items:start}
.mtm-card:nth-of-type(even) .mtm-card-grid{grid-template-columns:minmax(0,1fr) minmax(170px,240px)}
.mtm-card:nth-of-type(even) .mtm-card-media{order:2}.mtm-card:nth-of-type(even) .mtm-card-main{order:1}
.mtm-card-media,.mtm-product-media,.mtm-img-wrap{width:100%;max-width:240px;margin:0 auto;float:none;position:static}
.mtm-card-media img,.mtm-product-media img,.mtm-img-wrap img{width:100%;max-height:260px;object-fit:contain;background:#fff;border-radius:8px}
.mtm-card-media .mtm-btn,.mtm-card-media .mtm-cta,.mtm-card-media .mtm-rating,.mtm-card-media .mtm-score{display:none!important}
.mtm-card-footer,.mtm-product-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:18px;padding-top:15px;border-top:1px solid #e5e7eb;clear:both}
.mtm-btn,.mtm-cta,.mtm-btn-sm,.mtm-product-cta{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border-radius:7px;text-decoration:none;text-align:center}
.mtm-pros-cons,.mtm-pc-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;clear:both}
.mtm-table-wrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.mtm-cmp-table{width:100%;min-width:760px;border-collapse:collapse;table-layout:auto}
.mtm-cmp-table th,.mtm-cmp-table td{padding:10px;vertical-align:top;border-bottom:1px solid #e5e7eb;overflow-wrap:anywhere}
.mtm-v3-grid,.mtm-v2-check-grid,.mtm-v2-scenario-grid,.mtm-v2-spec-grid,.mtm-v2-alt-grid,.mtm-v2-problem-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;width:100%}
.mtm-v3-section,.mtm-v2-section,.mtm-comparison{width:100%;max-width:100%;clear:both;float:none;left:auto!important;right:auto!important;transform:none!important}
@media(max-width:760px){.mtm-pro{max-width:100%}.mtm-card{padding:15px}.mtm-card-grid,.mtm-card:nth-of-type(even) .mtm-card-grid{grid-template-columns:1fr}.mtm-card:nth-of-type(even) .mtm-card-media,.mtm-card:nth-of-type(even) .mtm-card-main{order:initial}.mtm-card-media,.mtm-product-media,.mtm-img-wrap{max-width:320px}.mtm-pros-cons,.mtm-pc-grid{grid-template-columns:1fr}.mtm-v3-grid,.mtm-v2-check-grid,.mtm-v2-scenario-grid,.mtm-v2-spec-grid,.mtm-v2-alt-grid,.mtm-v2-problem-grid{grid-template-columns:1fr}.mtm-card-footer,.mtm-product-footer{align-items:stretch}.mtm-card-footer .mtm-btn,.mtm-product-footer .mtm-btn,.mtm-product-cta{width:100%}}

/* v3.7.0 frontend stability safeguards */
.mtm-pro .mtm-img-cta{display:none!important}
.mtm-pro .mtm-product-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;flex-wrap:wrap!important;margin-top:20px!important;padding-top:16px!important;border-top:1px solid #e5e7eb!important}
.mtm-pro .mtm-product-meta{display:flex!important;align-items:center!important;gap:8px 14px!important;flex-wrap:wrap!important;margin:8px 0 16px!important}
.mtm-pro .mtm-method-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;flex-wrap:wrap!important}
.mtm-pro .mtm-faq details{margin-bottom:12px!important}
.mtm-pro .mtm-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;max-width:100%!important}
@media(max-width:760px){.mtm-pro .mtm-product-footer .mtm-product-cta{width:100%!important}.mtm-pro .mtm-price-note{flex-basis:100%!important}}

/* v3.8.0 targeted fix: keep editorial label and score visually separated. */
.mtm-pro .mtm-card-header{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}
.mtm-pro .mtm-card-header .mtm-rank-badge{
  display:inline-flex!important;
  align-items:center!important;
  margin:0!important;
}
.mtm-pro .mtm-card-header .mtm-score{
  display:inline-flex!important;
  align-items:center!important;
  margin-left:8px!important;
  padding-left:2px!important;
  white-space:nowrap!important;
}
