/* Light layout fixes, 2026-10-20 (review T02, items 1, 2, 3, 6). Loaded last on model and specification pages. */

/* 1. Mobile: performance cards kept a fixed 955/760 ratio, which hid the caption below the image. */
@media(max-width:1100px){#performance .performance-grid article:not(:last-child){aspect-ratio:auto}}

/* 2. Whole-vehicle thumbnail: image was taller than its frame, so the wheels were cut off. */
#gallery .gallery-photo:first-child .gallery-media img{height:100%}

/* 3. Mobile: show every section link (incl. BECOME A DEALER, SPECS) on two rows instead of a hidden scroll. */
@media(max-width:650px){.product-nav .section-links{flex-wrap:wrap;overflow-x:visible;column-gap:16px;row-gap:0}.product-nav .section-links a{padding:8px 0 9px}}

/* 6. Mobile: specification rows were 12px; larger type and a wider value column. */
@media(max-width:650px){main .detail-facts>div,main .spec-page .detail-facts>div{font-size:14px;line-height:1.5;grid-template-columns:minmax(0,42fr) minmax(0,58fr);gap:14px}}
