.cart-items {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
}

.cart-item:last-child {
    border-bottom: none;
}

.product-preview-in-cart {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 4px;
}

.product-preview-in-cart img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item > a {
    display: contents;
    text-decoration: none;
    color: inherit;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.cart-item-details {
    display: flex;
    gap: 12px;
    color: #666;
    font-size: 0.9rem;
}

.cart-item-price {
    font-weight: 700;
    color: #000;
}

.cart-total {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    text-align: right;
    font-size: 1.2rem;
    font-weight: 700;
}
.make-order {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 20px 0;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.make-order:hover {
    background-color: #45a049;
}
.make-order.hidden {
    display: none;
}

@media screen and (max-width: 768px) {
    .cart-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cart-item > a {
        display: flex;
        width: 100%;
        gap: 15px;
    }

    .product-preview-in-cart {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
    }

    .cart-item-info {
        flex-grow: 1;
    }

    .cart-item-details {
        flex-wrap: wrap;
    }

    .cart-item > div:last-child {
        align-self: flex-end;
        margin-top: -40px;
    }
}

@media screen and (max-width: 480px) {
    .cart-items {
        padding: 10px;
    }

    .product-preview-in-cart {
        width: 80px;
        height: 80px;
    }

    .cart-item-name {
        font-size: 1rem;
    }

    .cart-item-details {
        font-size: 0.8rem;
    }

    .cart-item > div:last-child {
        margin-top: -30px;
    }
}
