.barra-anuncio { display: none; }

        .carrinho-hero {
            padding: 52px 40px 36px;
            text-align: center;
            background: linear-gradient(135deg, #080d1a 0%, #0c1a3a 50%, #080d1a 100%);
            border-bottom: 1px solid var(--border);
            position: relative;
            overflow: hidden;
        }
        .carrinho-hero::before {
            content: '';
            position: absolute;
            top: -80px; right: -80px;
            width: 400px; height: 400px;
            background: radial-gradient(circle, rgba(56,189,248,.1) 0%, transparent 70%);
            border-radius: 50%;
        }
        .carrinho-hero-content { position: relative; z-index: 1; }
        .carrinho-hero h2 {
            font-family: 'Syne', sans-serif;
            font-size: 42px; font-weight: 800;
            color: #f1f5f9; margin-top: 12px;
        }
        .carrinho-hero h2 span {
            background: linear-gradient(90deg, var(--sky), var(--indigo));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .carrinho-hero p { font-size: 15px; color: #94a3b8; margin-top: 8px; }

        /* LAYOUT PRINCIPAL */
        .carrinho-section {
            max-width: 960px;
            margin: 0 auto;
            padding: 48px 40px;
            display: grid;
            grid-template-columns: 1fr 340px;
            gap: 28px;
            align-items: start;
        }

        /* LISTA DE ITENS */
        .carrinho-lista h3 {
            font-family: 'Syne', sans-serif;
            font-size: 18px; font-weight: 800;
            color: #e2e8f0; margin-bottom: 20px;
            display: flex; align-items: center; gap: 10px;
        }

        .carrinho-vazio {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 56px 24px;
            text-align: center;
            display: none;
        }
        .carrinho-vazio .emoji { font-size: 48px; margin-bottom: 16px; }
        .carrinho-vazio p { color: #64748b; margin-bottom: 24px; font-size: 15px; }
        .btn-voltar {
            display: inline-block;
            padding: 12px 28px;
            background: linear-gradient(90deg, var(--sky), var(--indigo));
            color: white; text-decoration: none;
            border-radius: 8px; font-weight: 700; font-size: 14px;
            transition: .2s;
        }
        .btn-voltar:hover { opacity: .85; transform: translateY(-2px); }

        /* ITEM DO CARRINHO */
        .item-carrinho {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 18px;
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 14px;
            transition: .2s;
        }
        .item-carrinho:hover { border-color: #334155; }
        .item-carrinho.selecionado {
            border-color: var(--sky);
            box-shadow: 0 0 0 1px rgba(56,189,248,.2);
        }

        /* CHECKBOX */
        .item-check {
            width: 20px; height: 20px;
            accent-color: var(--sky);
            cursor: pointer;
            flex-shrink: 0;
        }

        .item-img {
            width: 72px; height: 72px;
            object-fit: contain;
            background: rgba(255,255,255,.03);
            border-radius: 8px;
            padding: 6px;
            flex-shrink: 0;
        }

        .item-info { 
            flex: 1; min-width: 0; 
        }
        .item-info h4 {
            font-size: 14px; font-weight: 600;
            color: #e2e8f0; line-height: 1.4;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .item-info .item-preco {
            font-size: 15px; font-weight: 700;
            color: var(--sky); margin-top: 4px;
        }

        /* CONTROLES DE QUANTIDADE */
        .item-qty {
            display: flex; align-items: center; gap: 10px;
            flex-shrink: 0;
        }
        .qty-btn {
            width: 30px; height: 30px;
            background: #1e293b; border: 1px solid var(--border);
            color: white; border-radius: 6px; cursor: pointer;
            font-size: 16px; font-weight: 700;
            display: flex; align-items: center; justify-content: center;
            transition: .2s;
        }
        .qty-btn:hover { 
            background: var(--sky); border-color: var(--sky); color: #000; 
        }
        .qty-num { 
            font-size: 15px; font-weight: 700; min-width: 20px; text-align: center; 
        }

        /* REMOVER */
        .btn-remover {
            background: none; border: none;
            color: #475569; cursor: pointer;
            font-size: 18px; padding: 4px;
            transition: .2s; flex-shrink: 0;
        }
        .btn-remover:hover { 
            color: #ef4444; 
        }

        /* RESUMO */
        .carrinho-resumo {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 28px;
            position: sticky;
            top: 90px;
        }
        .carrinho-resumo h3 {
            font-family: 'Syne', sans-serif;
            font-size: 18px; font-weight: 800;
            color: #e2e8f0; margin-bottom: 24px;
        }

        .resumo-linha {
            display: flex; justify-content: space-between;
            align-items: center;
            font-size: 14px; color: #94a3b8;
            padding: 10px 0;
            border-bottom: 1px solid var(--border);
        }
        .resumo-linha:last-of-type { 
            border-bottom: none; 
        }
        .resumo-linha.total {
            font-size: 18px; font-weight: 700;
            color: #f1f5f9; padding-top: 16px;
        }
        .resumo-linha.total span:last-child { 
            color: var(--sky); 
        }

        .resumo-info {
            font-size: 12px; color: #475569;
            text-align: center; margin: 16px 0;
            line-height: 1.5;
        }

        .btn-finalizar {
            width: 100%; padding: 15px;
            background: linear-gradient(90deg, var(--sky), var(--indigo));
            color: white; border: none; border-radius: 10px;
            font-family: 'DM Sans', sans-serif;
            font-size: 16px; font-weight: 700;
            cursor: pointer; transition: .2s;
            margin-top: 8px;
        }
        .btn-finalizar:hover { 
            opacity: .85; transform: translateY(-2px); 
        }
        .btn-finalizar:disabled {
            opacity: .4; cursor: not-allowed; transform: none;
        }
        .lista-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.lista-header h3 {
    margin-bottom: 0;
}

.lista-acoes {
    display: flex;
    align-items: center;
    gap: 14px;
}

.selecionar-todos {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    cursor: pointer;
    user-select: none;
}
.selecionar-todos input {
    width: 16px; height: 16px;
    accent-color: var(--sky);
    cursor: pointer;
}
.selecionar-todos:hover { 
    color: var(--sky); 
}

        .btn-limpar {
    background: none;
    border: 1px solid var(--border);
    color: #64748b;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    padding: 7px 14px;
    /* Remove o width:100% que estava no CSS antigo */
    width: auto;
    margin-top: 0;
}
    .btn-limpar:hover { 
        border-color: #ef4444; color: #ef4444; 
    }
    .btn-continuar {
    display: block;
    width: 100%;
    padding: 11px;
    background: none;
    border: 1px solid var(--border);
    color: #94a3b8;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    margin-top: 10px;
    text-align: center;
    text-decoration: none;
}
.btn-continuar:hover {
    border-color: var(--sky);
    color: var(--sky);
}
        /* MODAL DE SUCESSO */
        .modal-overlay {
            display: none;
            position: fixed; inset: 0;
            background: rgba(0,0,0,.75);
            z-index: 200;
            align-items: center; justify-content: center;
        }
        .modal-overlay.ativo { display: flex; }

        .modal {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 48px 40px;
            text-align: center;
            max-width: 400px; width: 90%;
            animation: popIn .3s ease;
        }
        @keyframes popIn {
            from { transform: scale(.85); opacity: 0; }
            to   { transform: scale(1);  opacity: 1; }
        }
        .modal .emoji { font-size: 56px; margin-bottom: 16px; }
        .modal h3 {
            font-family: 'Syne', sans-serif;
            font-size: 24px; font-weight: 800;
            color: #f1f5f9; margin-bottom: 10px;
        }
        .modal p { color: #94a3b8; font-size: 15px; line-height: 1.6; }
        .modal .btn-voltar { margin-top: 28px; display: inline-block; }

        @media(max-width: 700px) {
            .carrinho-section {
                grid-template-columns: 1fr;
                padding: 32px 20px;
            }
            .carrinho-hero { padding: 40px 20px 28px; }
            .carrinho-hero h2 { font-size: 30px; }
            .carrinho-resumo { position: static; }
        }