
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Archivo', sans-serif;
    background: #fff;
    color: #000;
    line-height: 1.4;
    padding-top: 50px;
}

.carrinho-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.carrinho-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.carrinho-title {
    font-size: 4.5rem;
    font-family: "Aldrich", sans-serif;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #000000;
}

/* Item do carrinho */
.carrinho-item {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 20px;
    position: relative;
}

.item-imagem {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
}

.item-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item-info {
    flex: 1;
}

.item-nome {
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: -0.3px;
}

.item-detalhes {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.item-preco {
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 10px;
}

/* Controles de quantidade */
.quantidade-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantidade-btn {
    background: none;
    border: 1px solid #ddd;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.6s ease;
}

.quantidade-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.quantidade-value {
    font-size: 1rem;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.remove-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
    transition: color 0.6s ease;
    align-self: flex-start;
}

.remove-btn:hover {
    color: #000;
}

/* Resumo do pedido */
.resumo-pedido {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.resumo-linha {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1rem;
}

.resumo-total {
    font-weight: 500;
    font-size: 1.2rem;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.btn-checkout {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.6s ease;
}

.btn-checkout:hover {
    background: #333;
}

.btn-continuar {
    width: 100%;
    background: none;
    color: #000;
    border: 1px solid #000;
    padding: 16px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.6s ease;
}

.btn-continuar:hover {
    background: #000;
    color: #fff;
}

/* Carrinho vazio */
.carrinho-vazio {
    text-align: center;
    padding: 60px 20px;
}

.carrinho-vazio-icon {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 20px;
}

.carrinho-vazio h2 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: -0.3px;
}

.carrinho-vazio p {
    color: #666;
    margin-bottom: 30px;
}

/* Responsivo */
@media (max-width: 768px) {
    .carrinho-container {
        padding: 15px;
    }

    .carrinho-title {
        font-size: 2.5rem;
    }

    .carrinho-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px 0;
    }

    .item-imagem {
        width: 100%;
        height: 200px;
        border-radius: 8px;
    }

    .item-info {
        width: 100%;
    }

    .item-nome {
        font-size: 1rem;
    }

    .remove-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(255, 255, 255, 0.9);
        padding: 8px;
        border-radius: 50%;
    }

    .quantidade-controls {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .carrinho-title {
        font-size: 2rem;
    }

    .item-imagem {
        height: 150px;
    }
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}
