/* ==========================================
   CSS VARIABLES & DESIGN SYSTEM (55 CARROS)
   ========================================== */
:root {
    --m55-green: #2ebd59;          /* Premium Light Green */
    --m55-green-hover: #229946;    /* Darker Green for hover */
    --m55-green-light: rgba(46, 189, 89, 0.08); /* Light tint background */
    --m55-black: #000000;          /* Strict black for core text */
    --m55-dark: #1e293b;           /* Dark slate for secondary headings */
    --m55-grey: #64748b;           /* Slate grey for descriptions/meta */
    --m55-light-grey: #f8fafc;     /* Light slate grey background */
    --m55-border: #e2e8f0;         /* Fine border line */
    --m55-white: #ffffff;          /* Pure white */
    
    --m55-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --m55-font-headings: 'Outfit', sans-serif;
    
    --m55-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --m55-shadow-md: 0 10px 25px rgba(0, 0, 0, 0.06);
    --m55-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    
    --m55-radius-sm: 6px;
    --m55-radius-md: 12px;
    --m55-radius-lg: 16px;
    
    --m55-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Wrapper Reset */
.carros55-container {
    font-family: var(--m55-font-body);
    color: var(--m55-black);
    background-color: var(--m55-white);
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.carros55-container * {
    box-sizing: border-box;
}

/* Header Section */
.carros55-header-section {
    text-align: left;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--m55-border);
    padding-bottom: 18px;
}

.carros55-header-section h2 {
    font-family: var(--m55-font-headings);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--m55-black);
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}

.carros55-subtitle {
    font-size: 1.05rem;
    color: var(--m55-grey);
    margin: 0;
}

/* ==========================================
   SEARCH AND FILTERS BAR
   ========================================== */
.carros55-search-bar-wrapper {
    background-color: var(--m55-light-grey);
    border: 1px solid var(--m55-border);
    border-radius: var(--m55-radius-md);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--m55-shadow-sm);
}

.carros55-frontend-search-form {
    width: 100%;
}

.carros55-search-inputs-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
    gap: 15px;
    align-items: flex-end;
}

.carros55-search-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.carros55-search-field label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--m55-grey);
    display: flex;
    align-items: center;
    gap: 6px;
}

.carros55-search-field label i {
    color: var(--m55-green);
}

.carros55-search-field input[type="text"],
.carros55-search-field input[type="number"],
.carros55-search-field select {
    width: 100%;
    height: 42px;
    padding: 10px 14px;
    border-radius: var(--m55-radius-sm);
    border: 1px solid var(--m55-border);
    background-color: var(--m55-white);
    font-size: 0.9rem;
    color: var(--m55-black);
    outline: none;
    transition: var(--m55-transition);
}

.carros55-search-field input:focus,
.carros55-search-field select:focus {
    border-color: var(--m55-green);
    box-shadow: 0 0 0 2px var(--m55-green-light);
}

/* Dual Input fields (price Min/Max) */
.carros55-dual-inputs {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.carros55-dual-inputs input {
    flex: 1;
    min-width: 0; /* Prevents overflow in narrow containers */
}

.range-divider {
    color: var(--m55-grey);
    font-weight: 600;
}

/* Search Actions */
.carros55-search-actions {
    display: flex;
    gap: 8px;
    height: 42px;
}

.carros55-btn-search {
    background-color: var(--m55-green);
    color: var(--m55-white);
    border: none;
    border-radius: var(--m55-radius-sm);
    padding: 0 20px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--m55-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
}

.carros55-btn-search:hover {
    background-color: var(--m55-green-hover);
}

.carros55-btn-clear {
    background-color: var(--m55-white);
    color: var(--m55-grey);
    border: 1px solid var(--m55-border);
    border-radius: var(--m55-radius-sm);
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--m55-transition);
    text-decoration: none !important;
}

.carros55-btn-clear:hover {
    color: #dc2626;
    border-color: #dc2626;
    background-color: #fef2f2;
}


/* ==========================================
   MARKETPLACE GRID SYSTEM (4 COLUMNS)
   ========================================== */
.carros55-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.carros55-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    outline: none;
}

.carros55-card {
    background-color: var(--m55-white);
    border: 1px solid var(--m55-border);
    border-radius: var(--m55-radius-md);
    overflow: hidden;
    box-shadow: var(--m55-shadow-sm);
    transition: var(--m55-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.carros55-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--m55-shadow-md);
    border-color: var(--m55-green);
}

/* 4:3 Image ratio for previewing cars */
.carros55-card-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%;
    background-color: var(--m55-light-grey);
    overflow: hidden;
}

.carros55-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carros55-card:hover .carros55-card-image {
    transform: scale(1.06);
}

/* Category Badge overlay on image */
.carros55-card-badge-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--m55-white);
    color: var(--m55-black);
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    border: 1px solid var(--m55-border);
    box-shadow: var(--m55-shadow-sm);
    z-index: 5;
}

/* Card Info Panel */
.carros55-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.carros55-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--m55-dark);
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.carros55-card-price {
    font-family: var(--m55-font-headings);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--m55-black);
    margin: 0 0 16px 0;
}

.carros55-card-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--m55-grey);
    border-top: 1px solid var(--m55-border);
    padding-top: 10px;
}

.carros55-card-city {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
    font-weight: 500;
}

.carros55-card-city i {
    color: var(--m55-green);
    margin-right: 3px;
}

.carros55-card-code {
    background-color: var(--m55-light-grey);
    border: 1px solid var(--m55-border);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    color: var(--m55-black);
}

/* ==========================================
   GOOGLE STYLE PAGINATION
   ========================================== */
.carros55-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.carros55-pagination .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 20px;
    border: 1px solid var(--m55-border);
    background-color: var(--m55-white);
    color: var(--m55-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--m55-transition);
}

.carros55-pagination .page-numbers:hover {
    border-color: var(--m55-green);
    background-color: var(--m55-green-light);
    color: var(--m55-green);
}

.carros55-pagination .page-numbers.current {
    background-color: var(--m55-green);
    color: var(--m55-white);
    border-color: var(--m55-green);
}

.carros55-pagination .page-numbers.dots {
    border: none;
    background: none;
    color: var(--m55-grey);
    padding: 0 4px;
}

.carros55-pagination .page-numbers.prev,
.carros55-pagination .page-numbers.next {
    font-size: 0.85rem;
    border-radius: 20px;
}

.carros55-no-ads {
    text-align: center;
    padding: 50px 20px;
    font-size: 1.05rem;
    color: var(--m55-grey);
    border: 2px dashed var(--m55-border);
    border-radius: var(--m55-radius-md);
    background-color: var(--m55-light-grey);
}

.carros55-error-box {
    max-width: 450px;
    margin: 60px auto;
    padding: 30px;
    text-align: center;
    border-radius: var(--m55-radius-md);
    border: 1px solid var(--m55-border);
    box-shadow: var(--m55-shadow-md);
    background-color: var(--m55-white);
}

.carros55-error-box h3 {
    margin: 0 0 10px 0;
    color: var(--m55-black);
}

.carros55-error-box p {
    color: var(--m55-grey);
    margin-bottom: 20px;
}

/* ==========================================
   DETAIL VIEW PAGE
   ========================================== */
.carros55-detail-container {
    background-color: var(--m55-white);
    margin-top: 20px;
}

.carros55-detail-nav {
    margin-bottom: 20px;
}

.carros55-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    color: var(--m55-black) !important;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--m55-transition);
    padding: 8px 14px;
    border-radius: var(--m55-radius-sm);
    background-color: var(--m55-light-grey);
    border: 1px solid var(--m55-border);
}

.carros55-btn-back:hover {
    background-color: var(--m55-green-light);
    color: var(--m55-green) !important;
    border-color: var(--m55-green);
}

.carros55-detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Left Side: 640x480 Image Slider Gallery */
.carros55-detail-gallery {
    width: 100%;
}

.carros55-slider-container {
    position: relative;
    width: 100%;
    max-width: 640px;
    height: 480px;
    background-color: var(--m55-light-grey);
    border-radius: var(--m55-radius-lg);
    overflow: hidden;
    box-shadow: var(--m55-shadow-md);
    margin: 0 auto;
    border: 1px solid var(--m55-border);
}

.carros55-slider-placeholder {
    width: 100%;
    max-width: 640px;
    height: 480px;
    background-color: var(--m55-light-grey);
    border-radius: var(--m55-radius-lg);
    overflow: hidden;
    border: 1px solid var(--m55-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carros55-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.carros55-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    transform: scale(0.97);
    pointer-events: none;
    z-index: 1;
    cursor: zoom-in;
}

.carros55-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

.carros55-slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider arrows and indicators */
.carros55-slider-prev,
.carros55-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--m55-black);
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--m55-shadow-sm);
    transition: var(--m55-transition);
}

.carros55-slider-prev:hover,
.carros55-slider-next:hover {
    background-color: var(--m55-green);
    color: var(--m55-white);
    box-shadow: var(--m55-shadow-md);
}

.carros55-slider-prev {
    left: 12px;
}

.carros55-slider-next {
    right: 12px;
}

.carros55-slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 6px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 15px;
    backdrop-filter: blur(4px);
}

.carros55-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--m55-transition);
}

.carros55-slider-dot.active {
    background-color: var(--m55-green);
    transform: scale(1.2);
}

/* Right Side: Details Card */
.carros55-detail-info {
    width: 100%;
}

.carros55-detail-card {
    background-color: var(--m55-white);
    border: 1px solid var(--m55-border);
    border-radius: var(--m55-radius-lg);
    padding: 24px;
    box-shadow: var(--m55-shadow-md);
}

.carros55-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.carros55-badge-code {
    background-color: var(--m55-light-grey);
    border: 1px solid var(--m55-border);
    padding: 4px 10px;
    border-radius: var(--m55-radius-sm);
    font-weight: 700;
    font-size: 0.8rem;
}

.carros55-detail-date {
    font-size: 0.8rem;
    color: var(--m55-grey);
}

.carros55-detail-date i {
    margin-right: 4px;
}

.carros55-detail-title {
    font-family: var(--m55-font-headings);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--m55-black);
    margin: 0 0 12px 0;
    line-height: 1.25;
}

.carros55-detail-price {
    font-family: var(--m55-font-headings);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--m55-green);
    margin: 0 0 16px 0;
}

.carros55-divider {
    border: 0;
    height: 1px;
    background-color: var(--m55-border);
    margin: 20px 0;
}

/* Details list fields */
.carros55-fields-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.carros55-field-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.carros55-field-label {
    font-weight: 700;
    color: var(--m55-grey);
    width: 130px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.carros55-field-label i {
    color: var(--m55-green);
    width: 14px;
    text-align: center;
}

.carros55-field-value {
    color: var(--m55-black);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.star-yellow {
    color: #eab308;
}

/* Description Section */
.carros55-detail-description h3 {
    font-family: var(--m55-font-headings);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--m55-black);
}

.carros55-description-content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #334155;
}

/* Technical Specifications Table */
.carros55-technical-specs h3 {
    font-family: var(--m55-font-headings);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--m55-black);
}

.carros55-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.carros55-specs-table th,
.carros55-specs-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--m55-border);
    text-align: left;
}

.carros55-specs-table th {
    font-weight: 700;
    color: var(--m55-grey);
    width: 35%;
    background-color: var(--m55-light-grey);
}

.carros55-specs-table td {
    color: var(--m55-black);
    font-weight: 500;
}

/* Call To Action Container */
.carros55-cta-container {
    margin-top: 24px;
}

.carros55-btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--m55-green);
    color: var(--m55-white) !important;
    text-decoration: none !important;
    padding: 15px 20px;
    border-radius: var(--m55-radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 6px 18px rgba(46, 189, 89, 0.25);
    transition: var(--m55-transition);
    border: none;
    width: 100%;
    cursor: pointer;
    text-align: center;
}

.carros55-btn-whatsapp:hover {
    background-color: var(--m55-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46, 189, 89, 0.35);
}

.carros55-btn-whatsapp i {
    font-size: 1.4rem;
}

/* Interaction Bar: Likes & Report */
.carros55-interaction-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

.carros55-btn-like,
.carros55-btn-report {
    background: none;
    border: 1px solid var(--m55-border);
    border-radius: var(--m55-radius-sm);
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--m55-grey);
    cursor: pointer;
    transition: var(--m55-transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.carros55-btn-like:hover {
    color: var(--m55-green);
    border-color: var(--m55-green);
    background-color: var(--m55-green-light);
}

.carros55-btn-report {
    border-color: transparent;
    opacity: 0.7;
}

.carros55-btn-report:hover {
    color: #dc2626;
    background-color: #fef2f2;
    opacity: 1;
}

/* Social Share section */
.carros55-share-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    border-top: 1px solid var(--m55-border);
    padding-top: 15px;
}

.share-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--m55-grey);
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-size: 0.85rem;
    color: var(--m55-white);
    transition: var(--m55-transition);
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.share-wa { background-color: #25d366; color: #fff !important; }
.share-fb { background-color: #1877f2; color: #fff !important; }
.share-tw { background-color: #000000; color: #fff !important; }
.share-copy { background-color: var(--m55-grey); color: #fff !important; }

/* ==========================================
   LIGHTBOX MODAL & REPORT POPUP
   ========================================== */
/* Lightbox zoom */
.carros55-lightbox {
    display: none;
    position: fixed;
    z-index: 999999;
    padding-top: 30px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.93);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: zoom-out;
}

.carros55-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.carros55-lightbox-content-wrapper {
    position: relative;
    max-width: 85%;
    max-height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carros55-lightbox-content {
    margin: auto;
    display: block;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--m55-radius-md);
    box-shadow: var(--m55-shadow-lg);
    transform: scale(0.96);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carros55-lightbox.active .carros55-lightbox-content {
    transform: scale(1);
}

.carros55-lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #e2e8f0;
    font-size: 36px;
    font-weight: bold;
    transition: 0.2s;
    cursor: pointer;
    z-index: 1000000;
}

.carros55-lightbox-close:hover {
    color: var(--m55-green);
}

/* Report modal overlay & box */
.carros55-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.carros55-modal-box {
    background-color: var(--m55-white);
    width: 100%;
    max-width: 480px;
    border-radius: var(--m55-radius-md);
    box-shadow: var(--m55-shadow-lg);
    overflow: hidden;
    animation: carros55-modal-fade 0.3s ease-out;
}

@keyframes carros55-modal-fade {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.carros55-modal-header {
    background-color: var(--m55-light-grey);
    border-bottom: 1px solid var(--m55-border);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carros55-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-family: var(--m55-font-headings);
    font-weight: 700;
    color: var(--m55-black);
    display: flex;
    align-items: center;
    gap: 8px;
}

.carros55-modal-header h3 i {
    color: #dc2626;
}

.carros55-modal-close-btn {
    border: none;
    background: none;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--m55-grey);
    transition: var(--m55-transition);
}

.carros55-modal-close-btn:hover {
    color: var(--m55-black);
}

.carros55-modal-box form {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.carros55-modal-box form .carros55-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.carros55-modal-box form .carros55-form-group label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--m55-grey);
}

.carros55-modal-box form .carros55-form-group input,
.carros55-modal-box form .carros55-form-group textarea {
    padding: 10px 12px;
    border-radius: var(--m55-radius-sm);
    border: 1px solid var(--m55-border);
    background-color: var(--m55-white);
    outline: none;
    font-size: 0.9rem;
    transition: var(--m55-transition);
    font-family: inherit;
}

.carros55-modal-box form .carros55-form-group input:focus,
.carros55-modal-box form .carros55-form-group textarea:focus {
    border-color: var(--m55-green);
    box-shadow: 0 0 0 2px var(--m55-green-light);
}

.carros55-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.carros55-btn-submit-report {
    background-color: #dc2626;
    color: var(--m55-white);
    border: none;
    border-radius: var(--m55-radius-sm);
    padding: 10px 18px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--m55-transition);
}

.carros55-btn-submit-report:hover {
    background-color: #b91c1c;
}

.carros55-btn-cancel-report {
    background-color: var(--m55-white);
    color: var(--m55-grey);
    border: 1px solid var(--m55-border);
    border-radius: var(--m55-radius-sm);
    padding: 10px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--m55-transition);
}

.carros55-btn-cancel-report:hover {
    background-color: var(--m55-light-grey);
    color: var(--m55-black);
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
    .carros55-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .carros55-search-inputs-grid {
        grid-template-columns: 1fr 1fr;
    }
    .carros55-search-actions {
        grid-column: span 2;
        justify-content: flex-end;
    }
}

@media (max-width: 768px) {
    .carros55-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .carros55-detail-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .carros55-slider-container,
    .carros55-slider-placeholder {
        height: 360px;
    }
    
    .carros55-header-section h2 {
        font-size: 2rem;
    }
    
    .carros55-detail-title {
        font-size: 1.5rem;
    }
    
    .carros55-detail-price {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .carros55-grid {
        grid-template-columns: 1fr;
    }
    
    .carros55-search-inputs-grid {
        grid-template-columns: 1fr;
    }
    .carros55-search-actions {
        grid-column: span 1;
        width: 100%;
    }
    .carros55-btn-search {
        flex-grow: 1;
    }
    
    .carros55-slider-container,
    .carros55-slider-placeholder {
        height: 270px;
    }
    
    .carros55-detail-card {
        padding: 16px;
    }
}
