/* Product 344 only. Native Avia elements remain the editable source. */
#top .afr-product-dialog:has(.afr-crs200-sheet){width:80vw;max-width:80vw;height:95dvh;max-height:95dvh}
@media(min-width:990px){#top .afr-product-dialog:has(.afr-crs200-sheet){width:70vw;max-width:70vw;height:85dvh;max-height:85dvh}}
#top .afr-product-dialog:has(.afr-crs200-sheet) .afr-product-dialog-bar{padding:8px 22px;min-height:56px;box-sizing:border-box}
#top .afr-product-dialog:has(.afr-crs200-sheet) .afr-product-dialog-content{scroll-behavior:auto;position:relative}
#top .afr-crs200-sheet .container{padding-inline:28px}
#top .afr-crs200-sheet .content{padding-block:24px}
#top .afr-crs200-sheet .entry-content-wrapper:before,#top .afr-crs200-sheet .entry-content-wrapper:after{display:none}
#top .afr-crs200-sheet .av-special-heading{padding-bottom:0!important;margin:0 0 12px}
#top .afr-crs200-sheet .avia_textblock{font-size:16px;line-height:1.55}
#top .afr-crs200-sheet .avia_textblock p{margin:0 0 12px}
#top .afr-crs200-sheet .avia_textblock p:last-child{margin-bottom:0}
#top .afr-crs200-sheet .avia_textblock ul{margin:10px 0 12px 18px}
#top .afr-crs200-sheet .avia_textblock li{margin-bottom:6px}
#top .afr-crs200-sheet .flex_column{min-width:0}
#top .afr-crs200-hero .entry-content-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:center}
@media(min-width:990px){#top .afr-crs200-hero-media .afr-crs200-gallery{width:100%;max-width:none;margin:0}}
#top .afr-crs200-hero .flex_column{width:auto;float:none;margin:0;padding:0}
#top .afr-crs200-hero-media .avia-image-container{width:100%;margin:0}
#top .afr-crs200-hero-media img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
#top .afr-crs200-hero h1{font-size:clamp(34px,3.5vw,54px);line-height:1.05;letter-spacing:0}
#top .afr-crs200-kicker{font-size:12px;letter-spacing:.08em;font-weight:600}
#top .afr-crs200-promise{font-size:22px;font-weight:600;line-height:1.2;margin-bottom:14px}
#top .afr-crs200-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 0}
#top .afr-crs200-actions>.avia-button{display:flex;align-items:center;justify-content:center;text-align:center;box-sizing:border-box;width:100%;min-width:0;min-height:50px;height:100%;margin:0!important;padding:12px 14px;white-space:normal;line-height:1.3;opacity:1;font-size:15px}
#top .afr-crs200-metrics .content{padding-block:16px}
#top .afr-crs200-metrics .entry-content-wrapper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#top .afr-crs200-metric{float:none;width:auto;margin:0;padding:16px 14px;border-top:2px solid #ffc900}
#top .afr-crs200-metric h3{font-family:Archivo,sans-serif;font-size:28px;line-height:1.15;letter-spacing:0}
#top .afr-crs200-metric .av-special-heading{margin-bottom:5px}
#top .afr-crs200-metric .avia_textblock{font-size:14px;line-height:1.4}
#top .afr-crs200-nav{position:sticky;top:0;z-index:4;border-block:1px solid #173e441c}
#top .afr-crs200-nav .content{padding-block:8px}
#top .afr-crs200-nav-links{display:flex;flex-wrap:wrap;gap:4px;margin:0}
#top .afr-crs200-nav-links>.avia-button{margin:0!important;min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;font-size:14px;opacity:1}
#top .afr-crs200-applications .flex_column_table,#top .afr-crs200-software .flex_column_table{margin-top:16px}
#top .afr-crs200-panel{padding:20px}
#top .afr-crs200-panel h3{font-size:22px;line-height:1.2}
#top .afr-crs200-panel .av-special-heading:not(:first-child){margin-top:24px}
#top .afr-crs200-screen{margin:16px 0 0;width:322px;max-width:100%}
#top .afr-crs200-credit{margin:16px 0 0;width:190px;max-width:100%}
#top .afr-crs200-screen img,#top .afr-crs200-credit img{width:100%;height:auto}
#top .afr-crs200-technical .flex_column h3{font-size:21px;line-height:1.25}
#top .afr-crs200-technical .avia-table{margin-block:8px 0}
#top .afr-crs200-technical .avia-data-table{font-size:15px;line-height:1.45;width:100%;table-layout:fixed}
#top .afr-crs200-technical .avia-data-table td{padding:9px 10px;white-space:normal;overflow-wrap:anywhere;vertical-align:top}
#top .afr-crs200-technical .avia-data-table td:first-child{width:43%;font-weight:600}
#top .afr-crs200-technical .avia-heading-row{background:#173e44;color:#fff}
#top .afr-crs200-technical .avia-data-table tr:nth-child(even){background:#f4f4f4}
#top .afr-crs200-return{clear:both;padding-top:18px;font-size:14px}
#top .afr-crs200-originals .avia-image-container{margin:0 0 12px}
#top .afr-crs200-original-machine img{max-height:280px;width:auto;max-width:100%;object-fit:contain}
#top .afr-crs200-original-detail img{width:100%;height:auto;object-fit:contain}
#top .afr-crs200-originals .avia_textblock{font-size:14px}
#top .afr-crs200-sheet [tabindex='-1']:focus{outline:0}
@media(max-width:989.98px){
 #top .afr-crs200-hero .entry-content-wrapper{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
 #top .afr-crs200-actions{grid-template-columns:minmax(0,1fr)}
 #top .afr-crs200-metric h3{font-size:23px}
}
@media(max-width:989.98px){
 #top .afr-product-dialog:has(.afr-crs200-sheet){width:100vw;max-width:100vw;height:95dvh;max-height:95dvh}
 #top .afr-product-dialog:has(.afr-crs200-sheet) .afr-product-dialog-bar{padding-inline:16px}
 #top .afr-crs200-sheet .container{padding-inline:16px}
 #top .afr-crs200-sheet .content{padding-block:20px}
 #top .afr-crs200-sheet .avia_textblock{font-size:17px;line-height:1.5}
 #top .afr-crs200-hero .entry-content-wrapper{display:flex;flex-direction:column;gap:18px;align-items:stretch}
 #top .afr-crs200-hero-copy{order:0}
 #top .afr-crs200-hero-media{order:1}
 #top .afr-crs200-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 #top .afr-crs200-actions>.avia-button{font-size:14px;padding:10px 9px}
 #top .afr-crs200-metrics .entry-content-wrapper{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #top .afr-crs200-metric .avia_textblock{font-size:14px}
 #top .afr-crs200-kicker{font-size:12px}
 #top .afr-crs200-promise{font-size:22px}
 #top .afr-crs200-panel{padding:16px!important;margin-bottom:18px!important}
 #top .afr-crs200-nav .content{padding-block:6px}
 #top .afr-crs200-nav-links{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;max-width:100%;padding-block:2px}
 #top .afr-crs200-nav-links>.avia-button{flex:0 0 auto;font-size:13px;padding-inline:10px}
 #top .afr-crs200-technical .avia-data-table{font-size:15px}
 #top .afr-crs200-originals .avia_textblock{font-size:14px}
}
/* Keep the native top-layer dialog anchored to the viewport and its backdrop still. */
#top .afr-product-dialog:has(.afr-crs200-sheet){position:fixed;inset:0;margin:auto}
#top:has(.afr-product-dialog[open] .afr-crs200-sheet){position:fixed;inset:0;overflow:hidden;width:100%}
#top .afr-crs200-sheet .avia_textblock.afr-crs200-kicker{font-size:12px;font-weight:600;letter-spacing:.08em}
#top .afr-crs200-sheet .avia_textblock.afr-crs200-promise{font-size:22px;font-weight:600;line-height:1.25}
#top .afr-crs200-metric h3{font-weight:600}
#top .afr-crs200-technical .avia-data-table td{font-size:15px;line-height:1.45}
/* In compact sheets put name/actions next to the photo, then the longer introduction. */
@media(max-width:989.98px){
 #top .afr-crs200-hero .entry-content-wrapper{display:flex;flex-direction:column;align-items:stretch;gap:0}
 #top .afr-crs200-hero-copy{display:contents}
 #top .afr-crs200-hero-copy:before,#top .afr-crs200-hero-copy:after{display:none}
 #top .afr-crs200-hero-copy>.av_textblock_section:has(.afr-crs200-kicker){order:0;margin-bottom:5px}
 #top .afr-crs200-hero-copy>.av-special-heading{order:1;margin-bottom:8px}
 #top .afr-crs200-hero-copy>.av_textblock_section:has(.afr-crs200-promise){order:2;margin-bottom:12px}
 #top .afr-crs200-hero-copy>.afr-crs200-actions{order:3;margin:0 0 18px;grid-template-columns:repeat(2,minmax(0,1fr))}
 #top .afr-crs200-hero-media{order:4;margin-bottom:14px}
 #top .afr-crs200-hero-copy>.av_textblock_section:has(.afr-crs200-summary){order:5}
 #top .afr-crs200-metrics .entry-content-wrapper{grid-template-columns:repeat(2,minmax(0,1fr))}
 #top .afr-crs200-applications .flex_column,#top .afr-crs200-software .flex_column,#top .afr-crs200-technical .flex_column,#top .afr-crs200-originals .flex_column{width:100%;float:none;margin:0 0 18px}
}
/* Native gallery: stable optical frame, complete details, no added white/black bands. */
#top .afr-crs200-gallery .avia-gallery-big{height:auto!important;aspect-ratio:4/3;background:transparent!important}
#top .afr-crs200-gallery .avia-gallery-big-inner{height:100%;display:flex!important;align-items:center;justify-content:center}
#top .afr-crs200-gallery .avia-gallery-big-inner img{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain;background:transparent!important}
@media(min-width:990px){
 #top .afr-product-dialog:has(.afr-crs200-sheet) .afr-product-dialog-content{scrollbar-gutter:stable both-edges}
 #top .afr-crs200-hero .content{padding-block:28px}
 #top .afr-crs200-hero{border-top:0}
 #top .afr-crs200-hero-media .afr-crs200-gallery{padding:0!important}
 #top .afr-crs200-gallery .avia-gallery-big{margin:0!important}
 #top .afr-crs200-hero .entry-content-wrapper{column-gap:0}
 #top .afr-crs200-hero .afr-crs200-hero-copy{padding-left:28px;box-sizing:border-box}
 #top .afr-crs200-gallery .avia-gallery-big-inner{justify-content:flex-end}
 #top .afr-crs200-gallery .avia-gallery-big{aspect-ratio:auto}
 #top .afr-crs200-gallery .avia-gallery-big-inner{height:auto}
 #top .afr-crs200-gallery .avia-gallery-big-inner img{display:block;width:100%!important;max-height:none!important}
}
#top .afr-crs200-gallery .avia-gallery-thumb>a>img{height:72px!important;width:100%!important;object-fit:cover;object-position:50% 15%}

/* Arrows only: retain hidden native data thumbnails for Enfold's preview engine. */
#top .afr-crs200-gallery .avia-gallery-thumb{display:none}
#top .afr-crs200-gallery .avia-gallery-big-wrapper{position:relative}
#top .afr-crs200-gallery .avia-slideshow-arrows{position:absolute;inset:0;pointer-events:none}
#top .afr-crs200-gallery .avia-slideshow-arrows a{position:absolute;top:50%;transform:translateY(-50%);margin:0;display:flex;align-items:center;justify-content:center;width:44px;height:44px;opacity:1;background:#0b1719b3;color:#fff;pointer-events:auto;border-radius:50%;transition:background-color .18s}
#top .afr-crs200-gallery .avia-slideshow-arrows .prev-slide{left:8px}
#top .afr-crs200-gallery .avia-slideshow-arrows .next-slide{right:8px}
#top .afr-crs200-gallery .avia-slideshow-arrows a:hover,#top .afr-crs200-gallery .avia-slideshow-arrows a:focus-visible{background:#173e44;color:#ffc900}
#top .afr-crs200-gallery .avia-slideshow-arrows svg{position:static;display:block;width:12px;height:24px;fill:currentColor}
#top .afr-crs200-gallery:not(:has(.avia-gallery-thumb>a:nth-child(2))) .avia-slideshow-arrows{display:none}
#top .afr-crs200-gallery .avia-slideshow-arrows{transform:none;margin:0;padding:0;height:100%}

/* Shared catalog model: only source-documented features, native editable cards. */
#top .afr-sheet-three-metrics .entry-content-wrapper{grid-template-columns:repeat(3,minmax(0,1fr))}
#top .afr-sheet-three-metrics .afr-crs200-metric h3{font-size:18px;line-height:1.35;margin:0;font-weight:600}
#top .afr-crs200-documentation .afr-sheet-flyer{max-width:650px;margin-inline:auto}
#top .afr-crs200-hero-copy>.afr-crs200-actions:has(>.avia-button:only-child){grid-template-columns:minmax(0,1fr)}
@media(max-width:989.98px){#top .afr-sheet-three-metrics .entry-content-wrapper{grid-template-columns:minmax(0,1fr)}#top .afr-sheet-three-metrics .afr-crs200-metric{padding:12px 14px}}

/* Narrow screens: preserve complete headings when one word exceeds the column. */
@media(max-width:989.98px){
 #top .afr-crs200-sheet .av-special-heading-tag{overflow-wrap:anywhere;hyphens:auto}
}
