/* reserved-on-for-sale (0.4.6.9.9 + r1): Reserved trucks on the For Sale page, and the Reserved single page. Own file so its ?ver= is new. */
/* every card the same size: all rows of the For Sale grid take the height of the tallest card */
.ukmt-v2--for_sale .s-grid[data-grid]{grid-auto-rows:1fr}
.ukmt-v2 .s-card--fsres .s-card__img img{object-position:50% 55%;filter:none;opacity:1}
.ukmt-v2 .s-card--fsres .s-card__img{background:#E2F0FA}
.ukmt-v2 .s-card--fsres .s-card__price{display:grid;grid-template-columns:1fr;gap:.35rem;align-items:start}
.ukmt-v2 .s-card--fsres .s-card__ex{margin:0}
.ukmt-v2 .s-card--fsres .s-card__exp{margin:0;min-height:1.4em;font-size:.9375rem;color:var(--arr,#1D5E8C);font-weight:500}
.ukmt-v2 .s-card--fsres .s-card__ask{position:relative;z-index:2;width:100%;justify-content:center;text-align:center;min-height:2.75rem;font-size:.9375rem}
/* a truck with no photos yet: a branded panel in the same 4:3 box */
.ukmt-v2 .s-card__img--soon{display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,#E2F0FA 0%,#CFE3F3 100%)}
.ukmt-v2 .s-soon{display:flex;flex-direction:column;align-items:center;gap:.5rem;color:var(--ukmt-ink,#11293B);text-align:center;padding:1rem}
.ukmt-v2 .s-soon svg{width:3.25rem;height:3.25rem;color:var(--ukmt-accent,#1D75BC)}
.ukmt-v2 .s-soon b{font-family:Poppins,sans-serif;font-weight:500;font-size:1rem}
/* Reserved single page */
.ukmt-v2 .l-price__exp{margin:.5rem 0 0;font-size:1rem;font-weight:500;color:var(--arr,#1D5E8C)}
/* sc1r2: Expected ready line on Arriving cards (same blue as the Reserved Expected line, no banner) */
.ukmt-v2 .s-card__ready{margin:0;font-size:.9375rem;font-weight:500;line-height:1.35}
.ukmt-v2 .s-card__ready b{font-weight:700}

/* sc1r3b: ONE card layout. Reserved and Sold cards (.s-card--legacy / .s-card--sold) were given a fixed Sold layout in listing-v2.css
   (two-line title slot, grid with miles and colour on their own rows). It made Reserved cards look different from For Sale cards.
   Same selectors as that block, loaded after it: title and spec lines now behave exactly like a For Sale card. Every card stays the
   same size because the grid rows are equal height (grid-auto-rows:1fr) and the price/button block sits at the bottom of the body. */
.ukmt-v2 .s-card:is(.s-card--sold,.s-card--legacy) .s-card__t{line-height:1.2;min-height:auto;display:block;-webkit-line-clamp:unset;-webkit-box-orient:horizontal;overflow:visible}
.ukmt-v2 .s-card:is(.s-card--sold,.s-card--legacy) .s-card__specs{display:flex;flex-wrap:wrap;grid-template-columns:none;gap:.35rem .9rem;align-content:normal}
.ukmt-v2 .s-card:is(.s-card--sold,.s-card--legacy) .s-card__specs li{min-width:auto;white-space:normal;overflow:visible;line-height:inherit}
.ukmt-v2 .s-card:is(.s-card--sold,.s-card--legacy) .s-card__specs li:nth-child(1),.ukmt-v2 .s-card:is(.s-card--sold,.s-card--legacy) .s-card__specs li:nth-child(4){grid-column:auto}
@media (max-width:21em){.ukmt-v2 .s-card:is(.s-card--sold,.s-card--legacy) .s-card__specs{display:flex;grid-template-columns:none}.ukmt-v2 .s-card:is(.s-card--sold,.s-card--legacy) .s-card__specs li{grid-column:auto}}
/* Sold page: rows are the same height too (For Sale already has this above) */
.ukmt-v2--sold .s-grid[data-grid]{grid-auto-rows:1fr}

/* sc1r3c: 'Available to reserve' box on For Sale cards (Arriving trucks). Style a = green tint (default), style b = white with a green edge.
   Contrast: green #14633A on #E4F4EA 6.4:1, ink #1C2830 on #E4F4EA 13.2:1; on white 7.3:1 / 15:1. */
.ukmt-v2 .s-card__avail{display:flex;flex-direction:column;gap:.15rem;margin:0;padding:.6rem .75rem;border-radius:10px;font-size:.9375rem;line-height:1.3;color:var(--ukmt-ink)}
.ukmt-v2 .s-card__avail-h{display:flex;align-items:center;gap:.45rem;font-family:Poppins,system-ui,sans-serif;font-weight:600;font-size:1rem;color:#14633A}
.ukmt-v2 .s-card__avail-h svg{width:1.15rem;height:1.15rem;flex:none}
.ukmt-v2 .s-card__avail-d{display:block;font-weight:500;color:var(--ukmt-ink)}
.ukmt-v2 .s-card__avail-d b{font-weight:700}
.ukmt-v2 .s-card__avail--a{background:#E4F4EA;border:1px solid #BFE3CC}
.ukmt-v2 .s-card__avail--a .s-card__avail-h svg{background:#14633A;color:#fff;border-radius:50%;padding:.18rem;width:1.3rem;height:1.3rem}
.ukmt-v2 .s-card__avail--b{background:#fff;border:1px solid var(--ukmt-line);border-left:4px solid #1F7A4A;border-radius:6px 10px 10px 6px}
.ukmt-v2 .s-card__avail--b .s-card__avail-h svg{display:none}
.ukmt-v2 .s-card__avail--b .s-card__avail-h::before{content:"";width:.6rem;height:.6rem;border-radius:50%;background:#1F7A4A;flex:none;box-shadow:0 0 0 3px #CFEBDA}
/* sc1r3c: 'Add extras' secondary button under the price (For Sale cards only) */
.ukmt-v2 .s-card__extras{display:flex;width:100%;min-height:2.75rem;margin-top:.25rem}
.ukmt-v2 .s-card__extras svg{width:1.05em;height:1.05em}
/* sc1r3d: the card title link has a stretched ::after (listing-v2.css) that makes the whole card open the listing. It also sat on top of the
   real buttons, so a tap on 'Add extras' opened the truck page. Real buttons and links on a card now sit above that layer; the rest of the
   card (image, title, specs, price) still opens the listing. */
.ukmt-v2 .s-card :is(a.s-card__extras,a.s-card__ask,.s-card__body a.u-btn){position:relative;z-index:2}
/* sc1r3e (garage-v6e): For Sale card, contact line for a truck whose main contact is Owen (or Hev): name and email under the price. Real link, sits above the stretched title link. */
.ukmt-v2 .s-card__who{margin:.55rem 0 0;display:flex;flex-direction:column;gap:.15rem;font-size:.875rem;color:var(--ukmt-muted)}
.ukmt-v2 .s-card__who b{color:var(--ukmt-ink);font-weight:600}
.ukmt-v2 .s-card__who-m{position:relative;z-index:2;display:inline-flex;align-items:center;gap:.4rem;font-weight:600;font-size:.9375rem;color:var(--ukmt-ink);text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere;min-height:2.75rem}
.ukmt-v2 .s-card__who-m svg{width:1.05em;height:1.05em;flex:none}
/* sc1r3f (garage-v6f): cache-buster bump only. Hard Cargo grille now fits post-facelift trucks from December 2021 on (rule lives in PHP and edit.js / quick-add.js, no CSS change). */
/* m3res (garage-v6f-m3): Reserved / Sold cards. Rows size to their own tallest card instead of every row matching the tallest card in the
   whole grid (grid-auto-rows:1fr above). Phones (one column): a Reserved or Sold card is only as tall as its content. Desktop: cards in the same row
   still stretch to equal heights (grid default); the short line sits under the specs and the footer stays at the bottom of the card. */
.ukmt-v2--for_sale .s-grid[data-grid],.ukmt-v2--sold .s-grid[data-grid]{grid-auto-rows:auto}
.ukmt-v2 .s-card--fsres .s-card__more{margin:.15rem 0 0;font-size:.9375rem;line-height:1.4;color:var(--ukmt-muted)}
.ukmt-v2 .s-card--fsres .s-card__price{padding-top:.5rem;gap:.25rem}
.ukmt-v2 .s-card--fsres .s-card__exp:empty{display:none}
/* 0.4.6.9.41: "Reserve this truck" (primary) above "Add extras" on Available cards (only when Reserve online is on). Full width, same height as
   Add extras, wraps at large text sizes. Sits above the card's stretched title link like the other real buttons. */
.ukmt-v2 .s-card__reserve{display:flex;width:100%;min-height:2.75rem;margin-top:.35rem;white-space:normal;position:relative;z-index:2}
.ukmt-v2 .s-card__reserve + .s-card__extras{margin-top:0}
