/* ECATD 1.0.2: keep the original desktop 5/7 split and mobile order.
   Use an intrinsic row height so short viewports cannot clip the copy. */
#root, #root .ecatd-store-shell, #root .ecatd-store-main {width:100%;min-width:0;max-width:100%;}
#root .ecatd-home-hero {position:relative;width:100%;min-width:0;overflow:hidden;}
#root .ecatd-hero-grid {display:grid;grid-template-columns:minmax(0,1fr);height:auto;min-width:0;}
#root .ecatd-hero-copy, #root .ecatd-hero-visual {min-width:0;min-height:0;grid-column:auto;}
#root .ecatd-hero-copy {order:2;}
#root .ecatd-hero-visual {order:1;position:relative;}
#root .ecatd-hero-image {width:100%;overflow:hidden;}
#root .ecatd-hero-image img {display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:top;}
#root .ecatd-hero-marquee {position:relative;overflow:hidden;width:100%;min-width:0;}
#root .ecatd-hero-actions {flex-wrap:wrap;}
#root .ecatd-hero-actions a {max-width:100%;white-space:normal;text-align:center;}
@media (min-width:1024px){
 #root .ecatd-hero-grid {grid-template-columns:minmax(0,5fr) minmax(0,7fr);min-height:clamp(540px,100vh,760px);align-items:stretch;}
 #root .ecatd-hero-copy {order:1;padding-top:48px;padding-bottom:48px;padding-right:24px;}
 #root .ecatd-hero-visual {order:2;}
 #root .ecatd-hero-image {position:absolute;inset:0;height:100%;}
}
