/* ==========================================================================
   Udlejet: kortet er stadig synligt, men gråt og overstreget, med "Ledig fra d. X"
   ========================================================================== */
.category-card.is-rented { background: #f3f4f6; border-color: #d9dde2; }
.category-card.is-rented .thumb img, .category-card.is-rented .thumb .thumb-icon { filter: grayscale(1); opacity: .42; }
.category-card.is-rented .title { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--bt-color-text-muted-2); }
.category-card.is-rented .price-flag { background: #8b95a1; text-decoration: line-through; }
.category-card.is-rented .specs { opacity: .55; }
.category-card.is-rented .kicker { opacity: .7; }
.category-card.is-rented .price-row .button { background: #fff; color: var(--bt-color-accent-dark); border: 1px solid var(--bt-color-accent); }
.rented-badge { position: absolute; right: 12px; top: 12px; z-index: 2; background: #3d4854; color: #fff; border-radius: 999px; padding: 5px 13px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.avail-note { display: block; margin-top: 6px; font-size: 15.5px; color: var(--bt-color-accent-dark); line-height: 1.3; }
.avail-note strong { font-weight: 800; }
.avail-note small { display: block; margin-top: 2px; font-weight: 500; font-size: 12.5px; color: var(--bt-color-text-muted); }
.price-table tr.is-rented td:first-child a strong { text-decoration: line-through; color: var(--bt-color-text-muted-2); }
.price-table tr.is-rented td { color: var(--bt-color-text-muted-2); }
.rented-line { display: block; margin-top: 4px; }
.rented-tag { display: inline-block; background: #3d4854; color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.avail-note-inline { font-weight: 700; color: var(--bt-color-accent-dark); font-size: 14px; }
.rented-banner { margin: 14px 0 18px; padding: 12px 16px; border-radius: 12px; background: #fff3e0; border: 1px solid #f0c987; color: #6b4300; line-height: 1.5; }
@media (max-width: 640px) { .category-card.is-rented .thumb .rented-badge { right: 6px; top: 6px; padding: 3px 8px; font-size: 10px; } }

/* Køretøjssiden: luft over sektionsoverskrifterne (de er ikke længere afhængige af en global margen) */
.vehicle-layout h2 { margin-top: 36px; margin-bottom: 12px; }
.vehicle-layout .vehicle-hero-img + h2, .vehicle-layout .vehicle-gallery + h2 { margin-top: 32px; }
@media (max-width: 640px) { .category-card.is-rented .thumb .rented-badge { font-size: 9px; padding: 3px 7px; max-width: 84px; text-align: center; line-height: 1.2; } }
