﻿/* --- VariÃ¡veis CSS: Modo Escuro (PadrÃ£o) --- */
        :root {
            --bg-base: #0f131f;
            --bg-card: #13192b;
            --bg-input: #1b2339;
            --bg-input-white: #ffffff; /* Para simular os inputs brancos da imagem */
            --text-main: #ffffff;
            --text-dark: #000000;
            --text-muted: #94a3b8;
            --primary: #ffd400;
            --primary-hover: #eab308;
            --border: #2a3449;
            --info: #3b82f6;
            --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
            --radius: 12px;
            --radius-sm: 8px;
            --transition: all 0.3s ease;
        }

        /* --- VariÃ¡veis CSS: Modo Claro --- */
        [data-theme="light"] {
            --bg-base: #f1f5f9;
            --bg-card: #ffffff;
            --bg-input: #e2e8f0;
            --bg-input-white: #ffffff;
            --text-main: #0f172a;
            --text-dark: #000000;
            --text-muted: #64748b;
            --primary: #eab308;
            --primary-hover: #ca8a04;
            --border: #cbd5e1;
            --info: #2563eb;
            --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
        }

        /* --- Reset BÃ¡sico --- */
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
        body {
            background-color: var(--bg-base); color: var(--text-main);
            line-height: 1.5; -webkit-font-smoothing: antialiased;
            transition: background-color 0.3s, color 0.3s;
        }
        button, input, select, textarea { border: none; outline: none; font-family: inherit; }
        button { cursor: pointer; transition: var(--transition); }
        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }

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

        /* --- Animations --- */
        .reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
        .active.reveal { opacity: 1; transform: translate(0); }

        /* --- Minimal Header --- */
        header {
            padding: 20px 0; display: flex; justify-content: center; align-items: center; position: relative;
        }
        .logo { font-size: 1.2rem; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 8px; }
        .logo span { color: var(--text-main); }
        
        .theme-toggle {
            position: absolute; right: 20px; top: 20px; background: transparent;
            color: var(--text-muted); font-size: 1.2rem;
        }
        .theme-toggle:hover { color: var(--primary); }

        /* --- Page Title --- */
        .page-title { margin: 40px 0; }
        .page-title h1 { font-size: 2rem; font-weight: 800; margin-bottom: 5px; }
        .page-title p { color: var(--text-muted); font-size: 0.95rem; }

        /* --- Checkout Layout --- */
        .checkout-layout {
            display: grid; grid-template-columns: 1fr 380px; gap: 30px; margin-bottom: 80px; align-items: start;
        }

        /* --- Step Cards (Left Side) --- */
        .step-card {
            background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
            padding: 30px; margin-bottom: 20px; box-shadow: var(--shadow);
        }
        .step-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
        .step-number {
            width: 32px; height: 32px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
            font-weight: 700; font-size: 0.9rem; background: var(--bg-input); color: var(--text-muted);
        }
        .step-number.active { background: var(--primary); color: var(--text-dark); }
        .step-title { font-size: 1.3rem; font-weight: 700; color: var(--text-main); }
        .step-title.active { color: var(--primary); }

        /* --- Step 1: Carrinho --- */
        .cart-item {
            background: var(--bg-base); border-radius: var(--radius-sm); padding: 15px;
            display: flex; align-items: center; gap: 20px; border: 1px solid var(--border);
        }
        .item-img {
            width: 80px; height: 80px; background: #000; border-radius: var(--radius-sm);
            display: flex; justify-content: center; align-items: center; overflow: hidden;
        }
        .item-img img { max-width: 100%; object-fit: contain; }
        .item-details { flex: 1; }
        .item-title { font-size: 1rem; font-weight: 600; margin-bottom: 5px; }
        .item-variant { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 10px; }
        
        .qty-controls {
            display: flex; align-items: center; gap: 15px; background: var(--bg-input);
            width: fit-content; padding: 5px 10px; border-radius: var(--radius-sm);
        }
        .qty-btn { color: var(--text-muted); font-size: 1.1rem; background: transparent; padding: 0 5px; }
        .qty-btn:hover { color: var(--primary); }
        .qty-value { font-weight: 600; font-size: 0.95rem; width: 20px; text-align: center; }
        
        .item-price { font-size: 1.4rem; font-weight: 800; color: var(--text-main); }

        /* --- Step 2: Entrega --- */
        .delivery-methods { display: flex; gap: 15px; margin-bottom: 25px; }
        .method-btn {
            flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
            padding: 12px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem;
            background: var(--bg-input); color: var(--text-muted); border: 1px solid transparent;
        }
        .method-btn.active { background: var(--primary); color: var(--text-dark); border-color: var(--primary); }
        
        .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
        .form-group { display: flex; flex-direction: column; gap: 8px; }
        .form-group.full { grid-column: 1 / -1; }
        .form-group label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
        
        /* Inputs Base */
        .form-control {
            padding: 12px 15px; border-radius: var(--radius-sm); border: 1px solid var(--border);
            font-size: 0.95rem; transition: var(--transition); width: 100%;
        }
        .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(255, 212, 0, 0.1); }
        
        /* Inputs Brancos (como na imagem) */
        .input-white { background: var(--bg-input-white); color: #000; }
        /* Inputs Escuros */
        .input-dark { background: var(--bg-input); color: var(--text-main); }
        
        select.form-control { appearance: none; background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2394a3b8%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-position: right 15px top 50%; background-size: 10px auto; }
        textarea.form-control { resize: none; height: 80px; }

        /* --- Step 3: Pagamento --- */
        .payment-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
        .payment-btn {
            background: var(--bg-base); border: 1px solid var(--border); border-radius: var(--radius-sm);
            padding: 20px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
            color: var(--text-main); transition: var(--transition);
        }
        .payment-btn:hover { border-color: var(--text-muted); }
        .payment-btn i { font-size: 1.8rem; }
        .payment-btn span { font-size: 0.85rem; font-weight: 600; text-align: center; }
        
        .payment-btn.active { border-color: var(--primary); }
        .payment-btn.active i { color: var(--primary); }
        .payment-btn.active span { color: var(--text-main); }
        
        /* Cores especÃ­ficas dos Ã­cones (como na imagem) */
        .icon-transf { color: var(--info); }
        .icon-entrega { color: #d1d5db; }

        /* --- Sidebar (Resumo) --- */
        .summary-card {
            background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
            padding: 30px; position: sticky; top: 20px; box-shadow: var(--shadow);
        }
        .summary-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 25px; color: var(--text-main); }
        
        .summary-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; font-size: 0.95rem; }
        .summary-row.text-muted { color: var(--text-muted); }
        .summary-row .free { color: var(--primary); font-weight: 700; }
        
        .summary-divider { height: 1px; background: var(--border); margin: 25px 0; }
        
        .total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
        .total-label { font-weight: 600; font-size: 1rem; }
        .total-price { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
        
        .btn-confirm {
            width: 100%; background: var(--primary); color: var(--text-dark);
            padding: 16px; border-radius: var(--radius-sm); font-weight: 700; font-size: 1rem;
            display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 15px;
        }
        .btn-confirm:hover { background: var(--primary-hover); transform: translateY(-2px); }
        
        .security-badge {
            display: flex; justify-content: center; align-items: center; gap: 8px;
            color: var(--text-muted); font-size: 0.8rem;
        }

        /* --- Responsividade --- */
        @media (max-width: 992px) {
            .checkout-layout { grid-template-columns: 1fr; }
            .summary-card { position: relative; top: 0; }
        }
        @media (max-width: 768px) {
            .form-grid { grid-template-columns: 1fr; }
            .payment-methods { grid-template-columns: 1fr; }
            .item-price { font-size: 1.2rem; }
            .step-card { padding: 20px; }
        }

