body .toyota-showroom-outer,
body .toyota-showroom-outer *,
body .toyota-showroom-grid,
body .toyota-showroom-grid * {
    box-sizing: border-box;
}

body .toyota-showroom-outer {
    width: min(1320px, calc(100vw - 40px)) !important;
    max-width: min(1320px, calc(100vw - 40px)) !important;
    margin: 0 auto !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    clear: both !important;
}

body .toyota-showroom-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    gap: 25px 20px !important;
    padding: 20px 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: initial !important;
    align-items: stretch !important;
    font-family: Arial, sans-serif !important;
}

body .toyota-showroom-grid > p,
body .toyota-showroom-grid > br {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body .toyota-showroom-grid > .toyota-card-premium {
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
    flex: 1 1 auto !important;
}

body .toyota-showroom-grid > .toyota-card-premium:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: #d71920;
}

body .toyota-showroom-grid .toyota-img-box {
    background: #fff;
    padding: 0;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 180px !important;
    overflow: hidden;
}

body .toyota-showroom-grid .toyota-img-box img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.5s ease;
}

body .toyota-showroom-grid > .toyota-card-premium:hover .toyota-img-box img {
    transform: scale(1.08);
}

body .toyota-showroom-grid .toyota-content-box {
    padding: 15px;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.toyota-showroom-grid .toyota-car-name {
    font-size: 18px;
    font-weight: 700;
    color: #002c5f;
    margin: 0 0 5px;
    text-transform: uppercase;
    line-height: 1.35;
}

.toyota-showroom-grid .toyota-car-price {
    font-size: 16px;
    font-weight: 700;
    color: #d71920;
    margin: 0 0 15px;
    line-height: 1.4;
}

body .toyota-showroom-grid .toyota-specs-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 8px;
    margin: 0 0 20px;
}

body .toyota-showroom-grid .spec-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px;
    min-width: 0;
}

body .toyota-showroom-grid .spec-icon-circle {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 28px;
    color: #666;
    font-size: 13px;
    line-height: 1;
    background: #fff;
}

.toyota-showroom-grid .spec-info-text {
    font-size: 12px;
    color: #444;
    line-height: 1.3;
}

.toyota-showroom-grid .spec-info-text strong {
    display: block;
    color: #000;
    font-size: 11px;
    margin-bottom: 2px;
}

.toyota-showroom-grid .toyota-btn-detail {
    display: block;
    padding: 8px 0;
    border: 1px solid #d71920;
    border-radius: 20px;
    color: #d71920;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    transition: 0.3s;
    margin-top: auto;
}

.toyota-showroom-grid .toyota-btn-detail:hover,
.toyota-showroom-grid .toyota-btn-detail:focus {
    background: #d71920;
    color: #fff;
}

@media (max-width: 991px) {
    body .toyota-showroom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 575px) {
    body .toyota-showroom-outer {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
    }

    body .toyota-showroom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 15px !important;
    }

    body .toyota-showroom-grid .toyota-content-box {
        padding: 12px;
    }

    body .toyota-showroom-grid .toyota-car-name {
        font-size: 15px;
    }

    body .toyota-showroom-grid .toyota-car-price {
        font-size: 14px;
    }

    body .toyota-showroom-grid .toyota-specs-grid {
        grid-template-columns: 1fr !important;
    }
}
