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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #ededed;
    color: #333;
    line-height: 1.5;
    min-height: 100vh;
}

.checkout-header {
    background: linear-gradient(180deg, #ffe600 0%, #ffe600 100%);
    padding: 12px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo img {
    height: 34px;
    width: auto;
}

.checkout-steps {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.step.active {
    color: #3483fa;
    font-weight: 600;
}

.step.completed {
    color: #00a650;
    font-weight: 500;
}

.step.completed::before {
    content: "✓ ";
}

.step-divider {
    width: 30px;
    height: 2px;
    background: #ccc;
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #00a650;
    font-size: 13px;
    font-weight: 500;
}

.checkout-main {
    padding: 24px 20px 40px;
}

.checkout-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

.checkout-forms {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.form-section {
    padding: 24px;
    border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.subsection-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 24px 0 16px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.payment-summary {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 16px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.summary-item:last-of-type {
    border-bottom: none;
}

.summary-thumb {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #eee;
    background: #fff;
}

.summary-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.summary-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.summary-price {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.summary-totals {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #ddd;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    color: #666;
}

.summary-row.discount {
    color: #00a650;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid #ddd;
}

.free-text {
    color: #00a650;
    font-weight: 600;
}

.section-number {
    width: 28px;
    height: 28px;
    background: #3483fa;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group.small {
    grid-column: span 1;
    max-width: 120px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.2s;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3483fa;
    box-shadow: 0 0 0 3px rgba(52, 131, 250, 0.1);
}

.form-group input.error,
.form-group select.error {
    border-color: #f23d4f;
}

.error-message {
    font-size: 12px;
    color: #f23d4f;
    min-height: 16px;
}

.cep-group {
    position: relative;
}

.cep-input-wrapper {
    position: relative;
}

.cep-loading {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

.cep-loading.active {
    display: block;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #eee;
    border-top-color: #3483fa;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.cep-link {
    font-size: 12px;
    color: #3483fa;
    text-decoration: none;
    margin-top: 4px;
}

.cep-link:hover {
    text-decoration: underline;
}

.payment-section {
    background: #f7fff9;
}

.payment-method {
    border: 2px solid #00a650;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.payment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #f0fdf4;
}

.payment-radio {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #00a650;
}

.payment-radio label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}

.payment-discount {
    background: #00a650;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.payment-info {
    padding: 16px;
}

.payment-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.payment-info ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payment-info li {
    font-size: 13px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-info li::before {
    content: "✓";
    color: #00a650;
    font-weight: bold;
}

.order-summary {
    position: sticky;
    top: 80px;
}

.summary-card {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.summary-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.product-item-summary {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.product-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details h4 {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-qty {
    font-size: 13px;
    color: #666;
}

.qty-selector {
    display: inline-flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #ddd;
    margin-top: 6px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #3483fa;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #e0e0e0;
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-btn:disabled {
    color: #ccc;
    cursor: not-allowed;
}

.qty-input {
    width: 40px;
    height: 32px;
    border: none;
    background: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-qty {
    margin-top: 8px;
}

.cart-qty .qty-btn {
    width: 28px;
    height: 28px;
    font-size: 16px;
}

.cart-qty .qty-input {
    width: 36px;
    height: 28px;
    font-size: 13px;
}

.summary-divider {
    height: 1px;
    background: #eee;
    margin: 16px 0;
}

.sidebar-bump-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f0fdf4;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #00a650;
    animation: sidebarItemIn 0.4s ease;
}

@keyframes sidebarItemIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sidebar-bump-image {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-bump-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-bump-info {
    flex: 1;
}

.sidebar-bump-title {
    display: block;
    font-size: 12px;
    color: #333;
    line-height: 1.3;
    margin-bottom: 4px;
}

.sidebar-bump-price {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #00a650;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-row.shipping .free-shipping {
    color: #00a650;
    font-weight: 600;
}

.summary-row.discount {
    color: #00a650;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
}

.total-price {
    color: #333;
}

.pix-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    padding: 12px;
    border-radius: 6px;
    margin-top: 16px;
    font-size: 13px;
    color: #00a650;
}

.btn-continue {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: #3483fa;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 16px;
}

.btn-continue:hover {
    background: #2968c8;
}

.btn-continue svg {
    stroke: #fff;
}

.btn-primary {
    width: 100%;
    padding: 16px 24px;
    background: #3483fa;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    margin-top: 20px;
}

.btn-primary:hover {
    background: #2968c8;
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-primary .pix-icon path {
    fill: currentColor;
}

.security-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
}

.badge svg {
    color: #00a650;
}

.checkout-footer {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #666;
}

.checkout-footer a {
    color: #3483fa;
    text-decoration: none;
}

.form-actions {
    padding: 24px;
    border-top: 1px solid #eee;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: flex;
}

.pix-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.pix-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.modal-close:hover {
    background: #eee;
}

.modal-header {
    text-align: center;
    padding: 24px 24px 16px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    font-size: 20px;
    margin-top: 12px;
    color: #333;
}

.modal-body {
    padding: 24px;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.spinner-large {
    width: 40px;
    height: 40px;
    border: 3px solid #eee;
    border-top-color: #3483fa;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.qr-placeholder p {
    font-size: 14px;
    color: #666;
}

.pix-code-container {
    margin-bottom: 20px;
}

.pix-code-container > p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.pix-code-wrapper {
    display: flex;
    gap: 8px;
}

.pix-code-wrapper input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
    background: #f5f5f5;
    color: #666;
}

.btn-copy {
    padding: 12px 16px;
    background: #3483fa;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-copy:hover {
    background: #2968c8;
}

.btn-copy.copied {
    background: #00a650;
}

.pix-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #fff4e5;
    border-radius: 6px;
    color: #b76e00;
    font-size: 14px;
    margin-bottom: 20px;
}

.pix-instructions {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 16px;
}

.pix-instructions p {
    font-size: 14px;
    margin-bottom: 12px;
}

.pix-instructions ol {
    padding-left: 20px;
}

.pix-instructions li {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #eee;
    text-align: center;
}

.payment-status {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-status.success {
    color: #00a650;
}

.payment-status.error {
    color: #f23d4f;
}

@media (max-width: 900px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .order-summary {
        position: static;
        order: -1;
    }
    
    .checkout-steps {
        flex-wrap: wrap;
        gap: 6px 10px;
        justify-content: center;
    }
    
    .step {
        font-size: 11px;
    }
    
    .step-divider {
        width: 15px;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: flex;
    }
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.small {
        max-width: 100%;
    }
    
    .checkout-header {
        padding: 10px 12px;
    }
    
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .checkout-steps {
        order: 2;
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 4px;
        padding: 8px 0 4px;
    }
    
    .step {
        font-size: 10px;
        white-space: nowrap;
    }
    
    .step-divider {
        width: 8px;
        flex-shrink: 0;
    }
    
    .secure-badge {
        display: none;
    }
    
    .checkout-main {
        padding: 12px;
    }
    
    .form-section {
        padding: 16px 14px;
    }
    
    .form-section h2 {
        font-size: 16px;
        gap: 10px;
    }
    
    .section-number {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .summary-card {
        padding: 14px;
    }
    
    .product-item-summary {
        flex-direction: row;
    }
    
    .product-image {
        width: 60px;
        height: 60px;
    }
    
    .btn-continue {
        padding: 14px 24px;
        font-size: 15px;
    }
}

@media (max-width: 400px) {
    .checkout-steps {
        display: none;
    }
    
    .checkout-header {
        padding: 12px;
    }
    
    .form-section {
        padding: 14px 12px;
    }
}

.email-autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.email-suggestions {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #3483fa;
    border-radius: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 250px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
}

.email-suggestions.active {
    display: block;
}

.email-suggestions li {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.email-suggestions li:last-child {
    border-bottom: none;
}

.email-suggestions li:hover,
.email-suggestions li.selected {
    background: #f5f5f5;
}

.email-suggestions li strong {
    color: #3483fa;
}

.offers-section {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.offers-intro {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.offer-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.sidebar-offers-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    padding: 20px;
    margin-bottom: 16px;
    animation: fadeIn 0.3s ease;
}

.sidebar-offers-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.sidebar-offers-badge {
    width: 24px;
    height: 24px;
    background: #3483fa;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

.sidebar-offers-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.sidebar-offers-intro {
    font-size: 13px;
    color: #666;
    margin: 0 0 16px 0;
    padding: 10px 12px;
    background: #f5f5f5;
    border-radius: 6px;
    border-left: 3px solid #3483fa;
}

.sidebar-offer-item {
    background: #fff;
    border: 2px solid #3483fa;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    animation: fadeIn 0.4s ease;
}

.sidebar-offer-item.accepted {
    border-color: #00a650;
    background: #f0fdf4;
}

.sidebar-offer-tag {
    display: inline-block;
    background: #3483fa;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.sidebar-offer-item.accepted .sidebar-offer-tag {
    background: #00a650;
}

.sidebar-offer-content {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.sidebar-offer-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.sidebar-offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.sidebar-offer-info {
    flex: 1;
    min-width: 0;
}

.sidebar-offer-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.sidebar-offer-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-offer-original {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.sidebar-offer-current {
    font-size: 16px;
    font-weight: 700;
    color: #00a650;
}

.sidebar-offer-actions {
    display: flex;
    gap: 8px;
}

.sidebar-offer-actions button {
    flex: 1;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-sidebar-accept {
    background: #3483fa;
    color: #fff;
    border: none;
}

.btn-sidebar-accept:hover {
    background: #2968c8;
}

.btn-sidebar-decline {
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
}

.btn-sidebar-decline:hover {
    background: #f5f5f5;
}

.sidebar-offer-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: #00a650;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.offer-card.fade-in {
    animation: cardSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.offer-card.fade-out {
    animation: cardSlideOut 0.4s ease forwards;
}

@keyframes cardSlideIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cardSlideOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0.95);
    }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(52, 131, 250, 0.2); }
    50% { box-shadow: 0 8px 32px rgba(52, 131, 250, 0.4); }
}

.offer-card.active {
    border-color: #3483fa;
    box-shadow: 0 4px 20px rgba(52, 131, 250, 0.15);
    animation: cardSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, subtlePulse 2s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% { 
        box-shadow: 0 4px 20px rgba(52, 131, 250, 0.15);
    }
    50% { 
        box-shadow: 0 6px 25px rgba(52, 131, 250, 0.25);
    }
}

.offer-card.accepted {
    border-color: #00a650;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.offer-card.disabled {
    pointer-events: none;
}

.offer-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    background: #00a650;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    animation: successBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successBounce {
    0% { 
        transform: scale(0.5); 
        opacity: 0; 
    }
    60% { 
        transform: scale(1.1); 
        opacity: 1;
    }
    100% { 
        transform: scale(1); 
        opacity: 1; 
    }
}

.offer-success svg {
    stroke: #fff;
}

.offer-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
    background: #3483fa;
    color: #fff;
}

.offer-header.downsell {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.offer-subtitle {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.9;
    margin: 0;
}

.offer-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.offer-tag {
    display: inline-block;
    background: #ffe600;
    color: #333;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: tagPulse 1.5s ease-in-out infinite;
}

@keyframes tagPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.offer-header.downsell .offer-tag {
    background: #fff;
    color: #ff6b35;
}

.offer-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.offer-body {
    padding: 20px;
}

.offer-content {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.offer-image {
    flex-shrink: 0;
}

.offer-image img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.offer-card:hover .offer-image img {
    transform: scale(1.05);
}

.offer-info {
    flex: 1;
}

.offer-description {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.offer-pricing {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.offer-original-price {
    color: #999;
    font-size: 14px;
    text-decoration: line-through;
}

.offer-current-price {
    color: #00a650;
    font-size: 20px;
    font-weight: 700;
}

.offer-savings {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f0fdf4;
    border-radius: 6px;
    color: #00a650;
    font-size: 12px;
    font-weight: 500;
}

.offer-actions {
    display: flex;
    gap: 12px;
    padding: 0 20px 20px;
}

.btn-offer-accept {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: #3483fa;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-offer-accept:hover:not(:disabled) {
    background: #2968c8;
}

.btn-offer-accept:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-offer-decline {
    padding: 18px 24px;
    background: transparent;
    color: #999;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-offer-decline:hover:not(:disabled) {
    color: #666;
    text-decoration: underline;
}

.btn-offer-decline:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.offer-status {
    padding: 12px 20px;
    background: #f0fdf4;
    border-top: 1px solid #d0f0d0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #00a650;
    font-size: 14px;
    font-weight: 500;
}

.offer-status svg {
    flex-shrink: 0;
}

.downsell-message {
    padding: 12px 16px;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    color: #856404;
    font-size: 13px;
    margin-bottom: 16px;
}

.added-items-container {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e0e0e0;
}

.added-item-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 13px;
    color: #00a650;
}

@media (max-width: 600px) {
    .offer-card {
        margin: 0 -4px;
        border-radius: 8px;
    }
    
    .offer-header {
        padding: 12px 16px;
    }
    
    .offer-title {
        font-size: 14px;
    }
    
    .offer-body {
        padding: 16px;
    }
    
    .offer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    
    .offer-image img {
        width: 100px;
        height: 100px;
    }
    
    .offer-description {
        font-size: 13px;
    }
    
    .offer-pricing {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .offer-original-price {
        font-size: 13px;
    }
    
    .offer-current-price {
        font-size: 18px;
    }
    
    .offer-actions {
        flex-direction: column;
        padding: 0 16px 16px;
        gap: 8px;
    }
    
    .btn-offer-accept {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .btn-offer-decline {
        order: 2;
        padding: 12px;
        font-size: 13px;
    }
    
    .sidebar-offer-item {
        padding: 10px;
    }
    
    .sidebar-offer-content {
        gap: 10px;
    }
    
    .sidebar-offer-image {
        width: 50px;
        height: 50px;
    }
    
    .sidebar-offer-title {
        font-size: 12px;
    }
    
    .sidebar-offer-current {
        font-size: 14px;
    }
    
    .sidebar-offer-actions {
        flex-direction: column;
        gap: 6px;
    }
    
    .sidebar-offer-actions button {
        padding: 10px;
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .offer-image img {
        width: 80px;
        height: 80px;
    }
    
    .offer-header {
        padding: 10px 12px;
    }
    
    .offer-body {
        padding: 12px;
    }
    
    .offer-title {
        font-size: 13px;
    }
    
    .offer-tag {
        font-size: 10px;
        padding: 4px 10px;
    }
}

.cart-summary-section {
    animation: fadeIn 0.3s ease;
}

.cart-items-list {
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 12px;
}

.cart-item.bump-item {
    background: #f0fdf4;
    border: 1px solid #d0f0d0;
}

.cart-item-image {
    flex-shrink: 0;
}

.cart-item-image img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #eee;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
}

.cart-item-qty {
    font-size: 12px;
    color: #666;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.cart-totals {
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #666;
}

.cart-total-row.discount {
    color: #00a650;
}

.cart-total-row.total {
    padding-top: 12px;
    margin-top: 8px;
    border-top: 2px solid #333;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

@media (max-width: 480px) {
    .cart-item {
        flex-wrap: wrap;
    }
    
    .cart-item-price {
        width: 100%;
        text-align: right;
        margin-top: 8px;
    }
}

.pix-section {
    background: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.pix-payment-box {
    display: flex;
    align-items: stretch;
    gap: 24px;
    padding: 24px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 16px;
}

.pix-qr-area {
    flex: 0 0 auto;
    text-align: center;
}

.pix-qr-label {
    font-size: 13px;
    color: #666;
    margin: 12px 0 8px 0;
}

.pix-timer-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    padding: 6px 12px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
}

.pix-timer-box strong {
    color: #333;
    font-weight: 600;
}

.pix-divider {
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.pix-divider span {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
}

.pix-code-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pix-code-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.pix-code-box {
    margin-bottom: 12px;
}

.pix-code-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 11px;
    font-family: monospace;
    background: #fff;
    color: #333;
}

.btn-copy-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: #3483fa;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-copy-code:hover {
    background: #2968c8;
}

.btn-copy-code.copied {
    background: #00a650;
}

.pix-status-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 6px;
    margin-bottom: 16px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffc107;
    animation: pulse-indicator 1.5s ease-in-out infinite;
}

@keyframes pulse-indicator {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

.pix-status-box span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.pix-status-box.paid {
    background: #e8f5e9;
    border-color: #a5d6a7;
}

.pix-status-box.paid .status-indicator {
    background: #00a650;
    animation: none;
}

.pix-status-box.error {
    background: #ffebee;
    border-color: #ef9a9a;
}

.pix-status-box.error .status-indicator {
    background: #f44336;
    animation: none;
}

.pix-help {
    margin-top: 8px;
}

.pix-help details {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

.pix-help summary {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #3483fa;
    cursor: pointer;
    list-style: none;
}

.pix-help summary::-webkit-details-marker {
    display: none;
}

.pix-help summary::before {
    content: "?";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #3483fa;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    margin-right: 8px;
}

.pix-help ol {
    padding: 0 16px 16px 40px;
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

.pix-inline-content {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.pix-qr-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-code-box {
    background: #fff;
    border: 3px solid #00a650;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    min-height: 240px;
    box-shadow: 0 4px 16px rgba(0, 166, 80, 0.15);
}

.qr-code-box img {
    width: 200px;
    height: 200px;
    border-radius: 4px;
}

.pix-timer-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #dc2626;
    padding: 14px 24px;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-top: 16px;
    animation: pulse-timer 1.5s ease-in-out infinite;
}

@keyframes pulse-timer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.pix-timer-inline svg {
    flex-shrink: 0;
}

.pix-timer-inline strong {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.pix-copy-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pix-copy-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.pix-code-input-wrapper {
    display: flex;
    gap: 12px;
}

.pix-code-input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 12px;
    font-family: monospace;
    background: #f9f9f9;
    color: #333;
}

.btn-copy-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: #3483fa;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-copy-inline:hover {
    background: #2968c8;
    transform: translateY(-1px);
}

.btn-copy-inline.copied {
    background: #00a650;
}

.pix-instructions-inline {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e0e0e0;
}

.pix-instructions-inline h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
    text-align: center;
}

.pix-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.pix-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.pix-step-number {
    width: 26px;
    height: 26px;
    background: #32BCAD;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.pix-step span:last-child {
    font-size: 14px;
    color: #333;
}

.pix-status-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: #fff8e1;
    border-radius: 12px;
    border: 1px solid #ffe082;
}

.pix-status-inline span {
    font-size: 16px;
    font-weight: 600;
    color: #f57c00;
}

.status-icon {
    position: relative;
    color: #f57c00;
}

.status-icon.waiting .pulse-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 32px;
    height: 32px;
    border: 2px solid #f57c00;
    border-radius: 50%;
    animation: pulse-ring 1.5s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.pix-status-inline.paid {
    background: #e8f5e9;
    border-color: #a5d6a7;
}

.pix-status-inline.paid span {
    color: #00a650;
}

.pix-status-inline.paid .status-icon {
    color: #00a650;
}

@media (max-width: 768px) {
    .pix-payment-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .pix-divider {
        padding: 16px 0;
    }
    
    .pix-code-area {
        width: 100%;
    }
    
    .pix-code-label {
        text-align: center;
    }
}

/* Shipping Section */
.shipping-section {
    background: #fff;
}

.shipping-intro {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
}

.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shipping-option {
    display: block;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shipping-option input[type="radio"] {
    display: none;
}

.shipping-option-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.shipping-option:hover .shipping-option-content {
    border-color: #3483fa;
    background: #f8fbff;
}

.shipping-option input[type="radio"]:checked + .shipping-option-content {
    border-color: #3483fa;
    background: #e8f2ff;
    box-shadow: 0 2px 8px rgba(52, 131, 250, 0.15);
}

.shipping-icon {
    width: 48px;
    height: 48px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    flex-shrink: 0;
}

.shipping-option input[type="radio"]:checked + .shipping-option-content .shipping-icon {
    background: #3483fa;
    color: #fff;
}

.shipping-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.shipping-day {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.shipping-date {
    font-size: 14px;
    color: #666;
}

.shipping-price {
    text-align: right;
}

.free-badge {
    display: inline-block;
    background: #00a650;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

@media (max-width: 480px) {
    .shipping-option-content {
        padding: 12px 14px;
        gap: 12px;
    }
    
    .shipping-icon {
        width: 40px;
        height: 40px;
    }
    
    .shipping-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .shipping-day {
        font-size: 14px;
    }
    
    .shipping-date {
        font-size: 12px;
    }
    
    .free-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* Exit Intent Modal - Estilo Mercado Livre */
.exit-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: exitFadeIn 0.3s ease;
}

@keyframes exitFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.exit-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    animation: exitSlideUp 0.4s ease;
}

@keyframes exitSlideUp {
    from { 
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.exit-modal-header {
    background: #ffe600;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.exit-modal-tag {
    background: #3483fa;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.exit-modal-close {
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(0,0,0,0.1);
    border-radius: 50%;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

.exit-modal-close:hover {
    background: rgba(0,0,0,0.2);
}

.exit-modal-content {
    padding: 24px;
    text-align: center;
}

.exit-modal-product {
    margin-bottom: 16px;
}

.exit-product-img {
    width: 180px;
    height: auto;
    border-radius: 8px;
}

.exit-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.exit-modal-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.exit-modal-discount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #f5f5f5;
    border: 2px dashed #3483fa;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.exit-discount-box {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.exit-discount-percent {
    font-size: 42px;
    font-weight: 800;
    color: #3483fa;
    line-height: 1;
}

.exit-discount-off {
    font-size: 18px;
    font-weight: 700;
    color: #3483fa;
}

.exit-discount-info {
    text-align: left;
}

.exit-discount-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.exit-discount-timer {
    display: block;
    font-size: 12px;
    color: #00a650;
    font-weight: 500;
}

.exit-modal-accept {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: #3483fa;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 12px;
}

.exit-modal-accept:hover {
    background: #2968c8;
}

.exit-modal-accept svg {
    fill: #fff;
    stroke: #fff;
}

.exit-modal-decline {
    display: block;
    width: 100%;
    padding: 10px;
    background: transparent;
    color: #999;
    border: none;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s;
}

.exit-modal-decline:hover {
    color: #666;
    text-decoration: underline;
}

/* Desconto aplicado badge */
.exit-discount-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #00a650;
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
}

.exit-discount-badge svg {
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .exit-modal {
        max-width: 340px;
    }
    
    .exit-modal-content {
        padding: 20px 16px;
    }
    
    .exit-modal-title {
        font-size: 18px;
    }
    
    .exit-discount-percent {
        font-size: 36px;
    }
    
    .exit-modal-discount {
        flex-direction: column;
        gap: 8px;
    }
    
    .exit-discount-info {
        text-align: center;
    }
}

