/* ========================================
   PÁGINA DE PRODUTO E-COMMERCE
   Design: Profissional, Limpo, Mobile-First
   ======================================== */

:root {
    --primary-red: #FF0000;
    --primary-green: #00C853;
    --primary-yellow: #FFD600;
    --dark: #1a1a1a;
    --gray: #666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.container-small {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .container {
        max-width: 1200px;
        padding: 0 20px;
    }
    
    .container-small {
        max-width: 800px;
        padding: 0 20px;
    }
}

/* ========================================
   HEADER MOBILE-FIRST
   ======================================== */
.header-mobile {
    background: var(--white);
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 100%;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.header-left {
    flex-shrink: 0;
}

.logo-header {
    height: 32px;
    width: auto;
}

.header-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header-label {
    font-size: 0.7rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 3px;
}

.header-timer,
.header-stock {
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--primary-red);
    line-height: 1;
}

@media (min-width: 768px) {
    .header-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .logo-header {
        height: 40px;
    }
    
    .header-right {
        gap: 25px;
    }
    
    .header-label {
        font-size: 0.75rem;
    }
    
    .header-timer,
    .header-stock {
        font-size: 1.1rem;
    }
}

/* ========================================
   PRODUTO ESTILO E-COMMERCE
   ======================================== */
.product-section {
    padding: 40px 0 60px;
    background: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

/* Coluna da Imagem */
.product-image-column {
    width: 100%;
}

.product-image-wrapper {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.product-main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Coluna de Informações */
.product-info-column {
    width: 100%;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 15px;
}

/* Avaliações */
.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars {
    display: flex;
    gap: 3px;
}

.star-icon {
    width: 18px;
    height: 18px;
    color: #FFA500;
}

.star-icon.filled {
    fill: #FFA500;
}

.rating-count {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Preço */
.product-pricing {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.price-old-product {
    display: block;
    font-size: 0.95rem;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 8px;
}

.price-current-wrapper {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.price-current-product {
    font-size: 2rem;
    font-weight: 900;
    color: var(--dark);
}

.price-installment {
    font-size: 0.85rem;
    color: var(--gray);
}

.stock-warning {
    font-size: 0.85rem;
    color: #d32f2f;
    margin: 0;
}

/* Seleção de Kits - Layout Simples e Limpo */
.kit-selection {
    margin-bottom: 30px;
}

.selection-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.kits-grid-ecommerce {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kit-option {
    position: relative;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.kit-option:hover {
    border-color: #999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.kit-option.selected {
    border-color: #00C853;
    background: #f9fff9;
}

/* Badge no topo (apenas "Mais Vendido") */
.kit-badge-top {
    position: absolute;
    top: -8px;
    left: 12px;
    background: #00C853;
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Imagem */
.kit-image {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: #f5f5f5;
    border-radius: 6px;
    overflow: hidden;
}

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

/* Informações */
.kit-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.kit-header {
    display: flex;
    align-items: center;
    gap: 6px;
}

.kit-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    line-height: 1.2;
}

.kit-badge-inline {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    background: #d32f2f;
    color: var(--white);
}

.kit-badge-inline.bestseller {
    background: #00C853;
}

.kit-badge-inline.premium {
    background: #FFB300;
}

.kit-description {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    line-height: 1.3;
}

/* Seção de Preço */
.kit-price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.kit-price-old {
    font-size: 0.7rem;
    color: #999;
    text-decoration: line-through;
    line-height: 1;
}

.kit-price-current {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
}

/* Botão de Compra */
.btn-buy-product {
    width: 100%;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.btn-buy-product:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cart-icon {
    width: 22px;
    height: 22px;
}

/* Benefícios */
.product-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
}

.benefit-item-ecommerce {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--gray);
}

.benefit-icon-svg {
    width: 20px;
    height: 20px;
    color: var(--dark);
    flex-shrink: 0;
}

/* Desktop */
@media (min-width: 768px) {
    .product-section {
        padding: 60px 0 80px;
    }
    
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .star-icon {
        width: 20px;
        height: 20px;
    }
    
    .price-current-product {
        font-size: 2.5rem;
    }
    
    .kit-image {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }
    
    .kit-title {
        font-size: 1rem;
    }
    
    .kit-description {
        font-size: 0.85rem;
    }
    
    .kit-price-current {
        font-size: 1.6rem;
    }
    
    .product-benefits {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

/* ========================================
   CHECKOUT SIMPLIFICADO
   ======================================== */
.checkout-section {
    background: var(--light-gray);
    padding: 60px 0 80px;
}

.checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.checkout-subtitle {
    font-size: 1rem;
    color: var(--gray);
}

.checkout-form {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Resumo do Pedido */
.order-summary-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    border: 2px solid var(--primary-green);
}

.summary-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.summary-product {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.summary-items {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.summary-price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 2px dashed #ccc;
    border-bottom: 2px dashed #ccc;
    margin-bottom: 10px;
}

.summary-label {
    font-size: 1rem;
    font-weight: 600;
}

.summary-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-green);
}

.summary-pix {
    font-size: 0.85rem;
    color: var(--gray);
    text-align: center;
}

/* Form Sections */
.form-section {
    margin-bottom: 30px;
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-small {
    grid-column: span 1;
}

.form-group-large {
    grid-column: span 1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
    font-size: 0.9rem;
}

.form-group input {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
}

@media (min-width: 768px) {
    .checkout-form {
        padding: 40px;
    }
    
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .form-group-large {
        grid-column: span 2;
    }
}

/* Payment Method */
.payment-method-box {
    margin-bottom: 25px;
}

.payment-option {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option.selected {
    border-color: var(--primary-green);
    background: #f0fff4;
}

.payment-option label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    width: 18px;
    height: 18px;
}

.payment-icon {
    font-size: 1.2rem;
    font-weight: 700;
}

.payment-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.payment-info strong {
    font-size: 1rem;
}

.payment-discount {
    font-size: 0.8rem;
    color: var(--primary-green);
}

.payment-badge {
    background: var(--primary-green);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Botão Checkout */
.btn-checkout {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-green) 0%, #00a843 100%);
    color: var(--white);
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 200, 83, 0.4);
}

/* Trust Seals */
.trust-seals {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 8px;
}

.seal-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--gray);
}

.seal-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-green);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .trust-seals {
        flex-direction: row;
        justify-content: space-around;
    }
}

/* Payment Flags */
.payment-flags {
    text-align: center;
    color: var(--gray);
}

.payment-flags p {
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.flags {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.flag {
    background: var(--white);
    border: 1px solid #e0e0e0;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ========================================
   MODAL DE PAGAMENTO
   ======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.modal-content p {
    text-align: center;
    color: var(--gray);
    margin-bottom: 20px;
}

.text-center {
    text-align: center;
}

#qrcode-container {
    text-align: center;
    margin: 25px 0;
}

#qrcode-container img {
    max-width: 250px;
    border-radius: 8px;
}

.pix-copy-paste {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.pix-copy-paste input {
    flex: 1;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.85rem;
}

#btn-copy {
    padding: 10px 18px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s ease;
}

#btn-copy:hover {
    background: #333;
}

.timer-pix {
    text-align: center;
    font-weight: 700;
    color: var(--primary-red);
    margin: 15px 0;
}

.status-waiting {
    text-align: center;
    color: var(--gray);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spinner-icon {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

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

/* ========================================
   POP-UP DE NOTIFICAÇÃO
   ======================================== */
.notification-popup {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--white);
    padding: 18px 22px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    z-index: 9999;
    display: none;
    animation: slideInRight 0.4s ease;
    max-width: 350px;
}

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

.notification-popup.show {
    display: block;
}

.notification-popup.hide {
    animation: slideOutRight 0.4s ease forwards;
}

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

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.notification-icon.success {
    background: var(--primary-green);
    color: var(--white);
}

.notification-icon.error {
    background: var(--primary-red);
    color: var(--white);
}

.notification-icon.warning {
    background: var(--primary-yellow);
    color: var(--dark);
}

.notification-icon.info {
    background: #2196F3;
    color: var(--white);
}

.notification-message {
    flex: 1;
    font-size: 0.9rem;
    color: var(--dark);
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 480px) {
    .notification-popup {
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 15px 18px;
        top: 70px;
    }
    
    .notification-icon {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
    
    .notification-message {
        font-size: 0.85rem;
    }
}


/* ========================================
   CHECKOUT PROFISSIONAL PIX
   ======================================== */
.checkout-section {
    background: #f5f7fa;
    padding: 40px 0 80px;
    min-height: 100vh;
}

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Coluna Esquerda */
.checkout-left {
    order: 2;
}

.checkout-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.checkout-main-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 30px;
    color: var(--dark);
}

.checkout-section-form {
    margin-bottom: 35px;
}

.section-title-checkout {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-icon {
    width: 22px;
    height: 22px;
    color: var(--dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
}

.form-field input {
    padding: 12px 14px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-field input:focus {
    outline: none;
    border-color: var(--dark);
}

.form-field-small {
    grid-column: span 1;
}

.form-field-large {
    grid-column: span 1;
}

/* Área PIX */
#pix-initial-state {
    text-align: center;
}

.btn-generate-pix {
    width: 100%;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 18px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.btn-generate-pix:hover:not(:disabled) {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

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

.btn-icon {
    width: 22px;
    height: 22px;
}

.pix-info-text {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

/* Loading */
.pix-loading {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    color: var(--dark);
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

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

.pix-loading p {
    font-size: 1rem;
    color: var(--gray);
    margin: 0;
}

/* PIX Payment Area */
.pix-payment-area {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px 20px;
}

.qr-code-wrapper {
    text-align: center;
    margin-bottom: 25px;
}

#qr-code-display {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
    background: var(--white);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#qr-code-display img,
#qr-code-display canvas {
    display: block;
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

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

.pix-code-area label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.pix-code-input-group {
    display: flex;
    gap: 10px;
}

#pix-code-input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: monospace;
    background: var(--white);
}

.btn-copy-code {
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.copy-icon {
    width: 18px;
    height: 18px;
}

.pix-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #fff3cd;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #856404;
}

.timer-icon {
    width: 20px;
    height: 20px;
    color: #856404;
}

.pix-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray);
}

.status-icon {
    width: 18px;
    height: 18px;
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Trust Elements */
.trust-elements {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray);
}

.trust-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-green);
    flex-shrink: 0;
}

.security-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 15px;
    line-height: 1.5;
}

/* Coluna Direita: Resumo */
.checkout-right {
    order: 1;
}

.order-summary-card {
    background: var(--white);
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 80px;
}

.summary-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

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

.summary-product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.summary-product-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark);
}

.summary-product-info p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

.summary-divider {
    height: 1px;
    background: #e1e8ed;
    margin: 20px 0;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--gray);
}

.free-shipping {
    color: var(--primary-green);
    font-weight: 600;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--dark);
}

/* Desktop */
@media (min-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 40px;
    }
    
    .checkout-left {
        order: 1;
    }
    
    .checkout-right {
        order: 2;
    }
    
    .checkout-card {
        padding: 40px 35px;
    }
    
    .form-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .form-field-large {
        grid-column: span 2;
    }
    
    .trust-elements {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pix-code-input-group {
        gap: 12px;
    }
}

@media (min-width: 1024px) {
    .checkout-section {
        padding: 60px 0 100px;
    }
}
