/**
 * WooCommerce Checkout Multistep - Styles
 */

/* ========================================
   Reset & Base
   ======================================== */
.wcms-multistep-checkout {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    line-height: 1.6;
}

.wcms-multistep-checkout * {
    box-sizing: border-box;
}

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

/* ========================================
   Header
   ======================================== */
.wcms-checkout-header {
    background: #708803;
    color: white;
    padding: 20px 0;
}

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

.wcms-site-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.wcms-contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 14px;
}

.wcms-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* ========================================
   Progress Bar
   ======================================== */
.wcms-progress-section {
    background: #f9f9f9;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
}

.wcms-progress-bar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.wcms-progress-line {
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e0e0e0;
    z-index: 1;
}

.wcms-progress-line-fill {
    height: 100%;
    background: #708803;
    transition: width 0.4s ease;
    width: 0%;
}

.wcms-progress-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.wcms-step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #999;
    transition: all 0.3s ease;
}

.wcms-progress-step.active .wcms-step-circle,
.wcms-progress-step.completed .wcms-step-circle {
    background: #708803;
    border-color: #708803;
    color: white;
}

.wcms-step-title {
    font-size: 14px;
    font-weight: 500;
    color: #999;
    transition: color 0.3s ease;
}

.wcms-progress-step.active .wcms-step-title,
.wcms-progress-step.completed .wcms-step-title {
    color: #708803;
    font-weight: 600;
}

/* ========================================
   Main Content
   ======================================== */
.wcms-checkout-main {
    padding: 40px 0;
}

.wcms-checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

.wcms-checkout-content {
    min-height: 500px;
}

.wcms-step-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.wcms-step-content.active {
    display: block;
}

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

.wcms-section-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 30px 0;
    color: #333;
}

/* ========================================
   Cart Items (Step 1)
   ======================================== */
.wcms-cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.wcms-cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    align-items: center;
    transition: opacity 0.3s ease;
}

.wcms-item-image img {
    width: 100px;
    height: 100px;
    object-fit: contain;  /* Mudado de cover para contain */
    border-radius: 6px;
}

.wcms-item-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wcms-item-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.wcms-item-price {
    font-size: 16px;
    color: #708803;
    font-weight: 600;
    margin: 0;
}

.wcms-quantity-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wcms-qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 5px;
}

.wcms-qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    transition: all 0.2s ease;
}

.wcms-qty-btn:hover {
    background: #708803;
    color: white;
}

.wcms-qty-input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
}

.wcms-remove-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    color: #999;
    transition: all 0.2s ease;
}

.wcms-remove-btn:hover {
    background: #708803;
    border-color: #708803;
    color: white;
}

/* ========================================
   Form (Step 2)
   ======================================== */
.wcms-form-section {
    margin-bottom: 30px;
}

.wcms-form-subtitle {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #333;
}

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

.wcms-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.wcms-form-label .required {
    color: #708803;
}

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

.wcms-form-input:focus,
.wcms-form-select:focus {
    outline: none;
    border-color: #708803;
    box-shadow: 0 0 0 3px rgba(125, 31, 62, 0.1);
}

.wcms-form-input.error,
.wcms-form-select.error {
    border-color: #708803;
}

/* ========================================
   Payment Methods (Step 3)
   ======================================== */
.wcms-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.wcms-payment-option {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wcms-payment-option.active {
    border-color: #708803;
    box-shadow: 0 4px 12px rgba(125, 31, 62, 0.1);
}

.wcms-payment-label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    cursor: pointer;
    background: white;
    transition: background 0.2s ease;
}

.wcms-payment-label:hover {
    background: #f9f9f9;
}

.wcms-payment-radio {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.wcms-payment-info-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.wcms-payment-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 6px;
    font-size: 18px;
    color: #708803;
}

.wcms-payment-icon-img img {
    max-height: 30px;
    width: auto;
}

.wcms-payment-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.wcms-payment-details {
    display: none;
    padding: 20px;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
}

.wcms-payment-option.active .wcms-payment-details {
    display: block;
}

.wcms-payment-description {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
}

.wcms-payment-fields {
    margin-top: 15px;
}

/* ========================================
   Authentication (Step 2)
   ======================================== */
.wcms-logged-in-info {
    text-align: center;
    padding: 40px 20px;
}

.wcms-success-icon-large {
    font-size: 60px;
    color: #4caf50;
    margin-bottom: 20px;
}

.wcms-logged-in-text {
    font-size: 16px;
    color: #666;
    margin: 15px 0;
}

.wcms-logged-in-subtext {
    font-size: 14px;
    color: #999;
    margin: 10px 0 30px 0;
}

.wcms-logout-option {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.wcms-logout-link {
    color: #999;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wcms-logout-link:hover {
    color: #708803;
}

.wcms-section-description {
    font-size: 15px;
    color: #666;
    margin: -10px 0 30px 0;
}

.wcms-auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.wcms-auth-tab {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.wcms-auth-tab:hover {
    color: #708803;
}

.wcms-auth-tab.active {
    color: #708803;
    border-bottom-color: #708803;
}

.wcms-auth-tab i {
    margin-right: 8px;
}

.wcms-auth-tab-content {
    display: none;
}

.wcms-auth-tab-content.active {
    display: block;
}

.wcms-field-hint {
    display: block;
    font-size: 13px;
    color: #999;
    margin-top: 5px;
}

.wcms-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.wcms-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.wcms-checkbox-label a {
    color: #708803;
    text-decoration: none;
}

.wcms-checkbox-label a:hover {
    text-decoration: underline;
}

.wcms-forgot-password {
    text-align: right;
    margin-top: 10px;
}

.wcms-forgot-password a {
    color: #708803;
    font-size: 14px;
    text-decoration: none;
}

.wcms-forgot-password a:hover {
    text-decoration: underline;
}

/* ========================================
   Confirmation (Step 5)
   ======================================== */
.wcms-confirmation-content {
    text-align: center;
    padding: 60px 20px;
}

.wcms-success-icon {
    font-size: 80px;
    color: #4caf50;
    margin-bottom: 20px;
}

.wcms-confirmation-title {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #333;
}

.wcms-confirmation-text {
    font-size: 16px;
    color: #666;
    margin: 0 0 30px 0;
}

.wcms-order-info {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
    text-align: left;
}

/* ========================================
   Sidebar
   ======================================== */
.wcms-order-sidebar {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.wcms-sidebar-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #333;
}

.wcms-summary-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
}

.wcms-summary-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 15px;
}

.wcms-summary-image img {
    width: 60px;
    height: 60px;
    object-fit: contain;  /* Mudado de cover para contain */
    border-radius: 6px;
}

.wcms-summary-details h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #333;
}

.wcms-summary-qty {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.wcms-summary-price {
    font-size: 14px;
    font-weight: 600;
    color: #708803;
    margin: 5px 0 0 0;
}

.wcms-totals-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wcms-total-line {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #666;
}

.wcms-total-line.final {
    padding-top: 12px;
    border-top: 2px solid #ddd;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.wcms-total-line.wcms-discount-line {
    color: #1b5e20;
    font-weight: 600;
}

.wcms-total-line.wcms-discount-line .wcms-discount-amount {
    color: #1b5e20;
    font-weight: 700;
    opacity: 1 !important;
}

/* ========================================
   Buttons
   ======================================== */
.wcms-step-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.wcms-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    justify-content: center;
}

.wcms-btn-primary {
    background: #708803;
    color: white;
}

.wcms-btn-primary:hover {
    background: #5a6f02;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(125, 31, 62, 0.3);
}

.wcms-btn-secondary {
    background: white;
    color: #708803;
    border: 2px solid #708803;
}

.wcms-btn-secondary:hover {
    background: #f9f9f9;
}

/* ========================================
   Loading State
   ======================================== */
.wcms-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.wcms-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #708803;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   Messages
   ======================================== */
.wcms-message {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wcms-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wcms-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wcms-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 992px) {
    .wcms-checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .wcms-order-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .wcms-header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .wcms-contact-info {
        align-items: center;
    }
    
    .wcms-progress-bar {
        max-width: 100%;
    }
    
    .wcms-step-title {
        font-size: 12px;
    }
    
    .wcms-step-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .wcms-cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    
    .wcms-quantity-section {
        grid-column: 1 / -1;
        justify-content: space-between;
    }
    
    .wcms-form-grid {
        grid-template-columns: 1fr;
    }
    
    .wcms-step-actions {
        flex-direction: column;
    }
    
    .wcms-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .wcms-container {
        padding: 0 15px;
    }
    
    .wcms-checkout-main {
        padding: 20px 0;
    }
    
    .wcms-section-title {
        font-size: 24px;
    }
    
    .wcms-order-sidebar {
        padding: 20px;
    }
}


/* ========================================
   Order Details & Payment Display
   ======================================== */
.wcms-order-summary {
    max-width: 600px;
    margin: 0 auto;
}

.wcms-order-info-box {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    text-align: center;
}

.wcms-order-info-box h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 20px;
}

.wcms-order-info-box p {
    margin: 8px 0;
    font-size: 15px;
    color: #666;
}

.wcms-order-info-box strong {
    color: #333;
}

.wcms-status-pending {
    color: #ff9800;
    font-weight: 600;
}

.wcms-status-processing {
    color: #2196f3;
    font-weight: 600;
}

.wcms-status-completed {
    color: #4caf50;
    font-weight: 600;
}

.wcms-status-on-hold {
    color: #ff9800;
    font-weight: 600;
}

.wcms-status-cancelled,
.wcms-status-failed {
    color: #f44336;
    font-weight: 600;
}

/* Payment Box */
.wcms-payment-box {
    background: #fff;
    border: 2px solid #708803;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
}

.wcms-payment-box h3 {
    margin: 0 0 20px 0;
    color: #708803;
    font-size: 22px;
    text-align: center;
}

.wcms-payment-box h3 i {
    margin-right: 10px;
}

/* PIX Styles */
.wcms-pix-box {
    border-color: #00a868;
}

.wcms-pix-box h3 {
    color: #00a868;
}

.wcms-pix-instructions {
    text-align: center;
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
}

.wcms-qrcode-container {
    text-align: center;
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.wcms-qrcode-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    border: 3px solid #00a868;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
}

.wcms-pix-code-container {
    margin: 25px 0;
}

.wcms-pix-code-container label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 14px;
}

.wcms-code-wrapper {
    display: flex;
    gap: 10px;
}

.wcms-pix-code-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    background: #f8f9fa;
    color: #333;
}

.wcms-btn-copy {
    padding: 12px 20px;
    background: #00a868;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.wcms-btn-copy:hover {
    background: #008c56;
    transform: translateY(-2px);
}

.wcms-btn-copy.copied {
    background: #4caf50;
}

.wcms-pix-expiration {
    text-align: center;
    color: #ff9800;
    font-weight: 600;
    margin: 15px 0;
    font-size: 15px;
}

.wcms-pix-expiration i {
    margin-right: 8px;
}

.wcms-pix-steps {
    margin-top: 30px;
    padding: 20px;
    background: #f0f8f5;
    border-radius: 8px;
    border-left: 4px solid #00a868;
}

.wcms-pix-steps h4 {
    margin: 0 0 15px 0;
    color: #00a868;
    font-size: 16px;
}

.wcms-pix-steps ol {
    margin: 0 0 15px 0;
    padding-left: 25px;
}

.wcms-pix-steps li {
    margin: 8px 0;
    color: #666;
    font-size: 14px;
}

.wcms-pix-note {
    margin: 15px 0 0 0;
    padding: 12px;
    background: #fff;
    border-radius: 6px;
    color: #666;
    font-size: 13px;
}

.wcms-pix-note i {
    color: #00a868;
    margin-right: 8px;
}

/* Boleto Styles */
.wcms-boleto-box {
    border-color: #ff9800;
}

.wcms-boleto-box h3 {
    color: #ff9800;
}

.wcms-btn-boleto {
    display: block;
    width: 100%;
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    font-size: 16px;
}

.wcms-boleto-line {
    margin: 20px 0;
}

.wcms-boleto-line label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 14px;
}

.wcms-boleto-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    background: #f8f9fa;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .wcms-qrcode-image {
        max-width: 250px;
    }
    
    .wcms-code-wrapper {
        flex-direction: column;
    }
    
    .wcms-btn-copy {
        width: 100%;
    }
    
    .wcms-payment-box {
        padding: 20px;
    }
}


/* ========================================
   Vindi Payment Display
   ======================================== */
.wcms-vindi-box {
    border-color: #006DFF;
}

.wcms-vindi-box .vindi_payment_listing {
    margin: 0;
    padding: 0;
}

.wcms-vindi-box .info_message {
    background: #f0f7ff;
    border: 1px solid #006DFF;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
}

.wcms-vindi-box .info_message .icon {
    width: 40px;
    height: 40px;
    background: #006DFF;
    border-radius: 50%;
    flex-shrink: 0;
}

.wcms-vindi-box .info_message .icon::before {
    content: "ℹ";
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.wcms-vindi-box .message_title {
    font-size: 18px;
    font-weight: 600;
    color: #006DFF;
    margin: 0 0 10px 0;
}

.wcms-vindi-box .message_description {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.wcms-vindi-box .charges {
    margin-top: 20px;
}

.wcms-vindi-box .pix_charge {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
}

.wcms-vindi-box .pix_product_title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.wcms-vindi-box .qr_code_viwer {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.wcms-vindi-box .qr_code_viwer object {
    max-width: 300px;
    width: 100%;
    height: auto;
    border: 3px solid #006DFF;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
}

.wcms-vindi-box .copy_vindi_line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #006DFF;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.wcms-vindi-box .copy_vindi_line:hover {
    background: #0056cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 109, 255, 0.3);
}

.wcms-vindi-box .copy_vindi_line svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Adjust Vindi button container */
.wcms-vindi-box div[style*="display: flex"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    right: auto !important;
    margin-top: 15px;
}

/* Responsive adjustments for Vindi */
@media (max-width: 768px) {
    .wcms-vindi-box .qr_code_viwer object {
        max-width: 250px;
    }
    
    .wcms-vindi-box .pix_charge {
        padding: 20px 15px;
    }
    
    .wcms-vindi-box .copy_vindi_line {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   FORÇA COR VERDE - SOBRESCREVE TEMA
   ======================================== */

/* Botão + (qty-plus) - TODOS OS ESTADOS */
.wcms-qty-plus,
.wcms-qty-btn.wcms-qty-plus,
button.wcms-qty-plus,
button[class*="qty-plus"] {
    background: #708803 !important;
    background-color: #708803 !important;
    color: white !important;
    border-color: #708803 !important;
    border: 1px solid #708803 !important;
}

.wcms-qty-plus:hover,
.wcms-qty-btn.wcms-qty-plus:hover,
button.wcms-qty-plus:hover {
    background: #5a6f02 !important;
    background-color: #5a6f02 !important;
    border-color: #5a6f02 !important;
}

.wcms-qty-plus:active,
.wcms-qty-plus:focus {
    background: #5a6f02 !important;
    background-color: #5a6f02 !important;
}

/* Botão Continuar (btn-primary) - TODOS OS ESTADOS */
.wcms-btn-primary,
button.wcms-btn-primary,
.wcms-btn.wcms-btn-primary,
button[class*="btn-primary"] {
    background: #708803 !important;
    background-color: #708803 !important;
    color: white !important;
    border-color: #708803 !important;
    border: 2px solid #708803 !important;
}

.wcms-btn-primary:hover,
button.wcms-btn-primary:hover {
    background: #5a6f02 !important;
    background-color: #5a6f02 !important;
    border-color: #5a6f02 !important;
}

.wcms-btn-primary:active,
.wcms-btn-primary:focus {
    background: #5a6f02 !important;
    background-color: #5a6f02 !important;
}

/* Botão Lixeira (remove-btn) - HOVER */
.wcms-remove-btn:hover,
button.wcms-remove-btn:hover {
    background: #708803 !important;
    background-color: #708803 !important;
    color: white !important;
    border-color: #708803 !important;
}

/* Garantia extra - sobrescreve QUALQUER estilo inline */
[class*="wcms-qty-plus"] {
    background: #708803 !important;
    color: white !important;
}

[class*="wcms-btn-primary"] {
    background: #708803 !important;
    color: white !important;
}

/* Botão - (qty-minus) - TODOS OS ESTADOS */
.wcms-qty-minus,
.wcms-qty-btn.wcms-qty-minus,
button.wcms-qty-minus,
button[class*="qty-minus"] {
    background: #708803 !important;
    background-color: #708803 !important;
    color: white !important;
    border-color: #708803 !important;
    border: 1px solid #708803 !important;
}

.wcms-qty-minus:hover,
.wcms-qty-btn.wcms-qty-minus:hover,
button.wcms-qty-minus:hover {
    background: #5a6f02 !important;
    background-color: #5a6f02 !important;
    border-color: #5a6f02 !important;
}

.wcms-qty-minus:active,
.wcms-qty-minus:focus {
    background: #5a6f02 !important;
    background-color: #5a6f02 !important;
}

/* Botão Lixeira (remove-btn) - TODOS OS ESTADOS */
.wcms-remove-btn,
button.wcms-remove-btn,
button[class*="remove-btn"] {
    background: white !important;
    background-color: white !important;
    color: #708803 !important;
    border-color: #708803 !important;
    border: 1px solid #708803 !important;
}

.wcms-remove-btn:hover,
button.wcms-remove-btn:hover {
    background: #708803 !important;
    background-color: #708803 !important;
    color: white !important;
    border-color: #708803 !important;
}

.wcms-remove-btn:active,
.wcms-remove-btn:focus {
    background: #708803 !important;
    background-color: #708803 !important;
    color: white !important;
}

/* Garantia extra para minus */
[class*="wcms-qty-minus"] {
    background: #708803 !important;
    color: white !important;
}

/* Garantia extra para remove */
[class*="wcms-remove-btn"] {
    color: #708803 !important;
    border-color: #708803 !important;
}

[class*="wcms-remove-btn"]:hover {
    background: #708803 !important;
    color: white !important;
}

/* Alinhamento vertical dos botões de quantidade */
.wcms-qty-controls {
    display: flex;
    align-items: center !important;
    gap: 8px;
}

.wcms-qty-btn,
.wcms-qty-input,
.wcms-remove-btn {
    vertical-align: middle !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ========================================
   Shipping Methods (Etapa 4)
   ======================================== */

.wcms-shipping-methods {
    margin-top: 20px;
}

.wcms-loading-shipping {
    text-align: center;
    padding: 30px;
    color: #666;
    font-size: 16px;
}

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

.wcms-shipping-option {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0;
    transition: all 0.3s ease;
    background: white;
}

.wcms-shipping-option:hover {
    border-color: #708803;
    box-shadow: 0 2px 8px rgba(112, 136, 3, 0.1);
}

.wcms-shipping-option label {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    margin: 0;
}

.wcms-shipping-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    cursor: pointer;
    accent-color: #708803;
}

.wcms-shipping-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.wcms-shipping-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.wcms-shipping-cost {
    font-size: 18px;
    font-weight: 600;
    color: #708803;
}

.wcms-shipping-option input[type="radio"]:checked + .wcms-shipping-info {
    color: #708803;
}

.wcms-shipping-option:has(input[type="radio"]:checked) {
    border-color: #708803;
    background: #f4f7e8;
}

/* Mobile */
@media (max-width: 768px) {
    .wcms-shipping-option label {
        padding: 15px;
    }
    
    .wcms-shipping-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .wcms-shipping-cost {
        font-size: 16px;
    }
}

/* ========================================
   Member Savings Banner
   ======================================== */
.wcms-member-savings-banner {
    background: linear-gradient(135deg, #708803 0%, #8da005 100%);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(112, 136, 3, 0.2);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(112, 136, 3, 0.2);
    }
    50% {
        box-shadow: 0 4px 20px rgba(112, 136, 3, 0.4);
    }
}

.wcms-savings-icon {
    font-size: 48px;
    margin-bottom: 10px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.wcms-savings-content {
    color: white;
}

.wcms-savings-title {
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 8px 0;
    opacity: 0.95;
}

.wcms-savings-amount {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

.wcms-savings-cta {
    display: inline-block;
    background: white;
    color: #708803;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.wcms-savings-cta:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #708803;
    text-decoration: none;
}

.wcms-savings-cta:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .wcms-member-savings-banner {
        padding: 16px;
        margin-top: 16px;
    }
    
    .wcms-savings-icon {
        font-size: 36px;
    }
    
    .wcms-savings-amount {
        font-size: 28px;
    }
    
    .wcms-savings-cta {
        padding: 10px 20px;
        font-size: 13px;
    }
}
