/* Additive content improvements: preserve the currently deployed brand and hero. */
body[data-gdt-brand-page=category] #market-comparison .market-table{font-size:16px;line-height:1.7;min-width:1160px}
body[data-gdt-brand-page=category] #market-comparison .market-table th{font-size:15px}
body[data-gdt-brand-page=category] #market-comparison .market-table td{min-width:200px;padding:22px;overflow-wrap:anywhere}
body[data-gdt-brand-page=category] #market-comparison .market-table tbody th{position:sticky;left:0;z-index:1;min-width:150px;box-shadow:1px 0 0 #dce3e7}
body[data-gdt-brand-page=category] #market-comparison .market-table tbody tr:nth-child(even) td{background:#f8f9fa}
body[data-gdt-brand-page=category] #market-comparison .market-table p{font-size:16px;margin:0 0 16px;line-height:1.7}
body[data-gdt-brand-page=category] #market-comparison .market-table ul{padding-left:18px;margin:0}
body[data-gdt-brand-page=category] #market-comparison .market-table li{margin:0 0 16px}
body[data-gdt-brand-page=category] #market-comparison .market-table a{color:#9e2030;text-decoration:underline;text-underline-offset:3px}
body[data-gdt-brand-page=category] #market-comparison .brand-market-mobile dd{font-size:16px}
body[data-gdt-brand-page=category] #market-comparison .brand-market-mobile dd p{font-size:16px;margin-bottom:16px}
body[data-gdt-brand-page=category] .factory-grid figcaption p{font-size:16px;line-height:1.7}
body[data-gdt-brand-page=category] .factory-grid figure[data-visual-kind=process-illustration] img{object-fit:cover}
.gdt-support-visual{margin:28px 0 36px;max-width:100%;border:1px solid #dce3e7;background:#f3f5f6;border-radius:4px;overflow:hidden}
.gdt-support-visual img{display:block;width:100%;height:340px;object-fit:cover}
.gdt-support-visual.is-material img{object-fit:contain;background:#fff}
.gdt-support-visual figcaption{padding:14px 20px;font:14px/1.7 Arial,Helvetica,sans-serif;color:#526572;background:#f3f5f6}
.gdt-basic-page{max-width:980px;padding:64px 40px 80px;margin:auto;color:#263b48;font:16px/1.8 Arial,Helvetica,sans-serif}
.gdt-basic-page h1{font-size:clamp(32px,4vw,48px);line-height:1.2;margin:0 0 36px;color:#142b3a;letter-spacing:-.025em}
.gdt-basic-page h2{font-size:26px;line-height:1.35;margin:36px 0 14px;color:#142b3a}
.gdt-basic-page a{color:#a92331;text-underline-offset:3px}
body[data-gdt-support=accessories] .gdt-buyer-grid{grid-template-columns:1fr;max-width:1000px}
body[data-gdt-support=accessories] .gdt-buyer-card{display:grid;grid-template-columns:1.05fr 1fr;border-radius:4px;border:1px solid #dce3e7}
body[data-gdt-support=accessories] .gdt-buyer-card>a{display:contents;color:#142b3a;text-decoration:none}
body[data-gdt-support=accessories] .gdt-buyer-card img{grid-column:1;grid-row:1/3;width:100%;height:100%;min-height:360px;object-fit:contain;background:#f3f5f6}
body[data-gdt-support=accessories] .gdt-buyer-card__body{padding:28px 32px;grid-column:2}
body[data-gdt-support=accessories] .gdt-buyer-card>a>.gdt-buyer-card__body{align-self:end;padding-bottom:12px}
body[data-gdt-support=accessories] .gdt-buyer-card h3{font-size:28px;line-height:1.3}
body[data-gdt-support=accessories] .gdt-buyer-card dl{font-size:16px;min-height:0;margin-bottom:28px}
@media(max-width:700px){
 .gdt-support-visual{margin:22px 0 28px}.gdt-support-visual img{height:220px}.gdt-support-visual figcaption{padding:12px 16px}
 .gdt-basic-page{padding:36px 24px 48px}.gdt-basic-page h2{font-size:23px}
 body[data-gdt-support=accessories] .gdt-buyer-card{display:block}
 body[data-gdt-support=accessories] .gdt-buyer-card>a{display:block}
 body[data-gdt-support=accessories] .gdt-buyer-card img{height:auto;min-height:0;aspect-ratio:4/3}
 body[data-gdt-support=accessories] .gdt-buyer-card__body{padding:22px}
 body[data-gdt-support=accessories] .gdt-buyer-card h3{font-size:24px}
}

/* Merge into completion.css. Scope is only the three new About role cards. */
body[data-gdt-brand-page="about"] #gdt-about figure.fmd-role-visual{display:block;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:#f3f5f6;overflow:hidden}
body[data-gdt-brand-page="about"] #gdt-about .fmd-role-visual img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;padding:0;margin:0}
body[data-gdt-brand-page="about"] #gdt-about .fmd-role-visual figcaption{padding:9px 18px;background:#f3f5f6;color:#5e6c75;font-size:14px;line-height:1.5}

/* Visual review, 4 December: retain readable headings on existing dark modules. */
body[data-gdt-brand-page="page"] #gdt-workshop-photos .gdt-oem-photo-grid figcaption h3{color:#fff!important}
body[data-gdt-brand-page="page"] .fmd-cta :is(h2,h3){color:#fff!important}
body[data-gdt-brand-page="page"] figure.fmd-figure[data-gdt-img] > figcaption{padding:16px 20px;font-size:14px;line-height:1.7;color:#526572;background:#f3f5f6}
body[data-gdt-brand-page] .gdt-brand-footer .gdt-brand-footer-top h2{color:#fff!important}
/* Only two reviewed guide images: hide their source-file footer bands, preserving every upper scene pixel. */
body[data-gdt-support-page="source-furniture-foshan"] .gdt-source-photo-window[data-gdt-guide-image="foshan-room-setting"],
body[data-gdt-support-page="upholstery-material-selection"] .gdt-source-photo-window[data-gdt-guide-image="upholstery-room-setting"]{display:block;width:100%;max-width:520px;overflow:hidden;margin-inline:auto}
body[data-gdt-support-page="source-furniture-foshan"] .gdt-source-photo-window > img[data-gdt-guide-image="foshan-room-setting"],
body[data-gdt-support-page="upholstery-material-selection"] .gdt-source-photo-window > img[data-gdt-guide-image="upholstery-room-setting"]{display:block;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:top center!important;margin:0!important}
@media(max-width:600px){
body[data-gdt-support-page="material-samples"] .gdt-oem-palette{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body[data-gdt-support-page="material-samples"] .gdt-oem-palette h3{font-size:15px!important;line-height:1.35;padding:12px 0}
body[data-gdt-support-page="compressed-vs-traditional-sofas"] .gdt-guide-table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
body[data-gdt-support-page="compressed-vs-traditional-sofas"] .gdt-guide-table-scroll table{min-width:600px;table-layout:auto}
body[data-gdt-support-page="compressed-vs-traditional-sofas"] .gdt-guide-table-scroll :is(th,td){overflow-wrap:normal;word-break:normal}
}
