/* R006: full-source image presentation only. Original palette, type, data and routes remain. */

/* All three collection links use the same square media slot and content grid. */
.collection-index{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.collection-index>a,.collection-index>a+a{display:grid;grid-template-columns:22px 100px minmax(0,1fr) 20px;align-items:center;gap:18px;padding:20px 24px;min-width:0}
.collection-index>a:first-child{padding-left:0}
.collection-index img{display:block;width:100px;height:100px;min-width:0;padding:0;margin:0;object-fit:contain!important;object-position:center!important;background:#181e19;border:1px solid #2e3930;border-radius:4px;transform:none!important}
.collection-index>a>div{min-width:0}.collection-index h2{line-height:1.2}.collection-index p{line-height:1.45}

/* Portrait kit images get a portrait slot, with useful product information alongside.
   No contain bars inside an artificially wide landscape image frame. */
.kits-grid,.home-kit-offers .kits-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.updated-kit-card{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.8fr);gap:24px;align-items:center;min-width:0}
.updated-kit-card .kit-visual{display:block;position:relative;aspect-ratio:auto;height:auto;min-height:0;background:transparent;align-self:start;overflow:visible}
.updated-kit-card .kit-visual>img{display:block;position:static;width:100%;height:auto;max-width:100%;object-fit:contain!important;object-position:center!important;transform:none!important;border-radius:4px}
.updated-kit-card .kit-visual-top{top:12px;left:12px;right:12px;padding:0;background:none;gap:8px;font-size:9px;line-height:1.4}
.updated-kit-card .kit-visual-top>span{padding:5px 7px;background:#101611d9;border-radius:2px}
.updated-kit-card .kit-figure{display:none}
.updated-kit-card .kit-card-foot{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:20px;padding:0;min-width:0}
.updated-kit-card .kit-card-foot h2{font-size:clamp(28px,2.15vw,38px);line-height:1.06;margin:9px 0 15px}
.updated-kit-card .kit-card-foot>.text-link{margin:0;white-space:nowrap}
.updated-kit-card .offer-price{display:block;margin:0}
.updated-kit-card .offer-price strong{font-size:27px;line-height:1.2}
.updated-kit-card .offer-price span{display:block;font-size:12px;line-height:1.5;margin-top:6px;max-width:none}

/* One equipment grid and one image frame. Compact source references are no longer
   capped to275px inside larger cards; contain preserves every source pixel. */
.product-grid,.product-grid.three,.catalogue-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px;align-items:start}
.product-grid>.product-card,.catalogue-grid>.product-card{max-width:none;min-width:0;flex:initial}
.updated-card .card-photo,.catalogue-grid .updated-card .card-photo,.product-grid.three .updated-card .card-photo{display:block;position:relative;width:100%;height:auto;aspect-ratio:4/3;padding:0;background:#121814;border:1px solid #2a332c;overflow:visible}
.updated-card .card-photo>img,.updated-card.compact-reference .card-photo>img{display:block;position:static;width:100%;height:100%;max-width:100%;max-height:100%;padding:0;margin:0;object-fit:contain!important;object-position:center!important;transform:none!important}
.updated-card .card-index{display:none}
.updated-card .card-info{padding-top:15px}
.updated-card .card-info h3{line-height:1.35;overflow-wrap:normal}
.updated-card .card-go{right:7px;bottom:7px}

/* Let these editorial/source images determine their own height. No reserved band. */
.system-photo.updated-system-photo,.field-context-image,.enquiry-image,.compare-photo{height:auto!important;min-height:0;aspect-ratio:auto;align-self:center;background:transparent;overflow:visible}
.system-photo.updated-system-photo>img,.field-context-image>img,.enquiry-image>img,.compare-photo>img{display:block;position:static;width:100%;height:auto;max-width:100%;padding:0;margin:0;object-fit:contain!important;object-position:center!important;transform:none!important;border-radius:4px}
.system-section{align-items:center}

/* Original hero photograph also stays complete; adjust its wrapper to the image. */
.campaign-hero .hero-photo{height:auto;min-height:0;top:50%;bottom:auto;transform:translateY(-50%);overflow:visible}
.campaign-hero .hero-photo>img{display:block;position:static;width:100%;height:auto;object-fit:contain!important;object-position:center!important;transform:none!important}

/* Product inspection respects the intrinsic photo, including portrait sources. */
.updated-gallery .gallery-stage{display:flex;align-items:flex-start;justify-content:center;height:auto!important;min-height:0;aspect-ratio:auto!important;background:transparent;overflow:visible}
.updated-gallery #gallery-main,.updated-gallery.compact-reference #gallery-main{display:block;position:static;width:auto;height:auto;max-width:100%;max-height:75svh;margin:0 auto;object-fit:contain!important;object-position:center!important;transform:none!important}
.compare-photo img{max-height:480px;width:auto;max-width:100%;margin-inline:auto}

@media(min-width:1600px){.updated-kit-card{gap:30px}.kits-grid,.home-kit-offers .kits-grid{gap:44px}}
@media(max-width:1200px){
 .collection-index>a,.collection-index>a+a{grid-template-columns:78px minmax(0,1fr) 18px;gap:14px;padding:18px}
 .collection-index>a>.micro{display:none}.collection-index img{width:78px;height:78px}
 .updated-kit-card{grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:18px}
 .updated-kit-card .kit-visual-top{font-size:8px;top:8px;left:8px;right:8px}
 .updated-kit-card .kit-card-foot h2{font-size:30px}.updated-kit-card .kit-card-foot .text-link{font-size:12px}
 .product-grid,.product-grid.three,.catalogue-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px) and (min-width:761px){.updated-kit-card{display:block}.updated-kit-card .kit-card-foot{padding-top:18px;gap:14px}}
@media(max-width:760px){
 .collection-index{grid-template-columns:1fr}
 .collection-index>a,.collection-index>a+a,.collection-index>a:first-child{grid-template-columns:22px 80px minmax(0,1fr) 18px;padding:16px 0;gap:14px;border-left:0}
 .collection-index>a>.micro{display:block}.collection-index img{width:80px;height:80px}
 .kits-grid,.home-kit-offers .kits-grid{grid-template-columns:1fr;gap:32px}
 .updated-kit-card{grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:18px}
 .updated-kit-card .kit-card-foot{display:flex;padding:0;gap:16px}
 .updated-kit-card .kit-card-foot h2{font-size:30px}.updated-kit-card .offer-price strong{font-size:25px}
 .updated-kit-card .kit-visual-top{font-size:8px}.updated-kit-card .kit-visual-top>svg{display:none}
 .product-grid,.product-grid.three,.catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}
 .updated-card .card-photo{aspect-ratio:4/3!important}.updated-card .card-info h3{font-size:17px;line-height:1.3}
 .product-grid.three>.product-card:last-child{display:block}
 .campaign-hero .hero-photo{position:relative;top:auto;bottom:auto;transform:none;height:auto;min-height:0;width:100%}
 .updated-gallery #gallery-main,.updated-gallery.compact-reference #gallery-main{max-height:70svh}
 .system-section{gap:24px}
}
@media(max-width:430px){
 .updated-kit-card{display:block}.updated-kit-card .kit-card-foot{padding-top:18px;gap:15px;flex-direction:row;justify-content:space-between;align-items:flex-end}
 .updated-kit-card .kit-card-foot h2{font-size:32px}.updated-kit-card .kit-visual-top{font-size:10px;top:12px;left:12px;right:12px}
 .updated-kit-card .kit-card-foot>.text-link{font-size:12px;flex:none}
 .updated-card .offer-price strong{font-size:22px}.updated-card .offer-price span{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.campaign-hero .hero-photo,.updated-card img,.updated-kit-card img{transition:none!important}}
