a:has(> .car-view) {
    width: 100%;
    max-width: 470px;
    justify-self: center;
}

.car-view {
    flex: 0 0 calc(100% / 4);
    min-width: 350px;
    max-width: 470px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.car-view-header {
    display: flex;
    align-items: center;
    padding: auto 0px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}
.car-view-name {
    font-weight: 600;
    font-size: 16px;
    margin-left: 12px;
    color: #fff;
}
.car-view-nickname {
    font-weight: 400;
    font-size: 12px;
    margin-left: 4px;
    margin-bottom: 2px;
    color: #fff;
}
.car-view-price {
    color: #ff5a00;
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 10px;
}

.car-view-price:has(+ .car-view-price-old:not([hidden])) {
    font-size: 22px;
    font-weight: 900;
    color: #e0320b;
}

.car-view-price-old {
    color: #bbb;
    text-decoration: line-through #f44336 1.5px;
    margin-right: 5px;
    font-size: 13px;
}
.car-view-price-like {
    color: #666;
    font-size: 7px;
    position: absolute;
    top: 33px;
    right: 40px;
}

.car-view-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.car-view-image-container {
    position: relative;
}

.car-view-sale-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.car-view-hot-deal {
    height: 80px;
}
.car-view-spin {
    height: 100px;
}

.car-view-details {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 18px 20px;
    background: #d4d4d4;
}

.car-view-detail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0;
}

.car-view-detail-name {
    color: #555;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 4px;
}

.car-view-detail-value {
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

/*@media (max-width: 800px) {
    .car-view {
        width: 80vw;
    }
}*/
