/* Rental Manager – online booking */
.rmf, .rmf-fab, .rmf-modal { --rmf-accent: #2563eb; --rmf-ink: #0f172a; --rmf-muted: #64748b; --rmf-line: #e2e8f0; font-family: inherit; }
.rmf *, .rmf-modal *, .rmf-fab * { box-sizing: border-box; }

/* Floating button */
.rmf-fab { position: fixed; bottom: 22px; z-index: 99990; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border: 0; border-radius: 999px; background: var(--rmf-accent); color: var(--rmf-on-accent, #fff); font: 600 15px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; cursor: pointer; box-shadow: 0 10px 30px rgba(15,23,42,.28), 0 0 0 0 var(--rmf-accent); animation: rmf-pulse 2.6s infinite; transition: transform .15s; }
.rmf-fab:hover { transform: translateY(-2px); }
.rmf-fab-right { right: 22px; }
.rmf-fab-left { left: 22px; }
@keyframes rmf-pulse { 0% { box-shadow: 0 10px 30px rgba(15,23,42,.28), 0 0 0 0 rgba(37,99,235,.45); } 70% { box-shadow: 0 10px 30px rgba(15,23,42,.28), 0 0 0 14px rgba(37,99,235,0); } 100% { box-shadow: 0 10px 30px rgba(15,23,42,.28), 0 0 0 0 rgba(37,99,235,0); } }
.rmf-fab svg { flex: none; }
.rmf-fab-img { flex: none; display: block; height: 34px; width: auto; max-width: 60px; object-fit: contain; margin: -4px 0; }
.rmf-fab-short { display: none; }
@media (max-width: 480px) {
	.rmf-fab { bottom: 16px; padding: 13px 18px 13px 14px; font-size: 15px; gap: 8px; }
	.rmf-fab-right { right: 16px; }
	.rmf-fab-left { left: 16px; }
	/* Phone: full text (default), a short text, or only the icon. */
	.rmf-fab-m-short .rmf-fab-text { display: none; }
	.rmf-fab-m-short .rmf-fab-short { display: inline; }
	.rmf-fab-m-icon .rmf-fab-text { display: none; }
	.rmf-fab-m-icon { padding: 16px; }
	.rmf-fab-m-icon.rmf-fab-noicon .rmf-fab-text { display: inline; }
	/* Phone: size of the button (Settings → Online booking → Size on a phone). */
	/* Automatic: scales with the screen width, 34 px high at 320 px wide up to 42 px at 430 px and wider. */
	.rmf-fab-s-auto { --rmf-pv: clamp(8px, calc(8px + 2 * (100vw - 320px) / 110), 10px); --rmf-ic: clamp(18px, calc(18px + 4 * (100vw - 320px) / 110), 22px); bottom: clamp(12px, calc(12px + 4 * (100vw - 320px) / 110), 16px); padding: var(--rmf-pv) clamp(12px, calc(12px + 4 * (100vw - 320px) / 110), 16px) var(--rmf-pv) clamp(9px, calc(9px + 3 * (100vw - 320px) / 110), 12px); font-size: clamp(12px, calc(12px + 2 * (100vw - 320px) / 110), 14px); gap: clamp(5px, calc(5px + 2 * (100vw - 320px) / 110), 7px); }
	.rmf-fab-s-auto svg { width: var(--rmf-ic); height: var(--rmf-ic); }
	.rmf-fab-s-auto .rmf-fab-img { height: calc(var(--rmf-ic) * 1.4); max-width: calc(var(--rmf-ic) * 2.5); }
	.rmf-fab-s-auto.rmf-fab-m-icon { padding: var(--rmf-pv); }
	.rmf-fab-s-auto.rmf-fab-right { right: clamp(12px, calc(12px + 4 * (100vw - 320px) / 110), 16px); }
	.rmf-fab-s-auto.rmf-fab-left { left: clamp(12px, calc(12px + 4 * (100vw - 320px) / 110), 16px); }
	.rmf-fab-s-small { padding: 10px 14px 10px 11px; font-size: 13px; gap: 6px; }
	.rmf-fab-s-small svg { width: 20px; height: 20px; }
	.rmf-fab-s-small .rmf-fab-img { height: 28px; max-width: 50px; }
	.rmf-fab-s-small.rmf-fab-m-icon { padding: 11px; }
	.rmf-fab-s-xsmall { bottom: 12px; padding: 8px 12px 8px 9px; font-size: 12px; gap: 5px; }
	.rmf-fab-s-xsmall.rmf-fab-right { right: 12px; }
	.rmf-fab-s-xsmall.rmf-fab-left { left: 12px; }
	.rmf-fab-s-xsmall svg { width: 18px; height: 18px; }
	.rmf-fab-s-xsmall .rmf-fab-img { height: 24px; max-width: 44px; }
	.rmf-fab-s-xsmall.rmf-fab-m-icon { padding: 9px; }
}

/* Attention arrow next to the floating button (assets/js/attn.js) */
.rmf-attn { position: fixed; z-index: 99991; pointer-events: none; opacity: 0; transition: opacity .3s; --rmf-accent: #2563eb; }
.rmf-attn[hidden] { display: none; }
.rmf-attn.rmf-attn-on { opacity: 1; }
.rmf-attn-flip { transform: scaleX(-1); }
.rmf-attn svg { display: block; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rmf-attn .rmf-a-halo { stroke: #fff; stroke-width: 8; opacity: .9; }
.rmf-attn .rmf-a-ink { stroke: var(--rmf-accent); stroke-width: 4; }
.rmf-attn-hand .rmf-a-halo { stroke-width: 3; }
.rmf-attn-hand .rmf-a-ink { stroke-width: 1.6; }
.rmf-attn-hand .rmf-a-fill { fill: #fff; stroke: none; }
.rmf-attn-hand .rmf-a-halo .rmf-a-fill { fill: #fff; stroke: #fff; }
.rmf-attn-on svg { animation: rmf-nudge .8s ease-in-out .3s 3; }
.rmf-attn-hand.rmf-attn-on svg { animation-name: rmf-tap; }
.rmf-attn-chevrons.rmf-attn-on svg { animation: none; }
.rmf-attn-drawn .rmf-a-line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.rmf-attn-drawn.rmf-attn-on .rmf-a-line { animation: rmf-draw .6s ease-out both; }
.rmf-attn-drawn.rmf-attn-on .rmf-a-head { animation-delay: .5s; animation-duration: .25s; }
.rmf-attn-chevrons.rmf-attn-on path { animation: rmf-chev 1s ease-in-out infinite both; }
.rmf-attn-chevrons.rmf-attn-on .rmf-a-c2 { animation-delay: .15s; }
.rmf-attn-chevrons.rmf-attn-on .rmf-a-c3 { animation-delay: .3s; }
@keyframes rmf-nudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(5px, 6px); } }
@keyframes rmf-tap { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(4px, 6px) scale(.94); } }
@keyframes rmf-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes rmf-chev { 0%, 100% { opacity: .25; transform: translateX(0); } 50% { opacity: 1; transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) {
	.rmf-attn, .rmf-attn * { animation: none !important; transition: none !important; }
	.rmf-attn .rmf-a-line { stroke-dashoffset: 0 !important; }
}

/* Modal */
.rmf-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: flex-start; justify-content: center; padding: 4vh 16px; overflow-y: auto; }
.rmf-modal[hidden] { display: none; }
.rmf-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.55); backdrop-filter: blur(3px); }
.rmf-dialog { position: relative; width: 100%; max-width: 760px; background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: rmf-in .2s ease-out; }
@keyframes rmf-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.rmf-x { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f5f9; font-size: 22px; line-height: 1; cursor: pointer; color: var(--rmf-ink); z-index: 2; }
.rmf-x:hover { background: #e2e8f0; }
html.rmf-lock { overflow: hidden; }

/* Form */
.rmf { color: var(--rmf-ink); font-size: 15px; line-height: 1.45; }
.rmf-mode-inline { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--rmf-line); border-radius: 20px; box-shadow: 0 10px 40px rgba(15,23,42,.08); }
.rmf-head { padding: 24px 28px 0; }
.rmf-head h2 { margin: 0 0 14px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.rmf-steps { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.rmf-steps li { flex: 1; font-size: 12px; font-weight: 600; color: var(--rmf-muted); padding-top: 8px; border-top: 3px solid var(--rmf-line); counter-increment: s; }
.rmf-steps li::before { content: counter(s) ". "; }
.rmf-steps li.is-active { color: var(--rmf-accent); border-color: var(--rmf-accent); }
.rmf-steps li.is-done { color: var(--rmf-ink); border-color: var(--rmf-accent); opacity: .7; }
.rmf-step { padding: 22px 28px 28px; }
@media (max-width: 520px) { .rmf-head { padding: 20px 18px 0; } .rmf-step { padding: 18px; } .rmf-steps li { font-size: 0; } .rmf-steps li::before { font-size: 12px; } }

.rmf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 14px; margin-bottom: 16px; }
.rmf-field { display: flex; flex-direction: column; gap: 5px; grid-column: span 1; margin: 0; }
.rmf-half { grid-column: span 2; }
.rmf-wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .rmf-grid { grid-template-columns: 1fr 1fr; } .rmf-half, .rmf-wide { grid-column: 1 / -1; } }
.rmf-field > span { font-size: 12.5px; font-weight: 600; color: #334155; }
.rmf input:not([type=checkbox]), .rmf select, .rmf textarea { width: 100%; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; font-size: 15px; background: #fff; color: var(--rmf-ink); min-height: 46px; margin: 0; }
.rmf input:focus, .rmf select:focus, .rmf textarea:focus { outline: none; border-color: var(--rmf-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rmf-accent) 20%, transparent); }
.rmf .rmf-invalid { border-color: #dc2626 !important; background: #fef2f2 !important; }
.rmf fieldset { border: 1px solid var(--rmf-line); border-radius: 14px; padding: 12px 16px 0; margin: 0 0 16px; }
.rmf legend { font-weight: 700; padding: 0 6px; }
.rmf-note { margin: 0 0 10px; font-size: 13px; color: #1e3a8a; background: #eff6ff; padding: 8px 12px; border-radius: 8px; }
.rmf-check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: 14px; }
.rmf-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--rmf-accent); }
.rmf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.rmf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; border: 1px solid var(--rmf-line); background: #fff; color: var(--rmf-ink); font: inherit; font-weight: 700; cursor: pointer; transition: all .15s; }
.rmf-btn:hover { background: #f8fafc; }
.rmf-btn-primary { background: var(--rmf-accent); border-color: var(--rmf-accent); color: var(--rmf-on-accent, #fff); }
.rmf-btn-primary:hover { background: var(--rmf-accent); filter: brightness(.92); }
.rmf-btn:disabled { opacity: .6; cursor: default; }
.rmf-btn-block { width: 100%; padding: 15px; font-size: 16px; }
.rmf-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.rmf-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; border-radius: 10px; padding: 10px 14px; font-size: 14px; }

.rmf-summary-line { margin: 0 0 14px; font-weight: 600; color: var(--rmf-muted); }
.rmf-results { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.rmf-empty { padding: 20px; text-align: center; color: var(--rmf-muted); background: #f8fafc; border-radius: 12px; }
.rmf-card { display: grid; grid-template-columns: 160px 1fr auto; gap: 16px; align-items: center; border: 1px solid var(--rmf-line); border-radius: 16px; padding: 12px; transition: box-shadow .15s, border-color .15s; }
.rmf-card:hover { border-color: var(--rmf-accent); box-shadow: 0 8px 24px rgba(15,23,42,.08); }
.rmf-card-media { width: 160px; height: 110px; border-radius: 12px; background: #f1f5f9; display: grid; place-items: center; overflow: hidden; }
.rmf-card-media img { width: 100%; height: 100%; object-fit: cover; }
.rmf-card-icon { font-size: 46px; }
.rmf-card-body h3 { margin: 0 0 6px; font-size: 18px; }
.rmf-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.rmf-meta span { font-size: 12px; padding: 3px 9px; border-radius: 20px; background: #f1f5f9; color: #334155; font-weight: 600; }
.rmf-meta .rmf-doc-id { background: #dcfce7; color: #166534; }
.rmf-meta .rmf-doc-license { background: #dbeafe; color: #1e40af; }
.rmf-meta .rmf-left { background: #fef3c7; color: #92400e; }
.rmf-desc { margin: 8px 0 0; font-size: 13.5px; color: var(--rmf-muted); }
.rmf-card-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; padding-right: 6px; }
.rmf-card-price strong { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.rmf-card-price small { color: var(--rmf-muted); font-size: 12px; }
.rmf-card-price .rmf-btn { margin-top: 8px; padding: 10px 22px; }
@media (max-width: 640px) { .rmf-card { grid-template-columns: 96px 1fr; } .rmf-card-media { width: 96px; height: 80px; } .rmf-card-price { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; text-align: left; } .rmf-card-price .rmf-btn { margin: 0; } }

.rmf-extras { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.rmf-extra { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--rmf-line); border-radius: 14px; cursor: pointer; }
.rmf-extra:has(input:checked) { border-color: var(--rmf-accent); background: color-mix(in srgb, var(--rmf-accent) 6%, #fff); }
.rmf-extra input { width: 20px; height: 20px; accent-color: var(--rmf-accent); }
.rmf-extra small { display: block; color: var(--rmf-muted); font-size: 12.5px; }
.rmf-extra em { font-style: normal; font-weight: 700; white-space: nowrap; }

.rmf-pricebox { background: #f8fafc; border-radius: 14px; padding: 14px 16px; margin: 0 0 14px; transition: opacity .15s; }
.rmf-pricebox:empty { display: none; }
.rmf-pricebox.is-loading { opacity: .5; }
.rmf-pricebox h4 { margin: 0 0 8px; font-size: 15px; }
.rmf-pricebox table, .rmf-done table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.rmf-pricebox td, .rmf-done td { padding: 5px 0; border: 0; border-bottom: 1px dashed var(--rmf-line); background: none; }
.rmf-pricebox td:last-child, .rmf-done td:last-child { text-align: right; white-space: nowrap; }
.rmf-total td { font-weight: 800; font-size: 17px; border-bottom: 0 !important; padding-top: 10px !important; }
.rmf-dep td { color: var(--rmf-muted); font-size: 13px; border-bottom: 0 !important; }

.rmf-done { text-align: center; padding: 10px 0; }
.rmf-done .rmf-check { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 12px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: 36px; font-weight: 800; }
.rmf-done h3 { margin: 0 0 6px; font-size: 24px; }
.rmf-done table { max-width: 420px; margin: 16px auto 0; text-align: left; }
.rmf-why { margin: 12px 0; padding: 12px 14px; border: 1px dashed #f59e0b; background: #fffbeb; color: #78350f; border-radius: 12px; font-size: 13px; }
.rmf-why ul { margin: 6px 0 0 18px; padding: 0; }

.rmf input.rmf-invalid { border-color: #dc2626 !important; box-shadow: 0 0 0 3px rgba(220,38,38,.15); }
.rmf-saving { display: inline-block; margin: 4px 0 6px; padding: 3px 9px; border-radius: 999px; background: #dcfce7; color: #166534; font-size: 12px; font-weight: 700; }

/* Checkout & payment */
.rmf-pay { border: 1px solid #e2e8f0; border-radius: 14px; padding: 14px 16px; margin: 14px 0; }
.rmf-pay legend { font-weight: 800; padding: 0 6px; }
.rmf-pay-sum { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 10px; }
.rmf-pay-sum td { padding: 6px 0; border-bottom: 1px solid #f1f5f9; }
.rmf-pay-sum td:last-child { text-align: right; font-weight: 700; }
.rmf-pay-sum tr.rmf-pay-now td { font-size: 16px; color: var(--rmf-accent, #2563eb); }
.rmf-pay-choice, .rmf-pay-methods { display: grid; gap: 8px; margin: 10px 0; }
.rmf-radio { display: flex; gap: 10px; align-items: center; border: 2px solid #e2e8f0; border-radius: 12px; padding: 11px 12px; cursor: pointer; font-size: 14.5px; }
.rmf-radio:has(input:checked) { border-color: var(--rmf-accent, #2563eb); background: #f8fafc; }
.rmf .rmf-radio input { width: 19px !important; height: 19px !important; min-height: 0 !important; padding: 0 !important; border: 0; box-shadow: none !important; accent-color: var(--rmf-accent, #2563eb); flex: none; margin: 0; }
.rmf-radio span { flex: 1; min-width: 0; line-height: 1.35; }
.rmf-paybox { margin-top: 14px; background: #f8fafc; border-radius: 12px; padding: 12px 14px; text-align: left; }
.rmf-pre { white-space: pre-line; margin: 6px 0 10px; }

/* Vehicle photos in the results */
.rmf-card-media.has-photo { position: relative; }
.rmf-card-media.has-photo img { cursor: zoom-in; }
.rmf-photo-tag { position: absolute; left: 6px; bottom: 6px; max-width: calc(100% - 12px); background: rgba(15,23,42,.72); color: #fff; font-size: 10.5px; line-height: 1.3; padding: 2px 7px; border-radius: 99px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rmf-photo-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: #0f172a; font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; box-shadow: 0 1px 4px rgba(0,0,0,.2); opacity: 0; transition: opacity .15s; }
.rmf-card-media:hover .rmf-photo-nav, .rmf-photo-nav:focus { opacity: 1; }
.rmf-photo-prev { left: 6px; } .rmf-photo-next { right: 6px; }
.rmf-photo-dots { position: absolute; top: 7px; right: 8px; display: flex; gap: 3px; }
.rmf-photo-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 0 2px rgba(0,0,0,.4); }
.rmf-photo-dots i.is-on { background: #fff; }
@media (hover: none) { .rmf-photo-nav { opacity: 1; } }
.rmf-lightbox { position: fixed; inset: 0; z-index: 2147483000; background: rgba(15,23,42,.88); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; cursor: zoom-out; }
.rmf-lightbox img { max-width: 100%; max-height: calc(100vh - 80px); border-radius: 12px; object-fit: contain; }
.rmf-lightbox span { color: #fff; font-size: 14px; }

/* Administrator overview under the results */
details.rmf-why > summary { cursor: pointer; font-weight: 600; }
.rmf-over { margin: 8px 0 0; }
.rmf-over > summary { cursor: pointer; font-weight: 600; }
.rmf-over ul { list-style: none; margin: 4px 0 0; padding: 0; max-height: 260px; overflow: auto; }
.rmf-over li { padding: 2px 0 2px 16px; position: relative; }
.rmf-over li::before { content: ''; position: absolute; left: 2px; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; }
.rmf-over li.rmf-over-free::before { background: #16a34a; }
.rmf-over li.rmf-over-busy::before { background: #dc2626; }

/* Riding experience question */
.rmf-exp-opts { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.rmf-exp-opts .rmf-check { margin: 4px 0; }
.rmf-exp.rmf-invalid { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, .12); }
.rmf-exp-block { color: #b91c1c; margin: 6px 0 0; }
.rmf-exp-opts input[type=radio] { flex: none; width: 20px; height: 20px; min-height: 0; padding: 0; margin: 1px 0 0; border-radius: 50%; box-shadow: none; }

/* 0.20.0: ID photo and address where the customer stays; fields never overlap (iPhone gives date fields a fixed width). */
.rmf-field{min-width:0}
.rmf input:not([type=checkbox]):not([type=radio]),.rmf select,.rmf textarea{box-sizing:border-box;max-width:100%;min-width:0}
.rmf input[type=date],.rmf input[type=time]{-webkit-appearance:none;appearance:none;display:block;text-align:left}
.rmf input[type=date]::-webkit-date-and-time-value{text-align:left}
.rmf-file input[type=file]{width:100%;padding:10px;border:2px dashed currentColor;border-radius:10px;opacity:.9;cursor:pointer;background:transparent}
.rmf-file input[type=file].rmf-invalid{border-color:#dc2626}
.rmf-idphoto .rmf-small{font-size:12px;opacity:.75;margin:6px 0 0}

/* Codeharven ontwerpcontrole 2026-11-22: toegankelijkheid */
.rmf-x{line-height:1.4}
.rmf-photo-tag{font-size:12px}
.rmf-photo-nav{line-height:1.4}

/* Step 2: groups (e.g. Petrol / Electric) first, then the models. */
.rmf-group-title { margin: 0 0 12px; font-size: 20px; }
.rmf-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 16px; }
.rmf-group { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--rmf-line); border-radius: 18px; background: #fff; overflow: hidden; cursor: pointer; font: inherit; color: inherit; transition: box-shadow .15s, border-color .15s, transform .15s; }
.rmf-group:hover, .rmf-group:focus-visible { border-color: var(--rmf-accent); box-shadow: 0 10px 28px rgba(15,23,42,.10); transform: translateY(-2px); outline: none; }
.rmf-group-media { display: grid; place-items: center; aspect-ratio: 16 / 10; background: #f1f5f9; }
.rmf-group-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rmf-group-text { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.rmf-group-text strong { font-size: 19px; }
.rmf-group-text small { color: var(--rmf-muted); font-size: 14px; }
.rmf-group-go { margin-top: 6px; font-weight: 700; color: var(--rmf-accent); }
.rmf-group-head { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 8px; }
.rmf-link { border: 0; background: none; padding: 4px 0; color: var(--rmf-accent); font: inherit; font-weight: 700; cursor: pointer; }
.rmf-pref-note { margin: 0 0 4px; font-size: 13px; line-height: 1.45; color: var(--rmf-muted); }
.rmf-vehicles .rmf-group-media { aspect-ratio: 4 / 3; }
.rmf-nopref { justify-content: center; border-style: dashed; background: #f8fafc; }
.rmf-vehicle .rmf-left { align-self: flex-start; margin-top: 4px; }
.rmf-vehicle .rmf-left { background: #fef3c7; color: #92400e; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
/* Group and vehicle tiles are buttons: keep their own look, whatever the theme does with buttons. */
.rmf-modal button.rmf-group, .rmf button.rmf-group { border-radius: 18px !important; padding: 0 !important; margin: 0 !important; text-align: left !important; width: 100%; min-width: 0; height: auto !important; line-height: 1.4 !important; letter-spacing: normal !important; text-transform: none !important; background: #fff !important; color: inherit !important; box-shadow: none; white-space: normal !important; font-weight: 400 !important; }
.rmf-modal button.rmf-group:hover, .rmf button.rmf-group:hover { box-shadow: 0 10px 28px rgba(15,23,42,.10); }
.rmf-modal button.rmf-nopref, .rmf button.rmf-nopref { background: #f8fafc !important; }
.rmf-group-text { width: 100%; box-sizing: border-box; align-items: flex-start; }
.rmf-group-media { width: 100%; }
.rmf-modal button.rmf-link, .rmf button.rmf-link { background: none !important; border: 0 !important; padding: 4px 0 !important; box-shadow: none !important; color: var(--rmf-accent) !important; text-transform: none !important; letter-spacing: normal !important; border-radius: 0 !important; }
.rmf-opts { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rmf-opts li { margin: 0; padding: 4px 10px; border-radius: 999px; background: #f1f5f9; color: #334155; font-size: 13px; line-height: 1.4; }
.rmf-opts .rmf-opts-more { background: transparent; color: var(--rmf-muted); }

/* 0.20.31: all free vehicles of a group at once, per category */
.rmf-type-sec { margin: 18px 0 8px; }
.rmf-type-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 6px 16px; padding: 0 0 10px; margin-bottom: 12px; border-bottom: 1px solid var(--rmf-line, #e5e7eb); }
.rmf-type-name strong { display: block; font-size: 18px; line-height: 1.25; }
.rmf-type-name small, .rmf-type-price small { display: block; font-size: 13px; color: var(--rmf-muted); line-height: 1.4; }
.rmf-type-price { text-align: right; }
.rmf-type-price strong { display: block; font-size: 17px; }
.rmf-type-price .rmf-saving { display: inline-block; margin: 2px 0; }
@media (max-width: 520px) { .rmf-type-price { text-align: left; } }
.rmf-type-sec .rmf-vehicles { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.rmf-type-name strong { font-weight: 700; }
@media (max-width: 520px) {
	.rmf-type-sec .rmf-vehicles { grid-template-columns: 1fr 1fr; gap: 10px; }
	.rmf-type-sec .rmf-group-text { padding: 10px 12px 12px; gap: 2px; }
	.rmf-type-sec .rmf-group-text strong { font-size: 15px; line-height: 1.3; }
	.rmf-type-sec .rmf-group-text small, .rmf-type-sec .rmf-group-go { font-size: 13px; }
	.rmf-type-sec .rmf-vehicle .rmf-left { font-size: 12px; padding: 2px 8px; }
	.rmf-type-sec .rmf-group-media .rmf-card-icon { font-size: 40px; }
	.rmf-type-price strong, .rmf-type-name strong { font-size: 16px; }
}
