@media(max-width: 1200px) {
    html, body { overflow-x: hidden; width: 100%; position: relative; }
    .container { width: 100%; max-width: 100vw; }
    .filter-grid-row { grid-template-columns: repeat(3, 1fr); }
    .umt-blog-master-layout { grid-template-columns: 1fr 340px; gap: 30px; }
    .umt-post-card__image-container { width: 280px; min-width: 280px; }
    .umt-blog-view-layout { grid-template-columns: 1fr 340px; gap: 30px; }
    .umt-blog-view-cover { height: 380px; }
}

@media(max-width: 1024px) {
    .top-bar, .desktop-nav, .btn-header { display: none; }
    .menu-toggle { display: block; }
    .listing-car-grid { grid-template-columns: repeat(2, 1fr); }
    .vehicle-layout { flex-direction: column; gap: 40px; width: 100%; max-width: 100%; }
    .vehicle-gallery-area, .vehicle-sidebar { width: 100%; max-width: 100%; }
    .vehicle-sidebar-inner { position: static; box-shadow: none; border: 1px solid var(--border-light); border-top: 6px solid var(--primary); }
    .vehicle-main-image { height: 450px; width: 100%; }
    .vhc-cars-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .ubrand-stage { padding: 30px; }
    .ubrand-stage__inner { flex-direction: column; align-items: flex-start; gap: 25px; }
    .ubrand-stage__stats { width: 100%; justify-content: space-between; border-top: 1px solid #f1f5f9; padding-top: 25px; }
    .premium-section .text-primary, .footer .text-primary { color: #ff4d4d !important; }
    .premium-price { color: #ff4d4d !important; }
    .footer-bottom { color: #a1a1aa !important; }
    .footer-bottom a { color: #e5e7eb !important; text-decoration: underline !important; font-weight: 600 !important; }
    .section-header.dark p { color: #e5e7eb !important; }
    .premium-card { background-color: #1a1a1a !important; border-color: #333 !important; }
    .premium-info .spec { color: #d1d5db !important; }
    .v-btn-whatsapp, .whatsapp-button { background-color: #14833b !important; color: #ffffff !important; }
}

@media(max-width: 992px) {
    body { padding-bottom: 65px; }
    .blog-layout { grid-template-columns: 1fr; }
    .umt-mobile-bar { display: flex; justify-content: space-around; align-items: center; height: 65px; }
    .filter-grid-row { grid-template-columns: 1fr; }
    .btn-mobile-filter { display: flex; }
    .filter-topbox { position: fixed; top: 0; right: 0; width: 340px; max-width: 100vw; height: 100vh; z-index: 1002; transform: translateX(100%); border: none; border-radius: 0; border-left: 4px solid var(--primary); visibility: hidden; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); overflow-y: auto; padding: 25px; margin-bottom: 0; box-shadow: none; }
    .filter-topbox.active { transform: translateX(0); visibility: visible; }
    .filter-sidebar-header { display: flex; }
    .filter-wrap { padding: 0; }
    .filter-actions { flex-direction: column; align-items: stretch; gap: 20px;}
    .filter-buttons-row { flex-direction: column; }
    .btn-filter-toggle { justify-content: space-between; }
    .umt-blog-master-layout { grid-template-columns: 1fr; gap: 50px; }
    .umt-blog-sidebar-section { position: static; }
    .umt-post-card__image-container { width: 320px; min-width: 320px; }
    .umt-blog-view-layout { grid-template-columns: 1fr; gap: 50px; }
    .umt-blog-view-sidebar { position: static; }
}

@media(max-width: 768px) {
    .premium-card { min-width: 320px; width: 100% !important; margin: 0; }
    .listing-car-grid { grid-template-columns: 1fr; }
    .umt-post-card { flex-direction: column; }
    .umt-post-card__image-container { width: 100%; min-width: 100%; height: 230px; min-height: auto; }
    .umt-post-card__inner-payload { padding: 25px; }
    .umt-post-card__headline { font-size: 1.3rem; }
    .umt-blog-view-content { padding: 30px; border-radius: 16px; overflow: hidden; }
    .umt-blog-view-title { font-size: 1.8rem; }
    .umt-blog-view-cover { height: 280px; margin-bottom: 25px; }
    .mtform-row { grid-template-columns: 1fr; }
    .afp-grid-2 { grid-template-columns: 1fr; }
    .vehicle-main-image { height: 350px; }
    .vehicle-breadcrumbs { font-size: 0.8rem; padding: 20px 0; }
    .vehicle-thumbnail-track { max-width: 100%; width: 100%; padding-bottom: 5px; margin-bottom: 30px; }
    #custom-lightbox img { max-width: 95vw; max-height: 75vh; }
    .lightbox-nav { width: 44px; height: 44px; }
    .lightbox-nav.prev { left: 10px; }
    .lightbox-nav.next { right: 10px; }
    .lightbox-close { top: 15px; right: 15px; font-size: 30px; padding: 5px; }
}

@media(max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
    .blog-item { flex-direction: column; align-items: flex-start; }
    .blog-item img { width: 100%; height: 200px;}
    .vehicle-main-image { height: 250px; border-radius: 8px; width: 100%; }
    .vehicle-title { font-size: 1.3rem; }
    .vehicle-price { font-size: 2.2rem; }
    .vehicle-features-grid { grid-template-columns: 1fr; width: 100%; overflow: hidden; }
    .vehicle-content-blocks { width: 100%; overflow: hidden; }
    .vehicle-sidebar-inner { padding: 20px; width: 100%; }
    .vehicle-spec-row-group { flex-direction: column; gap: 0; border-bottom: none; padding: 0; }
    .vehicle-spec-col { width: 100%; justify-content: space-between; border-bottom: 1px solid var(--border-light); padding: 14px 0; }
    .vehicle-spec-col:last-child { border-bottom: none; }
    .vehicle-actions .v-btn { width: 100%; justify-content: center; }
    .thumb-item { min-width: 90px; height: 65px; }
    .vhc-cars-grid { grid-template-columns: 1fr; gap: 25px; }
    .ubrand-stage { padding: 25px 20px; border-radius: 16px; margin: 25px 0; }
    .ubrand-stage__left { gap: 15px; }
    .ubrand-stage__logo-wrapper { width: 75px; height: 75px; border-radius: 12px; }
    .ubrand-stage__title { font-size: 2.2rem; }
    .ubrand-stage__stats { flex-direction: column; gap: 15px; }
    .ubrand-stage__stat-icon-box { width: 54px; height: 54px; border-radius: 12px; }
    .ubrand-stage__stat-icon-box .material-icons-round { font-size: 1.5rem; }
    .vhc-car-card__img-block { height: 220px; }
    .vhc-car-card__bottom { padding: 25px; }
    .umt-popup-toast__core { width: auto; max-width: calc(100vw - 30px); }
    .umt-popup-toast__glow-wrap, #buy-popup-notification { left: 15px; right: 15px; }
    #sell-popup-notification { top: auto; bottom: 120px; transform: translateY(150%); }
    #buy-popup-notification { bottom: 30px; transform: translateY(150%); }
    .calc-form-row { grid-template-columns: 1fr; }
    .afp-stepper-text { display: none; }
    .afp-stepper { padding: 20px; }
    .afp-step { padding: 25px 20px; overflow: hidden; width: 100%; }
    .afp-btn-row { flex-direction: column-reverse; gap: 15px; }
    .afp-btn { width: 100%; }
    .gallery-nav { width: 32px; height: 32px; }
    .gallery-nav.prev { left: 5px; }
    .gallery-nav.next { right: 5px; }
    .vehicle-gallery-counter { padding: 4px 12px; font-size: 0.75rem; bottom: 10px; right: 10px; }
    #custom-lightbox img { max-width: 100vw; max-height: 60vh; }
    .lightbox-nav { width: 36px; height: 36px; }
    .lightbox-nav.prev { left: 5px; }
    .lightbox-nav.next { right: 5px; }
    .lightbox-close { top: 10px; right: 10px; font-size: 24px; padding: 5px; }
    .premium-card { width: 100% !important; margin: 0; }
}

@media(max-width: 480px) {
    .umt-main-blog-container { padding-top: 20px; }
    .umt-post-card__inner-payload { padding: 20px; }
    .umt-archive-pagination-block { justify-content: center; }
    .premium-section { padding: 40px 0; }
    .premium-img-wrap { height: 180px; }
    .premium-title { font-size: 1rem; }
    .car-specs { grid-template-columns: 1fr; }
}