/* Cars Grid */
.cars-module-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: inherit;
    margin: 40px 0;
    background: #f5f5f7;
    padding: 20px 20px;
    border-radius: 20px;
}

@media (min-width: 768px) {
    .cars-module-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cars-module-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cars-module-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f2f2f7;
    display: flex;
    flex-direction: column;
}

.cars-module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.cars-module-content {
    padding: 14px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 1. Header Row */
.cars-module-header-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 8px;
}

.cars-module-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.cars-module-type {
    font-size: 15px;
    color: #333333;
    font-weight: 500;
}

/* 2. Info Row */
.cars-module-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5ea;
    flex-wrap: wrap;
}

.cars-module-info-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 12px;
    color:  inherit;
    font-weight: 500;
    gap: 8px;
}

.cars-module-info-icon {
    width: 18px;
    height: 18px;
    color:  inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cars-module-info-icon svg {
    width: 100%;
    height: 100%;
}

/* 3. Split Row (Image + Price) */
.cars-module-split-row {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    gap: 12px;
}

.cars-module-split-image {
    flex: 0 0 55%;
    max-width: 55%;
    min-height: 69.59px;
}

.cars-module-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 160px;
}

.cars-module-no-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #86868b;
    border-radius: 12px;
    font-size: 13px;
}

.cars-module-split-price {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.cars-module-price-group {
    margin-top: 6px;
}

.cars-module-price-amount {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.cars-module-price-from {
    font-size: 12px;
    color: #333333;
    font-weight: 500;
}

.cars-module-price-val {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.cars-module-price-label {
    font-size: 13px;
    color: #333333;
    display: block;
    margin-top: 0px;
    font-weight: 500;
    text-align: right;
}

.cars-module-free-cancel {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #0f853b;
    font-weight: 600;
    line-height: normal;
}

.cars-module-free-cancel svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-right: 5px;
    flex-shrink: 0;
}


/* 4. Button */
.cars-module-btn {
    display: block;
    width: 100%;
    padding: 7px 0;
    color: white;
    text-align: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.cars-module-btn:hover {
    background-color: #0077ed;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 113, 227, 0.25);
}

/* 5. Advantages List */
.cars-module-advantages {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cars-module-advantage-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.4;
}

.cars-module-advantage-item:last-child {
    margin-bottom: 0;
}

.cars-module-advantage-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cars-module-advantage-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Existing Modal Styles... */
.cars-module-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cars-module-modal-overlay.is-open {
    display: flex;
    opacity: 1;
}

.cars-module-modal {
    background: white;
    width: 90%;
    max-width: 650px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    padding: 30px;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.cars-module-modal-overlay.is-open .cars-module-modal {
    transform: scale(1);
}

.cars-module-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: #f5f5f7;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #86868b;
}

.cars-module-modal-close:hover {
    background: #eaffe3;
    color: #333;
}

.cars-module-modal-content #dch-modal iframe {
    border-radius: 12px;
}
