.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; }
@media (max-width: 560px) {
.mdf-hero { padding: 1.5rem; }
.mdf-hero-stats { gap: 1.2rem; }
.mdf-hero-stat span { font-size: 1.5rem; }
} .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-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; white-space: nowrap;
}
.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; 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: linear-gradient(to right, #ddd 0%, #e63946 0%, #e63946 100%, #ddd 100%);
pointer-events: none;
}
.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-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-badge {
position: absolute; top: 8px; left: 8px; font-size: 11px; font-weight: 700;
text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 4px;
}
.mdf-badge-new  { background: #d4edda; color: #155724; }
.mdf-badge-used { background: #fff3cd; color: #856404; }
.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; margin-top: 2px; }
.mdf-modal-internalnr { font-size: 13px; color: #888; margin: 2px 0 8px; }
.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: #e63946; color: #fff; border: none; border-radius: 6px;
padding: 7px 14px; font-size: 13px; font-weight: 600; cursor: pointer;
font-family: inherit; transition: background .15s;
}
.mdf-btn-detail:hover { background: #c1121f; } .mdf-modal-overlay {
position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 99999;
display: flex; align-items: flex-start; justify-content: center;
padding: 20px; overflow-y: auto;
}
.mdf-modal {
background: #fff; border-radius: 12px; width: 100%; max-width: 1000px;
position: relative; margin: auto;
}
.mdf-modal-close {
position: absolute; top: 12px; right: 12px; z-index: 10;
background: rgba(0,0,0,0.5); color: #fff; border: none;
width: 34px; height: 34px; border-radius: 50%; font-size: 16px;
cursor: pointer; display: flex; align-items: center; justify-content: center;
transition: background .15s;
}
.mdf-modal-close:hover { background: rgba(0,0,0,0.8); } .mdf-modal-gallery { border-radius: 12px 12px 0 0; overflow: hidden; background: #111; }
.mdf-gal-main {
position: relative; background: #111;
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-gal-thumb {
width: 72px; height: 50px; object-fit: cover; border-radius: 4px;
cursor: pointer; opacity: 0.6; transition: opacity .15s; flex-shrink: 0;
border: 2px solid transparent;
}
.mdf-gal-thumb.active, .mdf-gal-thumb:hover { opacity: 1; border-color: #e63946; }
.mdf-modal-no-img { height: 200px; display: flex; align-items: center; justify-content: center; color: #aaa; } .mdf-modal-scroll { padding: 24px; }
.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 10px; }
.mdf-modal-price-big { font-size: 28px; font-weight: 800; color: #1a1a2e; }
.mdf-price-vat { font-size: 13px; font-weight: 400; color: #888; margin-left: 8px; } .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: 13px; 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-co2-badge-inline {
display: inline-block; color: #fff; font-weight: 700; font-size: 13px;
padding: 2px 10px; border-radius: 4px;
} .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; margin-bottom: 4px;
}
.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; font-size: 12px; }
.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; transition: opacity .15s;
font-family: inherit; border: none; cursor: pointer;
background: #1a1a2e; color: #fff !important;
}
.mdf-btn-phone:hover, .mdf-btn-email:hover { opacity: .85; color: #fff !important; text-decoration: none; } @media (max-width: 720px) {
.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-modal-scroll { padding: 16px; }
.mdf-modal-price-big { font-size: 22px; }
.mdf-spec-label { width: 130px; }
.mdf-grid { grid-template-columns: 1fr; }
}