.mdf-wrap { font-family: inherit; color: #333; } .mdf-hero {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
border-radius: 12px; padding: 2rem 2.5rem; margin-bottom: 24px;
color: #fff; position: relative; overflow: hidden;
}
.mdf-hero::before {
content: ''; position: absolute; inset: 0;
background: radial-gradient(ellipse at 80% 50%, rgba(230,57,70,0.15) 0%, transparent 65%);
}
.mdf-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; }
.mdf-hero-title { font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 800; margin: 0 0 6px; letter-spacing: -0.02em; color: #fff !important; }
.mdf-hero-sub   { font-size: 0.95rem; color: rgba(255,255,255,0.65); margin: 0; }
.mdf-hero-stats { display: flex; gap: 2rem; flex-shrink: 0; }
.mdf-hero-stat  { text-align: center; }
.mdf-hero-stat span  { display: block; font-size: 2rem; font-weight: 800; color: #e63946; line-height: 1; }
.mdf-hero-stat label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,0.5); margin-top: 4px; display: block; } .mdf-legal {
background: #f8f8f6; border: 1px solid #e0ddd5; border-radius: 6px;
padding: 10px 16px; font-size: 12px; color: #888; line-height: 1.5; margin-bottom: 20px;
}
.mdf-legal a { color: #e63946; } .mdf-filters {
display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
margin-bottom: 20px; padding: 14px 16px;
background: #fff; border: 1px solid #e0ddd5; border-radius: 8px;
}
.mdf-filters select {
border: 1px solid #ddd; border-radius: 6px; padding: 7px 12px;
font-size: 14px; background: #f9f9f9; color: #333; cursor: pointer;
font-family: inherit; transition: border-color .15s;
}
.mdf-filters select:focus { border-color: #e63946; outline: none; }
.mdf-count { font-size: 13px; color: #999; margin-left: auto; }
.mdf-btn-reset {
padding: 7px 14px; border: 1px solid #ddd; border-radius: 6px;
background: transparent; color: #999; font-size: 13px; cursor: pointer;
font-family: inherit; transition: all .15s;
}
.mdf-btn-reset:hover { border-color: #e63946; color: #e63946; } .mdf-price-range { display: flex; flex-direction: column; gap: 6px; min-width: 200px; flex: 1; }
.mdf-price-range-label { font-size: 13px; color: #444; font-weight: 600; }
.mdf-price-range-label span { color: #e63946; }
.mdf-price-range-sliders { position: relative; height: 28px; }
.mdf-price-range-sliders input[type=range] {
position: absolute; width: 100%; top: 50%; transform: translateY(-50%);
-webkit-appearance: none; appearance: none; height: 4px;
background: transparent; outline: none; pointer-events: none; border: none; padding: 0; margin: 0;
}
.mdf-price-range-sliders input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
background: #e63946; cursor: pointer; pointer-events: all;
border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.mdf-price-range-sliders input[type=range]::-moz-range-thumb {
width: 16px; height: 16px; border-radius: 50%;
background: #e63946; cursor: pointer; pointer-events: all;
border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.mdf-price-range-track {
position: absolute; top: 50%; transform: translateY(-50%);
height: 4px; width: 100%; border-radius: 2px;
background: #ddd; pointer-events: none;
} .mdf-status { text-align: center; padding: 48px 20px; color: #999; font-size: 15px; }
.mdf-spinner {
width: 36px; height: 36px; border: 3px solid #eee; border-top-color: #e63946;
border-radius: 50%; animation: mdf-spin .8s linear infinite; margin: 0 auto 12px;
}
@keyframes mdf-spin { to { transform: rotate(360deg); } } .mdf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; } .mdf-card {
background: #fff; border: 1px solid #e8e6e0; border-radius: 10px;
overflow: hidden; cursor: pointer; transition: box-shadow .2s, transform .2s;
display: flex; flex-direction: column;
}
.mdf-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); transform: translateY(-2px); }
.mdf-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #f0efeb; }
.mdf-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; display: block; }
.mdf-card:hover .mdf-card-img img { transform: scale(1.04); }
.mdf-no-img { width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:#bbb; font-size:13px; }
.mdf-card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.mdf-card-make { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #e63946; }
.mdf-card-title { font-size: 16px; font-weight: 600; line-height: 1.25; color: #1a1a2e; }
.mdf-internal-nr { font-size: 11px; color: #999; }
.mdf-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.mdf-tag { background: #f0f0f5; color: #666; font-size: 11px; padding: 3px 8px; border-radius: 4px; font-weight: 500; }
.mdf-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid #eee; }
.mdf-price { font-size: 20px; font-weight: 700; color: #1a1a2e; line-height: 1.2; }
.mdf-price small { font-size: 11px; font-weight: 400; color: #999; display: block; margin-top: 1px; }
.mdf-btn-detail {
background: #1a1a2e; color: #fff !important; border: none; border-radius: 6px;
padding: 7px 14px; font-size: 13px; font-weight: 600; cursor: pointer;
font-family: inherit; transition: opacity .15s;
}
.mdf-btn-detail:hover { opacity: .85; } #mdf-overlay { padding-top: 30px; } .mdf-gal-main {
position: relative; background: #111; border-radius: 12px 12px 0 0;
display: flex; align-items: center; justify-content: center; height: 420px;
}
.mdf-gal-main img { max-width: 100%; max-height: 420px; object-fit: contain; display: block; }
.mdf-gal-prev, .mdf-gal-next {
position: absolute; top: 50%; transform: translateY(-50%);
background: rgba(0,0,0,0.5); color: #fff; border: none;
width: 44px; height: 44px; border-radius: 50%; font-size: 24px;
cursor: pointer; display: flex; align-items: center; justify-content: center;
transition: background .15s; z-index: 2;
}
.mdf-gal-prev { left: 12px; }
.mdf-gal-next { right: 12px; }
.mdf-gal-prev:hover, .mdf-gal-next:hover { background: rgba(0,0,0,0.85); }
.mdf-gal-counter {
position: absolute; bottom: 10px; right: 14px;
background: rgba(0,0,0,0.6); color: #fff; font-size: 12px;
padding: 3px 10px; border-radius: 12px;
}
.mdf-gal-thumbs {
display: flex; gap: 4px; padding: 6px 8px; background: #1a1a1a;
overflow-x: auto; scrollbar-width: thin;
} .mdf-modal-header { margin-bottom: 20px; }
.mdf-modal-make { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #e63946; margin-bottom: 4px; }
.mdf-modal-title { font-size: 22px; font-weight: 700; color: #1a1a2e; margin: 0 0 6px; }
.mdf-modal-internalnr { font-size: 13px; color: #888; margin-bottom: 8px; }
.mdf-modal-price-big { font-size: 28px; font-weight: 800; color: #1a1a2e; }
.mdf-modal-two-col { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.mdf-modal-main { min-width: 0; }
.mdf-modal-sidebar { position: sticky; top: 20px; } .mdf-specs-table { border: 1px solid #e8e6e0; border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.mdf-spec-row { display: flex; padding: 10px 14px; border-bottom: 1px solid #f0efeb; font-size: 14px; }
.mdf-spec-row:last-child { border-bottom: none; }
.mdf-spec-row:nth-child(even) { background: #fafaf8; }
.mdf-spec-label { color: #666; width: 160px; flex-shrink: 0; }
.mdf-spec-val { color: #1a1a2e; font-weight: 600; } .mdf-envkv { background: #f0f8ff; border: 1px solid #bee3f8; border-radius: 8px; padding: 14px 16px; margin-bottom: 20px; }
.mdf-envkv-title { font-size: 12px; font-weight: 700; color: #1a4a6e; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; }
.mdf-envkv-row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; border-bottom: 1px solid #d0e8f8; }
.mdf-envkv-row:last-child { border-bottom: none; }
.mdf-envkv-sub span { padding-left: 16px; color: #2c6a8f; }
.mdf-envkv-sub span::before { content: "\21B3 "; color: #9bc4dd; }
.mdf-envkv-label { padding-top: 12px; }
.mdf-envkv-label img { max-width: 340px; width: 100%; height: auto; display: block; }
.mdf-envkv-label-fallback { font-weight: 700; color: #1a4a6e; } .mdf-section-title { font-size: 15px; font-weight: 700; color: #1a1a2e; margin: 20px 0 10px; padding-bottom: 6px; border-bottom: 2px solid #e63946; }
.mdf-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.mdf-feature-item { background: #f8f8f6; border: 1px solid #e8e6e0; border-radius: 6px; padding: 5px 12px; font-size: 13px; color: #444; } .mdf-modal-desc { font-size: 14px; color: #555; line-height: 1.7; white-space: pre-wrap; } .mdf-contact-box { background: #fff; border: 2px solid #e8e6e0; border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.mdf-contact-header { font-size: 15px; font-weight: 700; color: #1a1a2e; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.mdf-contact-dealer { font-size: 13px; color: #555; line-height: 1.7; }
.mdf-contact-dealer strong { color: #1a1a2e; font-size: 14px; }
.mdf-contact-hours { font-size: 12px; color: #555; line-height: 1.8; background: #f8f8f6; border-radius: 6px; padding: 8px 12px; border-left: 3px solid #e63946; }
.mdf-contact-hours strong { color: #1a1a2e; }
.mdf-btn-phone, .mdf-btn-email {
display: block; text-align: center; border-radius: 8px; padding: 11px 16px;
font-weight: 700; font-size: 14px; text-decoration: none !important;
transition: opacity .15s; background: #1a1a2e; color: #fff !important; border: none; cursor: pointer;
}
.mdf-btn-phone:hover, .mdf-btn-email:hover { opacity: .85; } .mdf-inq-form { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #eee; padding-top: 12px; margin-top: 2px; }
.mdf-inq-title { font-size: 13px; font-weight: 700; color: #1a1a2e; }
.mdf-inq-in {
width: 100%; box-sizing: border-box; font-size: 14px; font-family: inherit;
padding: 9px 11px; border: 1px solid #d8d6d0; border-radius: 7px; background: #fff; color: #1a1a2e;
}
.mdf-inq-in:focus { border-color: #e63946; outline: none; }
textarea.mdf-inq-in { resize: vertical; min-height: 64px; }
.mdf-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.mdf-inq-consent { font-size: 12px; color: #666; line-height: 1.5; display: flex; gap: 8px; align-items: flex-start; }
.mdf-inq-consent input { margin: 2px 0 0; flex: 0 0 auto; }
.mdf-inq-consent-txt { flex: 1 1 auto; min-width: 0; }
.mdf-inq-consent a { color: #e63946; }
.mdf-inq-msg { display: none; font-size: 13px; border-radius: 7px; padding: 9px 11px; line-height: 1.45; }
.mdf-inq-ok  { background: #e8f5e9; color: #1b5e20; border: 1px solid #b7dfba; }
.mdf-inq-err { background: #fdecea; color: #9b2226; border: 1px solid #f3b9b4; }
.mdf-btn-email[disabled] { opacity: .6; cursor: default; } @media (max-width: 720px) {
.mdf-hero { padding: 1.5rem; }
.mdf-hero-stats { gap: 1.2rem; }
.mdf-hero-stat span { font-size: 1.5rem; }
.mdf-modal-two-col { grid-template-columns: 1fr; }
.mdf-modal-sidebar { position: static; }
.mdf-gal-main { height: 240px; }
.mdf-gal-main img { max-height: 240px; }
.mdf-spec-label { width: 130px; }
.mdf-grid { grid-template-columns: 1fr; }
} .mdf-adw{max-width:1180px;margin:0 auto 28px;}
.mdf-adw-hero{position:relative;width:100%;aspect-ratio:16/7;max-height:70vh;overflow:hidden;background:#000;border-radius:12px;}
.mdf-adw-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.mdf-adw-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.6),rgba(0,0,0,.15));}
.mdf-adw-content{position:absolute;left:0;bottom:0;z-index:2;padding:clamp(16px,4vw,48px);color:#fff;max-width:680px;}
.mdf-adw-title{margin:0 0 .25em;font-size:clamp(1.6rem,4vw,3rem);font-weight:800;line-height:1.05;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.55);}
.mdf-adw-sub{margin:0 0 1em;font-size:clamp(1rem,2vw,1.35rem);color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.55);}
.mdf-adw-btn{display:inline-block;background:#e63946;color:#fff;text-decoration:none;font-weight:700;padding:.7em 1.6em;border-radius:8px;transition:transform .15s,background .15s;}
.mdf-adw-btn:hover{background:#c92d3a;transform:translateY(-1px);color:#fff;}
.mdf-adw-legal{margin:0;padding:12px 16px;background:#f2f2f2;color:#222;font-size:.85rem;line-height:1.45;border-radius:0 0 12px 12px;border-top:1px solid #ddd;}
@media(max-width:600px){.mdf-adw-hero{aspect-ratio:16/10;}}