/* HOME-001 - homepage prototype styles. Scoped to .mcm-home so no other page is affected.
   Tokens match mcm-ui.css / mcm-category.css. */
.mcm-home {
    --navy: #152b4a; --ink: #263344; --muted: #687587;
    --green: #147c35; --green-d: #0e642a; --plate: #f7d600; --gb: #164474;
    --soft: #f5f7fa; --line: #e2e7ee; --danger: #b3261e; --link: #0a3fb5; --focus: #1c58da;
    font-family: Arial, Helvetica, sans-serif; color: var(--ink); font-size: 16px; line-height: 1.55;
    overflow-x: clip; background: #fff;
}
.mcm-home *, .mcm-home *::before, .mcm-home *::after { box-sizing: border-box; }
.mcm-home h1, .mcm-home h2, .mcm-home h3 { color: var(--navy); line-height: 1.2; margin: 0; font-family: inherit; }
.mcm-home p { margin: 0 0 12px; }
.mcm-home ul, .mcm-home ol { margin: 0; padding: 0; list-style: none; }
.mcm-home a { color: var(--link); }
.mcm-home svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mcm-home a:focus-visible, .mcm-home button:focus-visible, .mcm-home input:focus-visible,
.mcm-home select:focus-visible, .mcm-home summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.mcm-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mcm-hm-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.mcm-hm-sec { padding: 32px 0; }
.mcm-hm-soft { background: #fff; border-top: 1px solid var(--line); }
.mcm-hm-sec h2 { font-size: 24px; margin-bottom: 16px; }
.mcm-hm-sub { font-size: 18px; margin: 24px 0 12px; }

/* Hero */
.mcm-hm-hero { background: linear-gradient(180deg, #f2f7fd, #fff); padding: 24px 0 20px; border-bottom: 1px solid var(--line); }
.mcm-hm-eyebrow { color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.mcm-hm-hero h1 { font-size: 28px; margin-bottom: 10px; }
.mcm-hm-lead { color: var(--muted); font-size: 17px; margin-bottom: 18px; max-width: 46ch; }
.mcm-hm-finder { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: 0 8px 26px rgba(18,40,65,.07); max-width: 560px; }
.mcm-hm-label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.mcm-hm-plate {
    display: flex; align-items: stretch; height: 72px; border: 3px solid var(--navy); border-radius: 10px; background: var(--plate); overflow: hidden;
}
.mcm-hm-plate::before {
    content: "GB"; flex: none; width: 46px; background: var(--gb); color: #fff; font: 700 14px/1 Arial, sans-serif;
    display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px;
}
.mcm-home .mcm-hm-reg {
    flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; color: #111; text-align: center; text-transform: uppercase;
    font: 700 26px/1 Arial, sans-serif; letter-spacing: .04em; padding: 0 8px; margin: 0; border-radius: 0; box-shadow: none; height: auto;
}
.mcm-home .mcm-hm-reg::placeholder { color: rgba(17,17,17,.45); font-size: 20px; }
.mcm-home .mcm-hm-reg.is-invalid { outline: 3px solid var(--danger); outline-offset: -3px; }
.mcm-hm-error { display: block; margin-top: 8px; color: var(--danger); font-weight: 700; font-size: 14px; }
.mcm-home .mcm-hm-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px; margin-top: 12px;
    background: var(--green); color: #fff; font: 700 18px/1 Arial, sans-serif; border: 0; border-radius: 12px; padding: 0 20px; cursor: pointer; text-decoration: none;
}
.mcm-home .mcm-hm-cta:hover { background: var(--green-d); color: #fff; }
.mcm-home .mcm-hm-cta-inline { width: auto; margin: 6px 0 10px; }
.mcm-hm-help { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.mcm-hm-or { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; color: var(--muted); font-size: 14px; }
.mcm-hm-or::before, .mcm-hm-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.mcm-hm-selects { display: grid; gap: 10px; }
.mcm-home .mcm-hm-select {
    width: 100%; min-height: 48px; font: 16px Arial, sans-serif; color: var(--ink); background: #fff; border: 1px solid #b9c3d0; border-radius: 10px; padding: 0 12px;
}
.mcm-home .mcm-hm-select:disabled { background: var(--soft); color: var(--muted); }
.mcm-hm-trust { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border-top: 1px solid var(--line); }
.mcm-hm-trust li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px 6px; text-align: center; font-size: 13.5px; line-height: 1.3; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mcm-hm-trust li:nth-child(odd) { border-left: 0; }
.mcm-hm-trust strong { color: var(--navy); }
.mcm-hm-trust svg { width: 28px; height: 28px; color: var(--link); }
.mcm-hm-fine { color: var(--muted); font-size: 12px; margin: 12px 0 0; }

/* Product cards */
.mcm-hm-cards { display: grid; gap: 12px; grid-template-columns: 1fr; }
.mcm-home .mcm-hm-card {
    display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; row-gap: 2px; align-items: start; height: 100%;
    padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 26px rgba(18,40,65,.045);
    text-decoration: none; color: var(--ink);
}
.mcm-hm-card > svg { grid-row: 1 / span 3; width: 28px; height: 28px; margin-top: 2px; color: var(--link); }
.mcm-hm-card h3 { font-size: 18px; }
.mcm-hm-card p { margin: 0; font-size: 15px; color: var(--muted); }
.mcm-hm-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--link); font-weight: 700; font-size: 15px; min-height: 24px; }
.mcm-hm-more svg { width: 18px; height: 18px; }
.mcm-home .mcm-hm-card:hover { border-color: var(--green); }

/* Makes */
.mcm-hm-makes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mcm-home .mcm-hm-make {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 120px; padding: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 15px; text-align: center;
}
.mcm-hm-make img { width: 100%; max-width: 120px; height: auto; aspect-ratio: 8 / 5; object-fit: contain; }
.mcm-home .mcm-hm-make:hover { border-color: var(--green); }
.mcm-hm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mcm-hm-chips a, .mcm-hm-az a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
    color: var(--navy); text-decoration: none; font-size: 15px;
}
.mcm-hm-chips a:hover, .mcm-hm-az a:hover { border-color: var(--green); }
.mcm-hm-all { margin-top: 20px; }
.mcm-hm-all summary { cursor: pointer; font-weight: 700; color: var(--navy); min-height: 44px; display: flex; align-items: center; }
.mcm-hm-az { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }

/* Reviews */
.mcm-hm-rating { font-size: 17px; margin-bottom: 14px; }
.mcm-hm-revs { display: flex; gap: 12px; margin: 0 0 16px; padding: 2px 0 8px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.mcm-hm-rev { flex: 0 0 82%; max-width: 340px; scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.mcm-hm-rev blockquote { margin: 6px 0; }
.mcm-hm-rev blockquote { flex: 1; } .mcm-hm-rev blockquote p { margin: 0; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.mcm-hm-rev-score { color: var(--navy); margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mcm-hm-rev-by { color: var(--muted); font-size: 14px; margin: 0; }
.mcm-hm-link { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }

/* Personalisation */
.mcm-hm-ticks { margin: 12px 0 14px; display: grid; gap: 6px; }
.mcm-hm-ticks li { padding-left: 26px; position: relative; }
.mcm-hm-ticks li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 9px; height: 5px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }

/* Personalisation options */
.mcm-hm-opts { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 16px 0; }
.mcm-hm-opt { align-content: start; row-gap: 2px; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.mcm-hm-opt > svg { grid-row: 1 / span 2; width: 28px; height: 28px; color: var(--link); }
.mcm-hm-opt h3 { font-size: 17px; }
.mcm-hm-opt p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.mcm-hm-symgroups { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mcm-hm-symgroups li { padding: 2px 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--navy); }

/* Steps */
.mcm-hm-steps { display: grid; gap: 12px; counter-reset: s; }
.mcm-hm-steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.mcm-hm-num { grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.mcm-hm-steps h3 { font-size: 17px; }
.mcm-hm-steps p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

/* SEO prose */
.mcm-hm-prose { max-width: 820px; }
.mcm-hm-prose h3 { font-size: 18px; margin: 18px 0 6px; }

/* Tablet */
@media (min-width: 640px) {
    .mcm-hm-wrap { padding: 0 24px; }
    .mcm-hm-hero h1 { font-size: 34px; }
    .mcm-hm-cards { grid-template-columns: 1fr 1fr; }
    .mcm-hm-opts { grid-template-columns: 1fr 1fr; }
    .mcm-hm-makes { grid-template-columns: repeat(3, 1fr); }
    .mcm-hm-revs { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
    .mcm-hm-rev { max-width: none; }
    .mcm-hm-rev:nth-child(n+4) { display: none; }
    .mcm-hm-steps { grid-template-columns: repeat(3, 1fr); }
    .mcm-hm-selects { grid-template-columns: 1fr 1fr; }
    .mcm-hm-trust { grid-template-columns: repeat(3, 1fr); }
    .mcm-hm-trust li { border-bottom: 0; }
    .mcm-hm-trust li:nth-child(odd) { border-left: 1px solid var(--line); }
    .mcm-hm-trust li:first-child { border-left: 0; }
    .mcm-hm-sec { padding: 44px 0; }
    .mcm-hm-sec h2 { font-size: 28px; }
}
/* Desktop */
@media (min-width: 1024px) {
    .mcm-hm-hero { padding: 40px 0 28px; }
    .mcm-hm-hero .mcm-hm-wrap { display: grid; grid-template-columns: 1fr 520px; column-gap: 48px; align-items: start; }
    .mcm-hm-hero .mcm-hm-eyebrow, .mcm-hm-hero h1, .mcm-hm-hero .mcm-hm-lead { grid-column: 1; }
    .mcm-hm-hero .mcm-hm-finder { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
    .mcm-hm-hero .mcm-hm-trust, .mcm-hm-hero .mcm-hm-fine { grid-column: 1 / -1; }
    .mcm-hm-hero h1 { font-size: 40px; }
    .mcm-hm-cards { grid-template-columns: repeat(4, 1fr); }
    .mcm-hm-makes { grid-template-columns: repeat(6, 1fr); }
    .mcm-hm-sec { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) { .mcm-home * { transition: none !important; animation: none !important; } }

/* Accents: inline SVG only */
.mcm-home .mcm-hm-trust svg.mcm-hm-uk { width: 22px; height: 11px; display: inline-block; vertical-align: -1px; margin-right: 5px; color: inherit; fill: none; stroke: none; border-radius: 1px; box-shadow: 0 0 0 1px var(--line); }
.mcm-hm-trust small { font-size: inherit; color: var(--muted); }
.mcm-hm-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0 0 16px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 26px rgba(18,40,65,.045); }
.mcm-hm-sum-score { font-size: 17px; color: var(--navy); }
.mcm-hm-sum-score strong { font-size: 34px; line-height: 1; margin-right: 4px; }
.mcm-hm-sum-note { flex-basis: 100%; color: var(--muted); font-size: 15px; }
.mcm-home .mcm-hm-stars { position: relative; display: inline-block; flex: 0 0 auto; width: 80px; height: 16px; }
.mcm-home .mcm-hm-stars--lg { width: 130px; height: 26px; }
.mcm-home .mcm-hm-stars svg { display: block; width: 100%; height: 100%; fill: #d3d9e2; stroke: #aab3c0; stroke-width: .6; }
.mcm-home .mcm-hm-stars > span { position: absolute; left: 0; top: 0; height: 100%; overflow: hidden; }
.mcm-home .mcm-hm-stars > span svg { width: 80px; fill: #f7d600; stroke: #9c8600; stroke-width: .8; }
.mcm-home .mcm-hm-stars--lg > span svg { width: 130px; }
.mcm-hm-revs-cta { margin: 18px 0 0; }
.mcm-home .mcm-hm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; }
.mcm-home .mcm-hm-btn:hover { background: #0f2038; }
/* v5 spacing: legacy resets zero vertical margins, so rhythm is restated with higher specificity */
.mcm-home .mcm-hm-sub { margin: 32px 0 14px !important; }
.mcm-home .mcm-hm-chips { margin-bottom: 8px !important; }
.mcm-home .mcm-hm-revs-cta { margin: 24px 0 0 !important; }
.mcm-home .mcm-hm-revs { margin-bottom: 0 !important; }
.mcm-home .mcm-hm-opts { margin: 16px 0 18px !important; }
.mcm-home .mcm-hm-opts + .mcm-hm-help { margin: 0 0 20px !important; }
.mcm-home .mcm-hm-cta-inline { margin: 4px 0 12px !important; }
.mcm-home .mcm-hm-cta-inline + .mcm-hm-help { margin: 0 !important; }
.mcm-home .mcm-hm-all { margin-top: 24px !important; }
.mcm-home .mcm-hm-wrap.mcm-hm-prose { max-width: 1180px; }
.mcm-home .mcm-hm-prose > * { max-width: 820px; }
.mcm-home .mcm-hm-prose h3 { margin: 22px 0 8px !important; }
.mcm-home .mcm-hm-prose p { margin: 0 0 12px !important; line-height: 1.6; }
.mcm-home .mcm-hm-card, .mcm-home .mcm-hm-opt, .mcm-home .mcm-hm-steps li { padding: 18px 20px; }
.mcm-home .mcm-hm-sum { padding: 16px 20px !important; }
.mcm-home .mcm-hm-hero .mcm-hm-trust { margin-top: 24px !important; }
@media (min-width: 1024px) { .mcm-home .mcm-hm-hero .mcm-hm-trust { margin-top: 36px !important; } .mcm-home .mcm-hm-hero { padding-bottom: 36px; } }
/* Hero photo (same asset as the live site) */
.mcm-home .mcm-hm-hero { background: linear-gradient(180deg, rgba(12,28,50,.88), rgba(12,28,50,.72)), url(../../assets/images/personalisedcarmats-m.webp) center / cover no-repeat #0c1c32 !important; border-bottom: 0; }
.mcm-home .mcm-hm-hero h1, .mcm-home .mcm-hm-hero .mcm-hm-lead { color: #fff !important; }
.mcm-home .mcm-hm-hero .mcm-hm-eyebrow { color: #9ee2b0 !important; }
.mcm-home .mcm-hm-hero .mcm-hm-finder { box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.mcm-home .mcm-hm-hero .mcm-hm-trust { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
@media (min-width: 1024px) { .mcm-home .mcm-hm-hero { background: linear-gradient(90deg, rgba(12,28,50,.82) 0%, rgba(12,28,50,.55) 55%, rgba(12,28,50,.25) 100%), url(../../assets/images/personalisedcarmats.webp) center / cover no-repeat #0c1c32 !important; } }
/* Full-bleed hero */
html #form1 { overflow-x: clip; }
.mcm-home { overflow: visible !important; }
.mcm-home .mcm-hm-hero { width: 100vw; position: relative; left: 50%; margin: -15px 0 0 -50vw !important; }
.mcm-home .mcm-hm-hero .mcm-hm-wrap { max-width: 1058px; }
@media (min-width: 600px) { .mcm-home .mcm-hm-hero { margin-top: -32px !important; } }
/* Luxury black velour hero photo */
.mcm-home .mcm-hm-hero { background: linear-gradient(180deg, rgba(8,16,28,.66), rgba(8,16,28,.56)), url(../../assets/images/hero-leather-m.webp) center / cover no-repeat #0c1c32 !important; }
@media (min-width: 1024px) { .mcm-home .mcm-hm-hero { background: linear-gradient(180deg, rgba(8,16,28,.25) 0%, rgba(8,16,28,0) 35%, rgba(8,16,28,.35) 100%), linear-gradient(90deg, rgba(8,16,28,.72) 0%, rgba(8,16,28,.5) 55%, rgba(8,16,28,.3) 100%), url(../../assets/images/hero-leather.webp) center / cover no-repeat #0c1c32 !important; } }
/* Frosted glass panels in the hero */
.mcm-home .mcm-hm-hero .mcm-hm-finder, .mcm-home .mcm-hm-hero .mcm-hm-trust { background: rgba(255,255,255,.05) !important; -webkit-backdrop-filter: blur(5px) saturate(130%); backdrop-filter: blur(5px) saturate(130%); border: 1px solid rgba(255,255,255,.32) !important; box-shadow: 0 10px 40px rgba(0,0,0,.28); }
.mcm-home .mcm-hm-hero .mcm-hm-finder .mcm-hm-label, .mcm-home .mcm-hm-hero .mcm-hm-finder .mcm-hm-help, .mcm-home .mcm-hm-hero .mcm-hm-finder .mcm-hm-or, .mcm-home .mcm-hm-hero .mcm-hm-trust li, .mcm-home .mcm-hm-hero .mcm-hm-trust strong, .mcm-home .mcm-hm-hero .mcm-hm-trust small { color: #fff !important; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.mcm-home .mcm-hm-hero .mcm-hm-trust svg { color: #fff !important; }
.mcm-home .mcm-hm-hero .mcm-hm-or::before, .mcm-home .mcm-hm-hero .mcm-hm-or::after, .mcm-home .mcm-hm-hero .mcm-hm-trust li { border-color: rgba(255,255,255,.3) !important; }
.mcm-home .mcm-hm-hero .mcm-hm-select { background-color: rgba(255,255,255,.94); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .mcm-home .mcm-hm-hero .mcm-hm-finder, .mcm-home .mcm-hm-hero .mcm-hm-trust { background: rgba(12,28,50,.82) !important; } }

.mcm-home .mcm-hm-hero h1, .mcm-home .mcm-hm-hero .mcm-hm-lead, .mcm-home .mcm-hm-hero .mcm-hm-eyebrow { text-shadow: 0 1px 3px rgba(0,0,0,.6), 0 2px 14px rgba(0,0,0,.4); }

.mcm-home .mcm-hm-cta { background: #187a02 !important; border-color: #187a02 !important; color: #fff !important; }
.mcm-home .mcm-hm-cta:hover, .mcm-home .mcm-hm-cta:focus { background: #126001 !important; border-color: #126001 !important; }
/* Image-led product tiles with hover transition */
.mcm-home .mcm-hm-cards { gap: 16px; }
.mcm-home .mcm-hm-card { position: relative; display: flex !important; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 22px !important; overflow: hidden; isolation: isolate; border: 0 !important; border-radius: 18px; color: #fff; background: #0f2338; box-shadow: 0 10px 30px rgba(10,24,40,.18); transition: transform .35s ease, box-shadow .35s ease; }
.mcm-home .mcm-hm-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(160deg, #1d3a5c, #0b1a2c); background-size: cover; background-position: center; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.mcm-home .mcm-hm-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,16,28,.05) 30%, rgba(8,16,28,.88) 100%); transition: background .4s ease; }
.mcm-home .mcm-hm-card--carpet::before { background-image: url(../../assets/images/tile-carpet-opt.webp); }
.mcm-home .mcm-hm-card--custom::before { background-image: url(../../assets/images/tile-personalised-opt.webp); }
.mcm-home .mcm-hm-card--rubber::before { background-image: url(../../assets/images/tile-rubber-opt.webp); }
.mcm-home .mcm-hm-card--boot::before { background-image: url(../../assets/images/tile-boot-opt.webp); }
.mcm-home .mcm-hm-card > svg { position: absolute; top: 16px; left: 16px; width: 40px; height: 40px; padding: 9px; margin: 0; border-radius: 50%; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; }
.mcm-home .mcm-hm-card h3 { color: #fff; font-size: 21px; margin: 0 0 4px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.mcm-home .mcm-hm-card p { color: rgba(255,255,255,.88); }
.mcm-home .mcm-hm-card .mcm-hm-more { color: #fff; margin-top: 10px; }
.mcm-home .mcm-hm-card .mcm-hm-more svg { transition: transform .3s ease; }
@media (hover: hover) {
  .mcm-home .mcm-hm-card p, .mcm-home .mcm-hm-card .mcm-hm-more { max-height: 0; opacity: 0; transform: translateY(10px); overflow: hidden; margin-top: 0; transition: max-height .45s ease, opacity .35s ease, transform .35s ease, margin .35s ease; }
  .mcm-home .mcm-hm-card:hover, .mcm-home .mcm-hm-card:focus-visible { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(10,24,40,.32); }
  .mcm-home .mcm-hm-card:hover::before, .mcm-home .mcm-hm-card:focus-visible::before { transform: scale(1.09); }
  .mcm-home .mcm-hm-card:hover::after, .mcm-home .mcm-hm-card:focus-visible::after { background: linear-gradient(180deg, rgba(8,16,28,.35) 0%, rgba(8,16,28,.92) 100%); }
  .mcm-home .mcm-hm-card:hover p, .mcm-home .mcm-hm-card:focus-visible p { max-height: 120px; opacity: 1; transform: none; }
  .mcm-home .mcm-hm-card:hover .mcm-hm-more, .mcm-home .mcm-hm-card:focus-visible .mcm-hm-more { max-height: 40px; opacity: 1; transform: none; margin-top: 10px; }
  .mcm-home .mcm-hm-card:hover .mcm-hm-more svg { transform: translateX(4px); }
}
/* All manufacturers button */
.mcm-home .mcm-hm-all { text-align: center; }
.mcm-home .mcm-hm-all summary { display: inline-flex !important; justify-content: center; gap: 8px; list-style: none; padding: 0 28px; border: 2px solid var(--navy); border-radius: 999px; background: #fff; font-size: 16px; transition: background .2s, color .2s; }
.mcm-home .mcm-hm-all summary::-webkit-details-marker { display: none; }
.mcm-home .mcm-hm-all summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.mcm-home .mcm-hm-all[open] summary::after { transform: rotate(225deg); }
.mcm-home .mcm-hm-all summary:hover { background: var(--navy); color: #fff; }
.mcm-home .mcm-hm-all .mcm-hm-az { justify-content: center; text-align: left; margin-top: 16px; }

/* Type-your-car helper */
.mcm-home .mcm-hm-ai{position:relative;margin:14px 0 4px}
.mcm-home .mcm-hm-ai-box{position:relative}
.mcm-home .mcm-hm-ai-box svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;opacity:.85;pointer-events:none}
.mcm-home .mcm-hm-ai-in{width:100%;box-sizing:border-box;height:50px;padding:0 14px 0 44px !important;border-radius:10px !important;border:1px solid rgba(255,255,255,.45) !important;background:rgba(255,255,255,.12) !important;color:#fff !important;font-size:16px !important}
.mcm-home .mcm-hm-ai-in::placeholder{color:rgba(255,255,255,.75)}
.mcm-home .mcm-hm-ai-in:focus{outline:2px solid #23ab03;outline-offset:1px;background:rgba(255,255,255,.2) !important}
.mcm-home .mcm-hm-ai-list{position:absolute;left:0;right:0;top:100%;z-index:30;margin:6px 0 0 !important;padding:6px !important;list-style:none;background:#fff;border-radius:10px;box-shadow:0 12px 32px rgba(0,0,0,.35);max-height:340px;overflow:auto}
.mcm-home .mcm-hm-ai-list[hidden],.mcm-home .mcm-hm-ai-none[hidden]{display:none}
.mcm-home .mcm-hm-ai-list li{margin:0 !important;padding:0 !important;list-style:none}
.mcm-home .mcm-hm-ai-list a{display:block;padding:11px 12px;border-radius:7px;color:#0b2545 !important;font-weight:600;text-decoration:none !important}
.mcm-home .mcm-hm-ai-list li.on a,.mcm-home .mcm-hm-ai-list a:hover{background:#e8f6e4;color:#14700a !important}
.mcm-home .mcm-hm-ai-none{margin:8px 0 0;color:#fff;font-size:14px;text-shadow:0 1px 2px rgba(0,0,0,.5)}

/* Personalised section: dark stage, frosted panels, motion */
.mcm-home #personalised.mcm-hm-sec{position:relative;isolation:isolate;overflow:hidden;color:#fff;border:0 !important;background:#0a1626 !important}
.mcm-home #personalised::before{content:"";position:absolute;inset:-20%;z-index:-2;background:radial-gradient(40% 50% at 12% 20%,rgba(226,35,52,.45),transparent 70%),radial-gradient(40% 50% at 88% 15%,rgba(40,110,235,.45),transparent 70%),radial-gradient(45% 55% at 70% 95%,rgba(35,171,3,.38),transparent 70%),linear-gradient(160deg,#0f2038,#07101d);background-size:140% 140%;animation:mcmAurora 16s ease-in-out infinite alternate}
.mcm-home #personalised::after{content:"";position:absolute;inset:0;z-index:-1;background:url(../../assets/images/tile-personalised-opt.webp) right center/cover no-repeat;opacity:.16;mix-blend-mode:screen}
@keyframes mcmAurora{0%{transform:translate3d(-3%,-2%,0) scale(1)}100%{transform:translate3d(3%,2%,0) scale(1.08)}}
.mcm-home #personalised h2,.mcm-home #personalised h3{color:#fff !important}
.mcm-home #personalised p{color:rgba(255,255,255,.86) !important}
.mcm-home #personalised .mcm-hm-help{color:rgba(255,255,255,.7) !important}
.mcm-home #personalised .mcm-hm-opt{background:rgba(255,255,255,.08) !important;border:1px solid rgba(255,255,255,.22) !important;-webkit-backdrop-filter:blur(12px) saturate(140%);backdrop-filter:blur(12px) saturate(140%);box-shadow:0 8px 28px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.18);transition:transform .35s ease,box-shadow .35s ease,background .35s ease,border-color .35s ease}
.mcm-home #personalised .mcm-hm-opt>svg{color:#fff;background:rgba(255,255,255,.14);border-radius:10px;padding:5px;box-sizing:content-box;transition:transform .4s ease,background .4s ease}
.mcm-home #personalised .mcm-hm-symgroups li{background:rgba(255,255,255,.12) !important;border-color:rgba(255,255,255,.3) !important;color:#fff !important;transition:background .25s ease,transform .25s ease}
.mcm-home #personalised .mcm-hm-symgroups li:hover{background:#23ab03 !important;border-color:#23ab03 !important;transform:translateY(-2px)}
@media (hover:hover){
 .mcm-home #personalised .mcm-hm-opt:hover{transform:translateY(-6px);background:rgba(255,255,255,.14) !important;border-color:rgba(255,255,255,.5) !important;box-shadow:0 20px 44px rgba(0,0,0,.4),0 0 0 1px rgba(35,171,3,.5),inset 0 1px 0 rgba(255,255,255,.3)}
 .mcm-home #personalised .mcm-hm-opt:hover>svg{transform:scale(1.12) rotate(-6deg);background:#23ab03}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.mcm-home #personalised .mcm-hm-opt{background:rgba(20,36,60,.92) !important}}
.mcm-home.mcm-js #personalised .mcm-hm-opt{opacity:0;transform:translateY(22px)}
.mcm-home.mcm-js #personalised.mcm-in .mcm-hm-opt{opacity:1;transform:none;transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease,background .35s ease,border-color .35s ease}
.mcm-home.mcm-js #personalised.mcm-in .mcm-hm-opt:nth-child(2){transition-delay:.12s,.12s,0s,0s,0s}
.mcm-home.mcm-js #personalised.mcm-in .mcm-hm-opt:nth-child(3){transition-delay:.24s,.24s,0s,0s,0s}
.mcm-home.mcm-js #personalised.mcm-in .mcm-hm-opt:nth-child(4){transition-delay:.36s,.36s,0s,0s,0s}
@media (prefers-reduced-motion:reduce){.mcm-home #personalised::before{animation:none}.mcm-home.mcm-js #personalised .mcm-hm-opt{opacity:1;transform:none}}
.mcm-home #personalised .mcm-hm-opt{grid-template-columns:38px 1fr !important;column-gap:16px !important}

/* Personalised flip cards */
.mcm-home #personalised .mcm-hm-opt{display:block !important;padding:0 !important;background:none !important;border:0 !important;box-shadow:none !important;-webkit-backdrop-filter:none;backdrop-filter:none;perspective:1200px;cursor:pointer;min-height:190px;border-radius:16px}
.mcm-home #personalised .mcm-hm-opt:hover{background:none !important;box-shadow:none !important;border:0 !important}
.mcm-home #personalised .mcm-hm-opt:focus-visible{outline:2px solid #23ab03;outline-offset:3px}
.mcm-home #personalised .mcm-hm-flip{position:relative;height:100%;min-height:190px;transform-style:preserve-3d;transition:transform .8s cubic-bezier(.3,.7,.2,1)}
.mcm-home #personalised .mcm-hm-face{position:absolute;inset:0;border-radius:16px;overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden}
.mcm-home #personalised .mcm-hm-front{display:grid;grid-template-columns:38px 1fr;column-gap:16px;row-gap:2px;align-content:start;padding:18px 20px 34px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);-webkit-backdrop-filter:blur(12px) saturate(140%);backdrop-filter:blur(12px) saturate(140%);box-shadow:0 8px 28px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.18)}
.mcm-home #personalised .mcm-hm-front>svg{grid-row:1 / span 2}
.mcm-home #personalised .mcm-hm-front .mcm-hm-symgroups{grid-column:2}
.mcm-home #personalised .mcm-hm-flipcue{position:absolute;right:16px;bottom:10px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#7fe063}
.mcm-home #personalised .mcm-hm-flipcue::after{content:" \21BB"}
.mcm-home #personalised .mcm-hm-back{transform:rotateY(180deg);background-size:cover;background-position:center;border:1px solid rgba(255,255,255,.3);box-shadow:0 14px 36px rgba(0,0,0,.45)}
.mcm-home #personalised .mcm-hm-back::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(5,12,22,.85))}
.mcm-home #personalised .mcm-hm-back span{position:absolute;left:16px;bottom:12px;z-index:1;color:#fff;font-weight:700;font-size:16px;text-shadow:0 1px 6px rgba(0,0,0,.6)}
.mcm-home #personalised .mcm-hm-opt.is-flipped .mcm-hm-flip{transform:rotateY(180deg)}
@media (hover:hover){.mcm-home #personalised .mcm-hm-opt:hover .mcm-hm-flip{transform:rotateY(180deg)}.mcm-home #personalised .mcm-hm-opt.is-flipped:hover .mcm-hm-flip{transform:none}}
.mcm-home #personalised .mcm-hm-opt:hover>svg{transform:none}
@media (min-width:700px){.mcm-home #personalised .mcm-hm-opt,.mcm-home #personalised .mcm-hm-flip{min-height:230px}}
@media (prefers-reduced-motion:reduce){.mcm-home #personalised .mcm-hm-flip{transition:none}}.mcm-home #personalised .mcm-hm-front>svg{width:28px;height:28px;color:#fff;background:rgba(255,255,255,.14);border-radius:10px;padding:5px;box-sizing:content-box;transition:transform .4s ease,background .4s ease}

/* How it works: colour stage, frosted steps, motion */
.mcm-home #how.mcm-hm-sec{position:relative;isolation:isolate;overflow:hidden;color:#fff;border:0 !important;background:#06202a !important}
.mcm-home #how::before{content:"";position:absolute;inset:-20%;z-index:-1;background:radial-gradient(40% 55% at 10% 85%,rgba(35,171,3,.5),transparent 70%),radial-gradient(40% 55% at 90% 10%,rgba(0,170,200,.5),transparent 70%),radial-gradient(35% 45% at 55% 50%,rgba(255,190,40,.18),transparent 70%),linear-gradient(150deg,#0a3a3f,#06161f);background-size:140% 140%;animation:mcmAurora 18s ease-in-out infinite alternate}
.mcm-home #how h2{color:#fff !important}
.mcm-home #how .mcm-hm-steps li{position:relative;background:rgba(255,255,255,.1) !important;border:1px solid rgba(255,255,255,.25) !important;-webkit-backdrop-filter:blur(12px) saturate(140%);backdrop-filter:blur(12px) saturate(140%);box-shadow:0 8px 28px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.2);transition:transform .35s ease,box-shadow .35s ease,background .35s ease}
.mcm-home #how .mcm-hm-steps h3{color:#fff !important}
.mcm-home #how .mcm-hm-steps p{color:rgba(255,255,255,.88) !important}
.mcm-home #how .mcm-hm-num{background:#23ab03 !important;color:#fff !important;box-shadow:0 0 0 0 rgba(35,171,3,.6);animation:mcmPulse 2.6s ease-out infinite}
.mcm-home #how .mcm-hm-steps li:nth-child(2) .mcm-hm-num{animation-delay:.5s}
.mcm-home #how .mcm-hm-steps li:nth-child(3) .mcm-hm-num{animation-delay:1s}
@keyframes mcmPulse{0%{box-shadow:0 0 0 0 rgba(35,171,3,.6)}70%,100%{box-shadow:0 0 0 14px rgba(35,171,3,0)}}
@media (hover:hover){.mcm-home #how .mcm-hm-steps li:hover{transform:translateY(-6px);background:rgba(255,255,255,.17) !important;box-shadow:0 20px 44px rgba(0,0,0,.4),0 0 0 1px rgba(35,171,3,.55),inset 0 1px 0 rgba(255,255,255,.3)}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.mcm-home #how .mcm-hm-steps li{background:rgba(8,40,48,.92) !important}}
.mcm-home.mcm-js2 #how .mcm-hm-steps li{opacity:0;transform:translateY(24px)}
.mcm-home.mcm-js2 #how.mcm-in .mcm-hm-steps li{opacity:1;transform:none;transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease,background .35s ease}
.mcm-home.mcm-js2 #how.mcm-in .mcm-hm-steps li:nth-child(2){transition-delay:.18s,.18s,0s,0s}
.mcm-home.mcm-js2 #how.mcm-in .mcm-hm-steps li:nth-child(3){transition-delay:.36s,.36s,0s,0s}
@media (min-width:700px){.mcm-home #how .mcm-hm-steps li:not(:last-child)::after{content:"";position:absolute;top:34px;left:calc(100% + 1px);width:16px;height:2px;background:linear-gradient(90deg,#23ab03,rgba(35,171,3,0));z-index:1}}
@media (prefers-reduced-motion:reduce){.mcm-home #how::before,.mcm-home #how .mcm-hm-num{animation:none}.mcm-home.mcm-js2 #how .mcm-hm-steps li{opacity:1;transform:none}}
/* Chequered flag fading in behind step 3 (the finish line) */
.mcm-home #how .mcm-hm-steps li:last-child{overflow:hidden}
.mcm-home #how .mcm-hm-steps li:last-child::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:conic-gradient(#fff 25%,transparent 0 50%,#fff 0 75%,transparent 0) 0 0/38px 38px;opacity:.15;-webkit-mask-image:linear-gradient(125deg,transparent 25%,#000 100%);mask-image:linear-gradient(125deg,transparent 25%,#000 100%)}
/* Below-the-fold sections: skip rendering (and their image downloads) until near the viewport */
.mcm-home .mcm-hm-sec{content-visibility:auto;contain-intrinsic-size:auto 700px}
