/* ALLCUT — /dealers/ dealer enquiry. Shares the form rules in contact.css; this file adds the side column, the tiles and the consent box. */

/* left column stays in view while the long form scrolls (desktop only) */
.dealer-side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
@media (max-width: 900px) { .dealer-side { position: static; } }

.dealer-steps { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.dealer-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink); font-weight: 500; line-height: 1.4; }
.dealer-steps__n { font-weight: 800; color: var(--red-ink); }
.dealer-talk { margin-top: 40px; display: grid; gap: 10px; justify-items: start; }
@media (max-width: 900px) { .dealer-talk { display: none; } }
.dealer-talk__link { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; overflow-wrap: anywhere; }
.dealer-talk__link--phone { font-size: calc(25px * var(--fs)); font-weight: 700; }
.dealer-talk__link:hover { color: var(--red-ink); text-decoration-color: currentColor; }

.enquiry-group__intro { clear: both; margin: -6px 0 20px; color: var(--ink-2); font-weight: 500; }

/* tick boxes and round choices as tiles */
.tiles { display: grid; gap: 10px; margin-top: 2px; }
.tiles--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; background: var(--white); border: 1px solid var(--rule-2); border-radius: 0; color: var(--ink); font-weight: 500; font-size: calc(16px * var(--fs)); line-height: 1.35; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.tile:hover { border-color: var(--ink-4); }
.tile input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--red); }
.tile:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); font-weight: 600; }
.tile:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.dealer-consent { border-top: 1px solid var(--ink); padding-top: 22px; }
.dealer-consent__box { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); font-weight: 500; font-size: calc(16px * var(--fs)); line-height: 1.45; cursor: pointer; }
.dealer-consent__box input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); }
.dealer-consent__box:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.dealer-consent .field__error { margin-top: 10px; }
.form-done__actions { margin-top: 20px; }

@media (max-width: 640px) {
  .tiles--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles--two { grid-template-columns: 1fr; }
}
