.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

/* Estilo dos itens no carrinho */
.cart-item {
    display: flex;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #ffffff2f;
    gap: 20px;
}

.cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.item-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: none;
    border-radius: 10px;
}

.item-details {
    flex-grow: 1;
}

.item-title {
    font-size: 16px;
    color: var(--ml-text);
    margin: 0 0 8px 0;
    font-weight: 600;
}

.item-meta {
    font-size: 14px;
    color: var(--ml-light-text);
}

/* Controles de Quantidade e Ações */
.item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.price {
    font-size: 20px;
    font-weight: 400;
    color: var(--ml-text);
}

.qty-control {
    display: flex;
    align-items: center;
    border: none;
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    background: #171717;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--ml-blue);
    font-weight: bold;
    font-size: 16px;
}

.qty-btn:hover {
    background: #232323;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    padding: 9.5px 0;
    font-size: 14px;
    background-color: #171717;
    color: #fff;
}

.btn-remove {
    background: none;
    border: none;
    color: var(--ml-blue);
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    font-weight: 600;
}

.btn-remove:hover {
    text-decoration: underline;
}

/* Resumo da Compra */
.summary-card {
    position: sticky;
    top: 90px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--ml-text);
}

.summary-total {
    font-size: 22px;
    font-weight: 600;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ffffff2f;
}

.empty-cart {
    text-align: center;
    padding: 50px 20px;
    color: var(--ml-light-text);
}

.size-select {
    padding: 4px 8px;
    border: 1px solid #ffffff28;
    border-radius: 4px;
    background-color: #151515;
    color: #fff;
    font-size: 14px;
    margin-top: 5px;
    outline: none;
    cursor: pointer;
}

@media (max-width: 600px) {

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .item-actions {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .price {
        font-size: 18px;
    }

}