/* ============================================
   CHECKOUT MODERNO - MOBILE FIRST v2.1
   Design Clean, Fluido e Otimizado para Conversao
   Com tecnicas de Persuasao e PNL
   ============================================ */

/* ===== VARIAVEIS CSS ===== */
:root {
    /* Cores Principais */
    --primary: #00B37E;
    --primary-dark: #009668;
    --primary-light: #00D494;
    --primary-ultra-light: #E6FFF5;
    --secondary: #64748b;
    --accent: #FFB800;
    --accent-light: #FFF3D6;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;

    /* Cores de Fundo */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-gradient: linear-gradient(180deg, #f0fdf4 0%, #f8fafc 50%, #ffffff 100%);

    /* Cores de Texto */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;

    /* Gradientes Premium */
    --gradient-primary: linear-gradient(135deg, #00B37E 0%, #00D494 100%);
    --gradient-accent: linear-gradient(135deg, #FFB800 0%, #FFCF4D 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-urgency: linear-gradient(135deg, #ef4444 0%, #f97316 100%);

    /* Sombras */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 8px 24px rgba(0, 179, 126, 0.25);
    --shadow-glow: 0 0 40px rgba(0, 179, 126, 0.15);

    /* Bordas */
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Espacamentos */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;

    /* Transicoes */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-fast: 150ms var(--ease-smooth);
    --transition-base: 250ms var(--ease-smooth);
    --transition-slow: 400ms var(--ease-smooth);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: var(--text-primary) !important;
    background: var(--bg-gradient) !important;
    line-height: 1.6 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    padding: 0 !important;
    margin: 0 !important;
}

/* Reset agressivo para checkout */
.checkout-form,
.checkout-form * {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.checkout-form .container {
    max-width: 960px !important;
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin: 0 auto !important;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

/* ===== HEADER MINIMALISTA ===== */
.checkout-header-minimal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: var(--space-3) 0;
    transition: all var(--transition-base);
}

.checkout-header-minimal.scrolled {
    box-shadow: var(--shadow-sm);
}

.checkout-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-logo img {
    height: 28px;
    width: auto;
    display: block;
}

.checkout-header-security {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: var(--space-2) var(--space-3);
    background: var(--primary-ultra-light);
    border-radius: var(--radius-full);
}

.checkout-header-security i {
    font-size: 0.875rem;
}

/* ===== FOOTER MINIMALISTA ===== */
.checkout-footer-minimal {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: var(--space-10) 0 var(--space-6);
    margin-top: var(--space-12);
}

.checkout-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.checkout-footer-security {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.footer-security-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
}

.footer-security-badge i {
    color: var(--primary);
    font-size: 1rem;
}

.checkout-footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
}

.checkout-footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.checkout-footer-links a:hover {
    color: var(--primary);
}

.footer-separator {
    color: var(--text-light);
}

.checkout-footer-copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ===== MAIN CONTAINER ===== */
.checkout-form {
    padding-top: 64px;
    min-height: 100vh;
}

.checkout-form .container {
    max-width: 960px;
    margin: 0 auto;
    padding: var(--space-4);
}

/* ===== PRODUTO HEADER ===== */
.secure-checkout-header {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.secure-checkout-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.product-info {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.product-image {
    flex-shrink: 0;
}

.product-image img {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 3px solid var(--primary-ultra-light);
    box-shadow: var(--shadow-sm);
    padding: 0;
}

.product-details {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.product-details h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-2);
    line-height: 1.3;
}

.product-price {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.product-price span.total-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.product-price p {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.75rem;
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    margin: 0;
    font-weight: 600;
}

/* ===== CHECKOUT WRAP - LAYOUT ===== */
.checkout-wrap {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* ===== CHECKOUT LEFT ===== */
.checkout-left {
    order: 1;
}

.checkout-left-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.checkout-left-title::before {
    content: '\f4fe';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    font-size: 1rem;
}

.checkout-left-content {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

/* ===== FLOATING LABEL INPUTS - CORRIGIDO ===== */
.floating-label {
    position: relative;
    margin-bottom: var(--space-5);
}

.floating-label input,
.floating-label select {
    width: 100%;
    height: 56px;
    padding: 24px 16px 8px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all var(--transition-base);
    outline: none;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.floating-label input::placeholder {
    color: transparent;
}

.floating-label input:hover,
.floating-label select:hover {
    border-color: var(--text-light);
}

.floating-label input:focus,
.floating-label select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 179, 126, 0.1);
    background: #fff;
}

.floating-label label {
    position: absolute;
    left: 16px;
    top: 16px;
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all var(--transition-base);
    background: transparent;
    padding: 0 4px;
    z-index: 1;
}

/* Label quando input tem foco ou valor */
.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label select:focus + label,
.floating-label select:valid + label {
    top: 6px;
    left: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    background: white;
}

/* Input Valido */
.floating-label input:valid:not(:placeholder-shown) {
    border-color: var(--success);
}

.floating-label input:valid:not(:placeholder-shown) + label {
    color: var(--success);
}

/* ===== FORM HELP LINK - MODAL TRIGGER ===== */
.form-help-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    margin-top: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--primary-ultra-light);
    border-radius: var(--radius-md);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    cursor: pointer;
}

.form-help-link:hover {
    background: rgba(0, 179, 126, 0.15);
    border-color: var(--primary);
    transform: translateX(2px);
    text-decoration: none;
    color: var(--primary);
}

/* ===== USER INFO SUMMARY ===== */
.user-info-summary {
    background: linear-gradient(135deg, var(--primary-ultra-light) 0%, rgba(0, 179, 126, 0.08) 100%);
    border: 2px solid rgba(0, 179, 126, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    margin-bottom: var(--space-5);
    position: relative;
    overflow: hidden;
}

.user-info-summary h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.user-info-summary h5::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.user-info-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}

.user-info-item {
    background: var(--bg-primary);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
}

.user-info-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.user-info-value {
    font-size: 0.9375rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== DADOS JÁ CONHECIDOS DO CLIENTE =====
   Quem já comprou vê um resumo com "Editar" em vez do formulário: o que já
   temos não é pedido de novo. Só o que falta vira campo aberto. */
.cust-summary {
    background: linear-gradient(135deg, var(--primary-ultra-light) 0%, rgba(0, 179, 126, 0.06) 100%);
    border: 1px solid rgba(0, 179, 126, 0.25);
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-5);
    margin-bottom: var(--space-5);
}
.cust-summary[hidden] { display: none; }
.cust-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}
.cust-summary-head h5 {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--primary-dark);
}
.cust-edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid rgba(0, 179, 126, 0.35);
    border-radius: 999px;
    background: var(--bg-primary);
    color: var(--primary-dark);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.cust-edit:hover { background: var(--primary-ultra-light); border-color: var(--primary); }
.cust-summary-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}
.cust-summary-list li {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3);
    font-size: 0.875rem;
    min-width: 0;
}
.cust-summary-list span { color: var(--text-muted); flex: 0 0 auto; }
.cust-summary-list b {
    color: var(--text-primary);
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cust-missing {
    margin: var(--space-3) 0 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-dark);
}
.cust-field[hidden] { display: none; }
.cust-lock {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.cust-lock a { color: var(--primary-dark); font-weight: 600; }
.form-control[readonly] { background: #f6f8f7; cursor: default; }

/* ===== EMAIL SUGGESTIONS ===== */
.email-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--bg-primary);
    border: 2px solid var(--primary);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.email-suggestions p {
    padding: var(--space-3) var(--space-4);
    margin: 0;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--text-primary);
    transition: background var(--transition-fast);
    border-bottom: 1px solid var(--border-light);
}

.email-suggestions p:last-child {
    border-bottom: none;
}

.email-suggestions p:hover {
    background: var(--primary-ultra-light);
}

/* ===== ORDER BUMP ===== */
.order-bump-card {
    background: var(--bg-primary) !important;
    border: 2px solid var(--accent) !important;
    border-radius: var(--radius-xl) !important;
    overflow: hidden !important;
    margin: var(--space-5) 0 !important;
    box-shadow: var(--shadow-lg), 0 0 0 4px rgba(255, 184, 0, 0.1) !important;
    animation: bump-glow 3s ease-in-out infinite !important;
    position: relative;
    font-family: inherit !important;
    max-width: 100% !important;
    width: 100% !important;
}

@keyframes bump-glow {
    0%, 100% { box-shadow: var(--shadow-lg), 0 0 0 4px rgba(255, 184, 0, 0.1); }
    50% { box-shadow: var(--shadow-xl), 0 0 0 6px rgba(255, 184, 0, 0.2); }
}

/* ===== ORDER BUMP SLIM (secondary offers) ===== */
.order-bump-slim-heading {
    margin: 18px 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary, #64748b);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.2px;
}

.order-bump-slim-heading i {
    color: #00B37E;
    font-size: 15px;
}

.order-bump-slim {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    margin-top: 8px;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    user-select: none;
}

.order-bump-slim:hover {
    border-color: #00B37E;
    background: #f8fefc;
}

.order-bump-slim-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FFF4D6 0%, #FFE7A8 100%);
    color: #B07A00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.2s ease, color 0.2s ease;
}

.order-bump-slim-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Per-service color variants — overridden by .is-selected (defined later) */
.order-bump-slim-icon.is-likes     { background: linear-gradient(135deg, #ffe1ec 0%, #ffc7d4 100%); color: #e1306c; }
.order-bump-slim-icon.is-followers { background: linear-gradient(135deg, #dde6ff 0%, #c4d2ff 100%); color: #405DE6; }
.order-bump-slim-icon.is-comments  { background: linear-gradient(135deg, #ffe9d6 0%, #ffd1a6 100%); color: #f56040; }
.order-bump-slim-icon.is-views     { background: linear-gradient(135deg, #ece2ff 0%, #d8c5fc 100%); color: #833ab4; }
.order-bump-slim-icon.is-reels     { background: linear-gradient(135deg, #ffd6d6 0%, #ffb3b3 100%); color: #ff2d55; }
.order-bump-slim-icon.is-saves     { background: linear-gradient(135deg, #fff4d6 0%, #ffe7a8 100%); color: #b07a00; }
.order-bump-slim-icon.is-shares    { background: linear-gradient(135deg, #cfeefa 0%, #a6e0f5 100%); color: #0097a7; }
.order-bump-slim-icon.is-stories   { background: linear-gradient(135deg, #ffe1ec 0%, #ffd6f5 100%); color: #c13584; }
.order-bump-slim-icon.is-live      { background: linear-gradient(135deg, #ffd6d6 0%, #ffb3b3 100%); color: #ff0000; }
.order-bump-slim-icon.is-reach     { background: linear-gradient(135deg, #d6f5e3 0%, #aceec7 100%); color: #00B37E; }

.order-bump-slim-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.order-bump-slim-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-bump-slim-prices {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    line-height: 1;
}

.order-bump-slim-orig {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
}

.order-bump-slim-price {
    font-size: 15px;
    font-weight: 800;
    color: #00B37E;
}

.order-bump-slim-discount {
    font-size: 10px;
    font-weight: 800;
    background: #ef4444;
    color: #fff;
    padding: 2px 7px;
    border-radius: 999px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* iOS-style switch */
.order-bump-slim-switch {
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 26px;
    display: inline-block;
}

.order-bump-slim-switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.order-bump-slim-switch-track {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 999px;
    transition: background-color 0.22s ease;
    cursor: pointer;
}

.order-bump-slim-switch-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.18);
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.order-bump-slim-switch input:checked + .order-bump-slim-switch-track {
    background: #00B37E;
}

.order-bump-slim-switch input:checked + .order-bump-slim-switch-track::after {
    transform: translateX(18px);
}

.order-bump-slim-switch input:focus-visible + .order-bump-slim-switch-track {
    box-shadow: 0 0 0 3px rgba(0, 179, 126, 0.25);
}

/* Selected state — full row */
.order-bump-slim.is-selected {
    border-color: #00B37E;
    background: #E6FFF5;
    box-shadow: 0 4px 12px rgba(0, 179, 126, 0.12);
}

.order-bump-slim.is-selected .order-bump-slim-icon {
    background: linear-gradient(135deg, #00B37E 0%, #00d68f 100%);
    color: #fff;
}

@media (max-width: 480px) {
    .order-bump-slim {
        gap: 10px;
        padding: 10px 12px;
    }
    .order-bump-slim-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    .order-bump-slim-title {
        font-size: 13px;
        white-space: normal;
    }
    .order-bump-slim-price {
        font-size: 14px;
    }
}

/* ===== TERMS CHECKBOX - CORRIGIDO ===== */
.terms-wrapper {
    margin: var(--space-5) 0;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.terms-checkbox:hover {
    border-color: var(--primary);
    background: var(--primary-ultra-light);
}

.terms-checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    accent-color: var(--primary);
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.terms-checkbox span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.terms-checkbox a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

/* Fix para custom-control do Bootstrap */
.custom-control.custom-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: var(--space-3) !important;
    padding: var(--space-4) !important;
    background: var(--bg-secondary) !important;
    border-radius: var(--radius-lg) !important;
    border: 2px solid var(--border) !important;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin: 0 !important;
    min-height: auto !important;
}

.custom-control.custom-checkbox:hover {
    border-color: var(--primary) !important;
    background: var(--primary-ultra-light) !important;
}

.custom-control.custom-checkbox .custom-control-input {
    position: static !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    margin: 0 !important;
    opacity: 1 !important;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.custom-control.custom-checkbox .custom-control-label {
    font-size: 0.875rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.5 !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
}

.custom-control.custom-checkbox .custom-control-label::before,
.custom-control.custom-checkbox .custom-control-label::after {
    display: none !important;
}

.custom-control.custom-checkbox span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.custom-control.custom-checkbox a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.custom-control.custom-checkbox a:hover {
    text-decoration: underline;
}

/* ===== BOTAO SUBMIT ===== */
.card-footer {
    padding: var(--space-5) 0 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.btn-submit,
.finalizar-c {
    width: 100%;
    padding: var(--space-5) var(--space-6) !important;
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius-lg) !important;
    font-size: 1.0625rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-primary) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--space-2) !important;
    position: relative;
    overflow: hidden;
    height: auto !important;
    min-height: 56px;
}

.btn-submit::before,
.finalizar-c::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s ease;
}

.btn-submit:hover::before,
.finalizar-c:hover::before {
    left: 100%;
}

.btn-submit:hover,
.finalizar-c:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 179, 126, 0.35) !important;
}

.btn-pulse {
    animation: btn-pulse 2.5s ease-in-out infinite;
}

@keyframes btn-pulse {
    0%, 100% { box-shadow: var(--shadow-primary); }
    50% { box-shadow: 0 0 0 8px rgba(0, 179, 126, 0.15), var(--shadow-primary); }
}

/* Estado de Loading do Botão */
.btn-submit.btn-loading {
    pointer-events: none !important;
    opacity: 0.85 !important;
    position: relative !important;
    animation: none !important;
}

.btn-submit.btn-loading .btn-text,
.btn-submit.btn-loading .btn-icon {
    visibility: hidden !important;
    opacity: 0 !important;
}

.btn-submit.btn-loading::after {
    content: '' !important;
    position: absolute !important;
    width: 24px !important;
    height: 24px !important;
    top: 50% !important;
    left: 50% !important;
    margin-left: -12px !important;
    margin-top: -12px !important;
    border: 3px solid rgba(255, 255, 255, 0.3) !important;
    border-top-color: #fff !important;
    border-radius: 50% !important;
    animation: btn-spinner 0.8s linear infinite !important;
}

@keyframes btn-spinner {
    to { transform: rotate(360deg); }
}

/* Security Note */
.security-note {
    text-align: center;
    margin-top: var(--space-3);
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.security-note i {
    color: var(--primary);
}

/* ===== CHECKOUT RIGHT - ORDER SUMMARY ===== */
.checkout-right {
    order: 2;
}

.checkout-right-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.checkout-right-title::before {
    content: '\f07a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    font-size: 1rem;
}

.checkout-right-content {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

/* Sticky apenas em desktop */
@media (min-width: 768px) {
    .checkout-right {
        position: sticky;
        top: 80px;
        align-self: flex-start;
        z-index: 10;
    }
}

.checkout-right-content .card-body {
    padding: var(--space-5);
}

.checkout-right-content .list-unstyled {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checkout-right-content .list-unstyled li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.checkout-right-content .list-unstyled li:last-child {
    border-bottom: none;
}

.checkout-right-content .list-unstyled li i {
    color: var(--primary);
    flex-shrink: 0;
    font-size: 1rem;
    margin-top: 2px;
    width: 20px;
    text-align: center;
}

.checkout-right-content .list-unstyled li .fe,
.checkout-right-content .list-unstyled li .fa {
    color: var(--primary);
    flex-shrink: 0;
    font-size: 1rem;
    margin-top: 2px;
    width: 20px;
    text-align: center;
}

.checkout-right-content .list-unstyled li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Total Section */
.checkout-right-content .card-footer {
    background: linear-gradient(135deg, var(--primary-ultra-light) 0%, var(--bg-secondary) 100%) !important;
    padding: var(--space-5) !important;
    border-top: 2px solid var(--border-light) !important;
    margin: 0 !important;
}

.checkout-right-content .card-footer .d-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-right-content .card-footer p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.checkout-right-content .card-footer h3,
.checkout-right-content .card-footer .total-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    letter-spacing: -0.02em;
}

/* ===== TRUST BADGES ===== */
.trust-badges-inline {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    margin-top: var(--space-4);
    justify-content: center;
}

.trust-badge-small {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.trust-badge-small i {
    color: var(--primary);
    font-size: 0.875rem;
}

/* ===== GUARANTEE BOX ===== */
.guarantee-box {
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.1) 0%, rgba(255, 184, 0, 0.05) 100%);
    border: 2px dashed var(--accent);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin-top: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.guarantee-icon {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guarantee-icon i {
    color: white;
    font-size: 1.25rem;
}

.guarantee-content h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-1);
}

.guarantee-content p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: var(--space-10) 0;
    background: var(--bg-secondary);
    margin-top: var(--space-8);
}

.testimonials-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.testimonials-title {
    text-align: center;
    margin-bottom: var(--space-8);
}

.testimonials-title h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.testimonials-title p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

.testimonial-highlight {
    color: var(--primary);
    position: relative;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: var(--space-4);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.testimonial-header {
    padding: var(--space-4);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    border-bottom: 1px solid var(--border-light);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-user {
    flex: 1;
}

.testimonial-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-1);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.testimonial-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-username {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    margin-top: var(--space-1);
}

.testimonial-rating i {
    color: var(--accent);
    font-size: 0.75rem;
}

.testimonial-content {
    padding: var(--space-4);
    flex: 1;
}

.testimonial-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-3);
    background: var(--bg-secondary);
}

.testimonial-video img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-primary);
    z-index: 2;
}

.video-play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #fff;
    margin-left: 4px;
}

.video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.testimonial-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 var(--space-3);
}

.testimonial-content strong {
    color: var(--primary);
    font-weight: 600;
}

.testimonial-stats {
    display: flex;
    gap: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.testimonial-stat {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.testimonial-stat i {
    color: var(--primary);
}

.testimonial-footer {
    padding: var(--space-3) var(--space-4);
    background: var(--bg-secondary);
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
}

.testimonial-footer strong {
    color: var(--primary);
}

.testimonials-cta {
    text-align: center;
    margin-top: var(--space-8);
}

.testimonials-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-primary);
}

.testimonials-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 179, 126, 0.35);
}

/* ===== VIDEO MODAL ===== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    opacity: 0;
    transition: opacity var(--transition-base);
    padding: 20px;
}

.video-modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.video-modal-content {
    width: 100%;
    max-width: 500px;
    position: relative;
    max-height: 80vh;
}

.video-modal video {
    width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-lg);
    object-fit: contain;
}

.close-video {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.close-video:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* Texto de instrução para fechar */
.video-modal-hint {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-top: 16px;
    text-align: center;
}

/* ===== MODALS - BOOTSTRAP FIX ===== */
.modal {
    z-index: 10050 !important;
}

.modal-backdrop {
    z-index: 10040 !important;
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: none;
}

.modal-dialog {
    max-width: 500px;
    margin: var(--space-4) auto;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 32px);
}

.modal-content {
    border: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--bg-primary);
}

.modal-header {
    background: var(--gradient-primary);
    color: #fff;
    padding: var(--space-5);
    border: none;
}

.modal-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.modal-body {
    padding: var(--space-5);
}

.modal-body figure {
    margin: 0 0 var(--space-4);
    text-align: center;
}

.modal-body figure img {
    max-width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.modal-body figcaption {
    margin-top: var(--space-3);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: left;
}

.modal-body h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--space-5) 0 var(--space-3);
}

.modal-body small {
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: var(--space-2);
}

.modal-body hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: var(--space-4) 0;
}

.modal-footer {
    padding: var(--space-4);
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
    justify-content: center;
}

.modal-footer .btn,
.modal-footer .btn-default {
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-weight: 600;
    background: var(--gradient-primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-footer .btn:hover,
.modal-footer .btn-default:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-primary);
}

/* ===== PAGE OVERLAY - LOADING ===== */
#page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-slow);
}

#page-overlay:not(.visible) {
    opacity: 0;
    pointer-events: none;
}

.loader-wrapper-outer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lds-double-ring {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

.lds-double-ring div {
    position: absolute;
    width: 52px;
    height: 52px;
    margin: 6px;
    border: 4px solid var(--primary);
    border-radius: 50%;
    animation: lds-double-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--primary) transparent transparent transparent;
}

.lds-double-ring div:nth-child(1) { animation-delay: -0.45s; }
.lds-double-ring div:nth-child(2) { animation-delay: -0.3s; }
.lds-double-ring div:nth-child(3) { animation-delay: -0.15s; }

@keyframes lds-double-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== RESPONSIVE ===== */
@media (min-width: 576px) {
    .user-info-card {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .checkout-form .container {
        padding: var(--space-6);
    }

    .checkout-wrap {
        flex-direction: row;
        align-items: flex-start;
    }

    .checkout-left {
        flex: 1;
        order: 1;
    }

    .checkout-right {
        width: 340px;
        flex-shrink: 0;
        order: 2;
    }

    .product-details h3 {
        font-size: 1.25rem;
    }

    .product-price span.total-price {
        font-size: 1.75rem;
    }

    .user-info-card {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-title h2 {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .checkout-form {
        padding-top: 72px;
    }

    .checkout-header-minimal {
        padding: var(--space-4) 0;
    }

    .checkout-logo img {
        height: 32px;
    }

    .checkout-right {
        width: 380px;
    }
}

/* ===== MOBILE SPECIFIC ===== */
@media (max-width: 575px) {
    .checkout-form .container {
        padding: var(--space-3);
    }

    .secure-checkout-header {
        padding: var(--space-4);
    }

    .product-image img {
        width: 60px;
        height: 60px;
    }

    .product-details h3 {
        font-size: 1rem;
    }

    .product-price span.total-price {
        font-size: 1.375rem;
    }

    .checkout-left-content {
        padding: var(--space-4);
    }

    .floating-label input,
    .floating-label select {
        height: 52px;
        padding: 22px 14px 6px 14px;
        font-size: 0.9375rem;
    }

    .floating-label label {
        font-size: 0.9375rem;
        left: 14px;
        top: 14px;
    }

    .floating-label input:focus + label,
    .floating-label input:not(:placeholder-shown) + label {
        top: 4px;
        left: 10px;
        font-size: 0.65rem;
    }

    .btn-submit,
    .finalizar-c {
        padding: var(--space-4) var(--space-5) !important;
        font-size: 0.9375rem !important;
        min-height: 52px;
    }

    .checkout-right-content .card-footer h3,
    .checkout-right-content .card-footer .total-price {
        font-size: 1.5rem;
    }

    .testimonial-card {
        margin-left: 0;
        margin-right: 0;
    }




    .modal-dialog {
        margin: var(--space-3);
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===== PRINT ===== */
@media print {
    .checkout-header-minimal,
    .checkout-footer-minimal,
    .testimonials-section,
    .btn-submit,
    .finalizar-c {
        display: none !important;
    }
}

/* ===== LINK VALIDATION ===== */
.link-validation-group {
    position: relative;
}

.link-validation-icon {
    position: absolute;
    right: 16px;
    /* Centro do CAMPO, não do grupo: o grupo inclui a dica e o "Como pegar
       o link?", e com top:50% o ícone caía para fora do input. O JS do
       checkout ajusta pela altura medida; 27px é a reserva sem JS. */
    top: 27px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    width: 22px;
    height: 22px;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.link-validation-icon.is-valid,
.link-validation-icon.is-invalid {
    opacity: 1;
}

.link-validation-icon.is-valid::before {
    content: '\e92b';
    font-family: 'feather' !important;
    color: var(--primary);
    font-size: 20px;
}

.link-validation-icon.is-invalid::before {
    content: '\e926';
    font-family: 'feather' !important;
    color: var(--danger);
    font-size: 20px;
}

.link-validation-group input.is-valid {
    border-color: var(--primary) !important;
}

.link-validation-group input.is-invalid {
    border-color: var(--danger) !important;
}

/* O tema (Bootstrap/Tabler) desenha o próprio ícone de .is-valid/.is-invalid
   como fundo do campo; com o nosso, apareciam dois. Fica só o nosso, e o
   texto não passa por baixo dele. */
.link-validation-group input.is-valid,
.link-validation-group input.is-invalid {
    background-image: none !important;
    padding-right: 46px !important;
}

.link-validation-group input.is-valid:focus {
    box-shadow: 0 0 0 4px rgba(0, 179, 126, 0.1) !important;
}

.link-validation-group input.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
}

.link-validation-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    padding-left: 2px;
    transition: opacity var(--transition-fast);
}

/* ===== TERMS BELOW BUTTON ===== */
.terms-below-btn {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: var(--space-3) 0 0;
    line-height: 1.6;
}

.terms-below-btn a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.terms-below-btn a:hover {
    text-decoration: underline;
}

.terms-below-btn span {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
}

.terms-below-btn span .fe {
    color: var(--primary);
    font-size: 0.8125rem;
    vertical-align: -1px;
    margin-right: 2px;
}

/* ===== BUTTON PRICE TAG ===== */
.btn-price-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 700;
    margin-left: var(--space-2);
    letter-spacing: 0;
    text-transform: none;
}

/* ===== STICKY MOBILE BAR ===== */
.sticky-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s var(--ease-smooth);
    padding: var(--space-3) var(--space-4);
    padding-bottom: max(var(--space-3), env(safe-area-inset-bottom));
}

.sticky-mobile-bar.is-visible {
    transform: translateY(0);
}

.sticky-mobile-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    max-width: 960px;
    margin: 0 auto;
}

.sticky-mobile-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sticky-mobile-name {
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.sticky-mobile-price {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
}

.sticky-mobile-btn {
    flex-shrink: 0;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-5);
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    box-shadow: var(--shadow-primary);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.sticky-mobile-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 179, 126, 0.35);
}

.sticky-mobile-btn .fe {
    font-size: 1rem;
}

/* Hide sticky bar on desktop (768px+) */
@media (min-width: 768px) {
    .sticky-mobile-bar {
        display: none !important;
    }
}

/* Prevent content from hiding behind sticky bar on mobile */
@media (max-width: 767px) {

    .checkout-footer-minimal {
        padding-bottom: 80px;
    }
}

/* ===== FEATHER ICONS FIX ===== */
.fe {
    font-family: 'feather' !important;
}

/* ===== Preferência de perfis (opcional pago) ===== */
.pp-pref{margin:4px 0 20px;padding:16px;border:1px solid #e6e9f5;border-radius:16px;background:#fafbff}
.pp-pref-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.pp-pref-title{margin:0;font-size:15px;font-weight:800;color:#1b2137;line-height:1.35}
.pp-pref-tag{flex:0 0 auto;padding:3px 9px;border-radius:999px;background:#eef0fe;color:#5b5ef0;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.4px}
.pp-pref-options{display:flex;flex-direction:column;gap:8px}
.pp-pref-opt{position:relative;display:flex;align-items:center;gap:11px;margin:0;padding:12px 14px;border:1.5px solid #e6e9f5;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .15s,background .15s}
.pp-pref-opt:hover{border-color:#c9cdf6}
.pp-pref-opt input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.pp-pref-dot{flex:0 0 auto;width:18px;height:18px;border-radius:50%;border:2px solid #c3c8dc;background:#fff;transition:border-color .15s,box-shadow .15s}
.pp-pref-opt.is-on{border-color:#5b5ef0;background:#f6f6ff}
.pp-pref-opt.is-on .pp-pref-dot{border-color:#5b5ef0;box-shadow:inset 0 0 0 4px #fff;background:#5b5ef0}
.pp-pref-opt input:focus-visible ~ .pp-pref-dot{outline:3px solid rgba(91,94,240,.35);outline-offset:2px}
.pp-pref-name{flex:1;font-size:14px;font-weight:600;color:#1b2137}
.pp-pref-price{flex:0 0 auto;font-size:13px;font-weight:800;color:#0f9d58}
.pp-pref-note{margin-top:10px;padding:10px 12px;border-radius:12px;background:#fff8e6;border:1px solid #f6dfa5}
.pp-pref-note[hidden]{display:none}
.pp-pref-note p{display:flex;gap:8px;align-items:flex-start;margin:0;font-size:12.5px;line-height:1.5;color:#7a5a12}
.pp-pref-note p+p{margin-top:6px}
.pp-pref-note i{flex:0 0 auto;margin-top:2px}
@media (prefers-reduced-motion:reduce){.pp-pref-opt,.pp-pref-dot{transition:none}}

/* ============================================
   CHECKOUT VERDADEIRO (funil 2026)
   Topo com "trocar", oferta aplicada com validade, ajuda dos campos,
   checagem do link, escolha PIX/cartão e total antes do botão.
   ============================================ */
.chk-kicker{margin:0 0 2px;font-size:.75rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}
.chk-change{color:var(--primary);text-decoration:underline;text-transform:none;letter-spacing:0}
.chk-bonus-tag{display:inline-block;margin-left:4px;padding:2px 8px;border-radius:var(--radius-full);background:#e0ecff;color:#1d4ed8;font-size:.75rem;font-weight:800;vertical-align:middle}
.chk-bonus-inline{color:#1d4ed8}
.chk-was{font-size:.875rem;color:var(--text-muted);text-decoration:line-through}
.chk-item-price{font-size:1.5rem;font-weight:800;color:var(--primary);letter-spacing:-.02em}
.product-price p.chk-promo-end{color:#9a3412;background:#fff7ed}
@media (max-width:575px){.chk-item-price{font-size:1.375rem}}

.chk-offer{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:0 0 var(--space-4);padding:10px 16px;border-radius:var(--radius-lg);color:#fff;font-size:.8125rem;font-weight:600}
.chk-offer.is-pct{background:linear-gradient(90deg,#15803d,#16a34a)}
.chk-offer.is-bonus{background:linear-gradient(90deg,#1d4ed8,#2563eb)}
.chk-offer-tag{background:#fff;border-radius:var(--radius-full);padding:2px 10px;font-weight:800;font-size:.8125rem}
.chk-offer.is-pct .chk-offer-tag{color:#15803d}
.chk-offer.is-bonus .chk-offer-tag{color:#1d4ed8}
.chk-offer-exp{margin-left:auto;font-weight:500;opacity:.9;font-size:.75rem}

.field-help{display:block;margin-top:4px;padding-left:2px;font-size:.75rem;color:var(--text-muted);line-height:1.45}

.link-check{margin-top:6px;padding:8px 10px;border-radius:var(--radius-sm);font-size:.8125rem;line-height:1.45}
.link-check[hidden]{display:none}
.link-check.is-wait{background:var(--bg-tertiary);color:var(--text-secondary)}
.link-check.is-ok{background:var(--primary-ultra-light);color:#047857}
.link-check.is-warn{background:#fff8e6;color:#7a5a12;border:1px solid #f6dfa5}
.link-check.is-error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}

.pay-choice{margin:4px 0 20px}
.pay-choice-title{margin:0 0 10px;font-size:15px;font-weight:800;color:var(--text-primary)}
.pay-choice-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
@media (max-width:360px){.pay-choice-options{grid-template-columns:1fr}}
.pay-opt{position:relative;display:flex;align-items:center;gap:10px;margin:0;padding:12px;border:1.5px solid var(--border);border-radius:var(--radius-md);background:#fff;cursor:pointer;transition:border-color .15s,background .15s}
.pay-opt input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.pay-opt-dot{flex:0 0 auto;width:18px;height:18px;border-radius:50%;border:2px solid #c3c8dc;background:#fff}
.pay-opt.is-on{border-color:var(--primary);background:var(--primary-ultra-light)}
.pay-opt.is-on .pay-opt-dot{border-color:var(--primary);background:var(--primary);box-shadow:inset 0 0 0 4px #fff}
.pay-opt input:focus-visible ~ .pay-opt-dot{outline:3px solid rgba(0,179,126,.35);outline-offset:2px}
.pay-opt.is-disabled{opacity:.55;cursor:not-allowed;background:var(--bg-secondary)}
.pay-opt-body{display:flex;flex-direction:column;min-width:0}
.pay-opt-name{font-size:14px;font-weight:700;color:var(--text-primary)}
.pay-opt-sub{font-size:12px;color:var(--text-secondary)}
.pay-choice-note{margin:8px 0 0;padding:8px 10px;border-radius:var(--radius-sm);background:#fff8e6;border:1px solid #f6dfa5;color:#7a5a12;font-size:.8125rem;line-height:1.45}
.pay-choice-note[hidden]{display:none}

.order-total-box{margin:0 0 var(--space-4);padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-secondary)}
.otb-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:3px 0;font-size:.875rem;color:var(--text-secondary)}
.otb-row[hidden]{display:none}
.otb-row > span:first-child{min-width:0}
.otb-row > span:last-child{flex:0 0 auto;font-weight:600;color:var(--text-primary)}
.otb-row em{font-style:normal;color:#1d4ed8;font-weight:700}
.otb-total{margin-top:6px;padding-top:8px;border-top:1px dashed var(--border);font-size:1rem;font-weight:700;color:var(--text-primary)}
.otb-total strong{font-size:1.25rem;color:var(--primary)}

.pay-trust{display:flex;gap:8px;align-items:flex-start;margin:12px 0 0;font-size:.8125rem;line-height:1.5;color:var(--text-secondary)}
.pay-trust i{flex:0 0 auto;margin-top:2px;color:var(--primary)}
.btn-submit:disabled{cursor:progress}

/* ===== Revisão V3 (UI) =====
   Links do rodapé com área de toque de 44px (antes ~21px de altura) e foco
   visível no teclado nos botões/links do checkout. */
.checkout-footer-links a{display:inline-flex;align-items:center;min-height:44px;padding:0 4px}
.checkout-logo{display:inline-flex;align-items:center;min-height:44px}
#main-content a:focus-visible,#main-content button:focus-visible,
.checkout-footer-minimal a:focus-visible,.checkout-header-minimal a:focus-visible{outline:3px solid rgba(0,157,104,.45);outline-offset:2px;border-radius:8px}
