.model-detail [hidden] { display: none !important; }
.model-detail .product-lead { min-width: 0; }
.model-detail .product-lead h1 { overflow-wrap: anywhere; }
.model-detail .photo-arrow { width: 44px; height: 44px; }
.model-detail .gallery-thumbs { overflow-x: auto; padding: 3px; }
.model-detail .gallery-thumbs button { flex: 0 0 auto; }
.model-detail .gallery-stage { background: #f6f7f7; }
.model-detail .gallery-slide { padding: 10px; }
.model-detail .product-gallery.is-scene .gallery-track { width: 100%; max-height: none; scrollbar-width: none; }
.model-detail .product-gallery.is-scene .gallery-track::-webkit-scrollbar { display: none; }
.model-detail .product-gallery.is-scene .gallery-slide img { object-fit: contain; }
.model-detail .gallery-view-tabs button { min-height: 44px; }
.model-detail :is(button, a, select, summary):focus-visible { outline: 2px solid #9b7b00; outline-offset: 3px; }
.model-detail .detail-anchor, .model-detail #ymg-enquiry {
    scroll-margin-top: calc(var(--detail-header) + var(--detail-nav) + 22px);
}
.model-detail .section-links { gap: clamp(5px, 1.5vw, 20px); }
.model-detail .section-links a { min-width: 0; overflow-wrap: anywhere; }
.model-chapter :is(.ggd-wrap, .ggd-overview-grid) { width: 100%; max-width: none; margin: 0; }
.model-chapter :is(h2, h3, h4) { text-wrap: balance; }
.model-chapter h2 { font-size: clamp(28px, 3.3vw, 42px); line-height: 1.13; margin: 0 0 24px; letter-spacing: -.03em; }
.model-chapter h3 { font-size: clamp(18px, 2vw, 25px); line-height: 1.23; margin: 0 0 13px; }
.model-chapter h4 { font-size: 17px; margin: 0 0 10px; }
.model-chapter p { font-size: 14px; line-height: 1.7; margin: 0 0 20px; }
.model-chapter :is(.ggd-section-head, .pdp2-section-heading, .ggd-pack-heading, .config-intro) { margin-bottom: 34px; }
.model-chapter :is(.ggd-eyebrow, .step-number) { display: none; }
.model-chapter img { display: block; width: 100%; max-height: 590px; height: auto; object-fit: contain; border-radius: 12px; }
.model-chapter :is(figure, picture) { display: block; margin: 0; min-width: 0; }
.model-chapter figcaption { display: none; }
.model-chapter :is(.ggd-overview-banner, .pdp2-application-media) { margin-bottom: 30px; }
.model-chapter :is(.ggd-overview-banner, .pdp2-application-media) img { max-height: 470px; object-fit: contain; background: #f5f6f6; }
.model-chapter .ggd-overview-overlay { padding-top: 25px; }
.model-chapter :is(.ggd-overview-overlay, .ggd-copy, .pdp2-application-copy) p { max-width: 850px; }
.model-chapter :is(.ggd-install-grid, .ggd-pack-grid, .ggd-overview-grid, .ggd-detail-row, .ggd-component-pair, .ggd-cct, .ggd-power-grid, .bd2104-install, .bd2104-options, .bd2104-construction, .config-options) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 3vw, 35px);
    align-items: start;
}
.model-chapter :is(.ggd-detail-row, .ggd-install-grid, .ggd-overview-grid, .ggd-brand-note, .ggd-runtime) { margin-block: 28px; }
.model-chapter .ggd-pack-heading { grid-column: 1 / -1; margin: 0; }
.model-chapter .ggd-variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.model-chapter .ggd-variant-options label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 7px 14px; background: #fff; border: 1px solid #dce1e3; border-radius: 8px; cursor: pointer; }
.model-chapter .ggd-variant-options label:has(input:checked) { border-color: #a98c00; background: #fffbea; }
.model-chapter :is(.ggd-power, .ggd-cct, .ggd-variant) { min-width: 0; margin: 24px 0; border: 0; padding: 0; }
.model-chapter :is(.ggd-power, .ggd-variant) legend { font-weight: 700; margin-bottom: 12px; }
.model-chapter .ggd-sr-only { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.model-chapter :is(.ggd-power-card, .ggd-cct-card, .config-option, .bd2104-options article, .listed-options li) {
    display: block;
    min-width: 0;
    background: #fff;
    padding: clamp(12px, 2vw, 23px);
    border: 1px solid #dce1e3;
    border-radius: 14px;
}
.model-chapter :is(.ggd-power-card, .ggd-cct-card) { cursor: pointer; position: relative; }
.model-chapter :is(.ggd-power-card, .ggd-cct-card):has(input:checked) { outline: 2px solid #ceb000; outline-offset: -2px; }
.model-chapter :is(.ggd-power-card, .ggd-cct-card) img { margin-bottom: 14px; aspect-ratio: 1; }
.model-chapter :is(.ggd-card-copy, .ggd-mini-specs, .ggd-power-heading, .ggd-cct-label) { display: block; margin-top: 9px; overflow-wrap: anywhere; }
.model-chapter :is(.ggd-card-copy, .ggd-mini-specs) { font-size: 13px; line-height: 1.55; }
.model-chapter .ggd-cct-label strong { margin-right: 7px; }
.model-chapter .ggd-selection { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between; background: #fff; padding: 20px; border-left: 4px solid var(--yellow); }
.model-chapter .ggd-selection :is(strong, #ggd-config-data) { display: block; }
.model-chapter :is(.ggd-button, [data-figure-zoom], [data-detail-zoom]) { cursor: pointer; }
.model-chapter :is([data-figure-zoom], [data-detail-zoom], .ggd-diagram) { width: 100%; border: 0; padding: 0; background: transparent; }
.model-chapter .ggd-button { display: inline-flex; align-items: center; min-height: 44px; border-radius: 30px; background: var(--yellow); color: var(--ink); padding: 0 18px; font-weight: 700; font-size: 13px; }
.model-chapter .ggd-zoom-label { display: none; }
.model-chapter .ggd-spec-group { margin-block: 26px; }
.model-chapter :is(.ggd-table-wrap, .ymg-product-table-scroll) { max-width: 100%; overflow-x: auto; }
.model-chapter table { margin-block: 12px 24px; }
.model-chapter .comparison-table caption { text-align: left; font-weight: 700; padding-bottom: 10px; }
.model-chapter .comparison-table tbody tr > :first-child { color: #4b565f; font-weight: 700; background: #fbfcfc; }
.model-chapter .comparison-table [data-detail-current] { background: #fffbea; }
.model-chapter :is(.pdp2-spec-ledger, .installation-facts) { margin: 20px 0; }
.model-chapter :is(.pdp2-spec-ledger, .installation-facts) > div { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(0, 2fr); gap: 16px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.model-chapter dt { font-weight: 700; }
.model-chapter dd { margin: 0; overflow-wrap: anywhere; }
.model-chapter details { border-block-end: 1px solid var(--line); padding: 8px 0; }
.model-chapter summary { cursor: pointer; min-height: 44px; padding-block: 12px; font-weight: 700; }
.model-chapter details > p { margin-top: 8px; }
.model-chapter .listed-options { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0; list-style: none; }
.model-chapter .listed-options + h2 { margin-top: 30px; }
.model-chapter :is(.ggd-related-grid, .ggd-news-grid, .pdp2-detail-collage) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.model-chapter .pdp2-detail-collage figure { width: 100%; }
.model-detail #ymg-enquiry { background: #fff; color: var(--ink); }
.model-detail .enquiry-layout > * { min-width: 0; }
.model-detail #ymg-enquiry-form .ymg-enquiry-fields { gap: 14px; }
.model-detail #ymg-enquiry-form :is(input:not([type=checkbox]), select, textarea) { max-width: 100%; min-width: 0; }
.model-detail #ymg-enquiry-form .ymg-enquiry-submit { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.model-detail .detail-mobile-action span { overflow-wrap: anywhere; }
.model-chapter .ggd-overview-banner ul { padding-inline-start: 20px; }
.model-chapter :is(.ggd-detail-edge, .ggd-component-edge) img { max-height: 440px; }
@media (max-width: 850px) {
    .model-chapter :is(.ggd-install-grid, .ggd-pack-grid, .ggd-overview-grid, .bd2104-install) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 650px) {
    .model-detail .product-hero-grid { gap: 23px; }
    .model-detail .gallery-slide { padding: 7px; }
    .model-detail .gallery-track { width: 100%; max-height: none; scrollbar-width: none; }
    .model-detail .gallery-track::-webkit-scrollbar { display: none; }
    .model-detail .gallery-thumbs { min-height: 0; }
    .model-detail .gallery-thumbs button { height: 44px; width: 44px; }
    .model-detail .product-lead h1 { font-size: clamp(34px, 10vw, 51px); }
    .model-detail .product-lead h2 { font-size: 24px; }
    .model-chapter :is(.ggd-related-grid, .ggd-news-grid, .pdp2-detail-collage, .ggd-detail-row) { grid-template-columns: minmax(0, 1fr); }
    .model-chapter .comparison-table[data-detail-table] thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
    .model-chapter .comparison-table[data-detail-table] :is(tbody, tr) { display: block; width: 100%; }
    .model-chapter .comparison-table[data-detail-table] tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
    .model-chapter .comparison-table[data-detail-table] tbody tr > * { display: block; padding: 10px 12px; border: 0; min-width: 0; width: auto; }
    .model-chapter .comparison-table[data-detail-table] tbody tr > :first-child { grid-column: 1 / -1; }
    .model-chapter .comparison-table[data-detail-table] tbody tr > :nth-child(2):last-child { grid-column: 1 / -1; }
    .model-chapter .comparison-table[data-detail-table] td[data-label]::before { content: attr(data-label); display: block; color: #4b565f; font-size: 10px; font-weight: 700; }
}
