/**
 * Sistema de Orçamento WooCommerce - Multi-Step Form Styles
 * Versão refatorada - Largura total e layout moderno
 * 
 * @package Sistema_Orcamento_Woo
 * @version 3.0.2
 */

/* ============================================================================
   RESET DE BOTÕES - GARANTE PRIORIDADE
   ============================================================================ */

.sow-quote-container button[type="button"],
.sow-quote-container button[type="submit"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    outline: none;
}

/* ============================================================================
   BASE CONTAINER - LARGURA TOTAL
   ============================================================================ */

.sow-quote-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* ============================================================================
   EMPTY STATE - DESIGN MODERNO COM GLASSMORPHISM
   ============================================================================ */

.sow-empty-state-modern {
    width: 100%;
    padding: 60px 20px;
}

.sow-empty-header {
    text-align: center;
    margin-bottom: 60px;
}

.sow-empty-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    margin: 0 auto 30px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    animation: float 3s ease-in-out infinite;
}

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

.sow-empty-cart-icon {
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.sow-empty-title {
    font-size: clamp(28px, 5vw, 38px);
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 16px;
    line-height: 1.2;
}

.sow-empty-subtitle {
    font-size: 18px;
    color: #64748b;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Product Grid */
.sow-empty-products {
    margin: 60px 0;
}

.sow-products-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin: 0 0 40px;
}

.sow-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: 0 auto;
    max-width: 1400px;
}

/* Product Card com Glassmorphism */
.sow-product-card {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.sow-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.sow-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.sow-product-card:hover::before {
    opacity: 1;
}

.sow-product-image {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sow-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sow-product-card:hover .sow-product-image img {
    transform: scale(1.1);
}

.sow-no-image {
    font-size: 48px;
    opacity: 0.3;
}

.sow-product-info {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.sow-product-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sow-product-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sow-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.sow-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #6366f1;
}

.sow-product-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sow-product-btn:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Empty Actions */
.sow-empty-actions {
    text-align: center;
    margin-top: 50px;
}

.sow-btn-large {
    padding: 18px 40px !important;
    font-size: 18px !important;
    min-height: 60px !important;
}

/* OLD EMPTY STATE - MANTÉM PARA COMPATIBILIDADE */
.sow-empty-state {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sow-empty-icon {
    margin-bottom: 24px;
    color: #ddd;
}

.sow-empty-state h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px;
}

.sow-empty-state p {
    font-size: 16px;
    color: #666;
    margin: 0 0 32px;
}

/* ============================================================================
   CART WRAPPER - NOVA ESTRUTURA
   ============================================================================ */

.sow-cart-wrapper {
    background: white;
    border-radius: 16px;
    padding: clamp(20px, 3vw, 40px);
    margin-bottom: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.sow-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f3f4f6;
}

.sow-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sow-header-left svg {
    color: #6366f1;
    flex-shrink: 0;
}

.sow-header-left h2 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.sow-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

/* ============================================================================
   CART ITEMS
   ============================================================================ */

.sow-cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sow-cart-item {
    display: grid;
    grid-template-columns: minmax(90px, 120px) 1fr auto;
    gap: clamp(12px, 2vw, 20px);
    padding: clamp(16px, 2.5vw, 24px);
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sow-cart-item:hover {
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.sow-cart-item-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.sow-cart-item-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sow-cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.sow-cart-item-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.4;
}

.sow-cart-item-name a {
    color: inherit;
    text-decoration: none;
}

.sow-cart-item-name a:hover {
    color: #6366f1;
}

.sow-cart-item-variations {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sow-variation-item {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: white;
    border-radius: 6px;
    font-size: 12px;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.sow-variation-item strong {
    color: #374151;
    margin-right: 4px;
}

.sow-cart-item-price {
    font-size: 18px;
    font-weight: 700;
    color: #6366f1;
}

.sow-cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.sow-quantity-selector {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: white;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    overflow: hidden;
    width: auto;
    max-width: fit-content;
}

.sow-qty-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border: none !important;
    background: #6366f1 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sow-qty-btn:hover {
    background: #4f46e5 !important;
    transform: scale(1.05) !important;
}

.sow-qty-btn svg {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
}

.sow-qty-input {
    width: 50px !important;
    max-width: 50px !important;
    min-width: 50px !important;
    height: 36px !important;
    border: none !important;
    border-left: 2px solid #e5e7eb !important;
    border-right: 2px solid #e5e7eb !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    appearance: textfield !important;
    -moz-appearance: textfield !important;
    background: white !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

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

.sow-qty-input:focus {
    outline: none;
    background: #f9fafb;
}

.sow-remove-item {
    width: 36px;
    height: 36px;
    border: 1px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    transition: all 0.2s ease;
}

.sow-remove-item:hover {
    background: #fef2f2;
    border-color: #ef4444;
    transform: scale(1.05);
}

.sow-cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid #f3f4f6;
}

.sow-cart-total {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.sow-cart-total span {
    color: #6b7280;
}

.sow-cart-total strong {
    background: #6366f1;
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 700;
}

/* ============================================================================
   STEPS INDICATOR - REDESENHADO
   ============================================================================ */

.sow-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 32px 24px;
    margin-bottom: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.sow-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.sow-step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.sow-step-text {
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.sow-step-line {
    width: 80px;
    height: 2px;
    background: #e5e7eb;
    margin: 0 16px;
    transition: all 0.3s ease;
}

/* Active Step */
.sow-step-item.active .sow-step-circle {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: #6366f1;
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transform: scale(1.1);
}

.sow-step-item.active .sow-step-text {
    color: #6366f1;
    font-weight: 600;
}

/* Completed Step */
.sow-step-item.completed .sow-step-circle {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.sow-step-item.completed .sow-step-text {
    color: #10b981;
}

.sow-step-item.completed + .sow-step-line {
    background: #10b981;
}

/* ============================================================================
   TABS
   ============================================================================ */

.sow-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: #f3f4f6;
    padding: 4px;
    border-radius: 12px;
}

.sow-tab {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #6b7280;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sow-tab:hover {
    color: #374151;
}

.sow-tab.active {
    background: white;
    color: #6366f1;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sow-tab-content {
    display: none;
}

.sow-tab-content.active {
    display: block;
}

/* ============================================================================
   FORM STEPS
   ============================================================================ */

.sow-form-step {
    display: none;
    background: white;
    padding: clamp(24px, 4vw, 48px);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.sow-form-step.active {
    display: block;
}

.sow-form-step h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}

.sow-step-description {
    color: #6b7280;
    margin: 0 0 24px;
    font-size: 15px;
}

/* ============================================================================
   FORM FIELDS
   ============================================================================ */

.sow-form-field {
    margin-bottom: 20px;
    position: relative;
}

.sow-form-field label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
    font-size: 14px;
}

/* CEP Loading Indicator */
.sow-cep-loading {
    display: inline-block;
    margin-left: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    animation: fadeIn 0.3s ease;
}

.sow-cep-loading.success {
    color: #10b981 !important;
    font-weight: 600 !important;
}

.sow-cep-loading.error {
    color: #ef4444 !important;
    font-weight: 600 !important;
}

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

/* CEP Input Loading State */
.sow-cep-field.sow-loading {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='8' fill='none' stroke='%234f46e5' stroke-width='2' stroke-dasharray='50' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 10 10' to='360 10 10' dur='1s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 20px 20px !important;
    padding-right: 45px !important;
}

.sow-form-field input[type="text"],
.sow-form-field input[type="email"],
.sow-form-field input[type="tel"],
.sow-form-field input[type="password"],
.sow-form-field textarea,
.sow-form-field select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafbfc;
    color: #1f2937;
    font-weight: 500;
}

.sow-form-field input:focus,
.sow-form-field textarea:focus,
.sow-form-field select:focus {
    outline: none;
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
    transform: translateY(-1px);
}

.sow-form-field.error input,
.sow-form-field.error textarea,
.sow-form-field.error select {
    border-color: #ef4444;
}

/* ============================================================================
   BUTTONS - COM ESPECIFICIDADE MAIOR
   ============================================================================ */

.sow-quote-container .sow-btn-primary,
.sow-quote-container .sow-btn-secondary,
.sow-quote-container button.sow-btn-primary,
.sow-quote-container button.sow-btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    padding: 16px 32px !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    width: auto;
    line-height: 1.5;
}

.sow-quote-container .sow-btn-primary,
.sow-quote-container button.sow-btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    color: white !important;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35) !important;
    border: none !important;
}

.sow-quote-container .sow-btn-primary:hover,
.sow-quote-container button.sow-btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.45) !important;
}

.sow-quote-container .sow-btn-primary:active,
.sow-quote-container button.sow-btn-primary:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35) !important;
}

.sow-quote-container .sow-btn-secondary,
.sow-quote-container button.sow-btn-secondary {
    background: white !important;
    color: #6366f1 !important;
    border: 2px solid #6366f1 !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15) !important;
}

.sow-quote-container .sow-btn-secondary:hover,
.sow-quote-container button.sow-btn-secondary:hover {
    background: #6366f1 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3) !important;
}

.sow-quote-container .sow-btn-secondary:active,
.sow-quote-container button.sow-btn-secondary:active {
    transform: translateY(0) !important;
}

.sow-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.sow-form-actions .sow-btn-primary,
.sow-form-actions .sow-btn-secondary,
.sow-form-actions button.sow-btn-primary,
.sow-form-actions button.sow-btn-secondary {
    flex: 1;
    min-width: 180px;
}

/* Estilos específicos para botões de navegação de steps */
.sow-step-actions button.sow-next-step,
.sow-step-actions button.sow-prev-step,
.sow-step-actions button.sow-submit-button {
    min-height: 52px;
    font-size: 16px !important;
    font-weight: 700 !important;
}

/* ============================================================================
   SWEETALERT2 CUSTOM STYLES - POPUP DE REMOVER
   ============================================================================ */

.sow-remove-popup {
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

.sow-remove-popup .swal2-icon {
    margin: 20px auto 25px !important;
}

.sow-remove-popup .swal2-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 10px !important;
}

.sow-confirm-btn,
.sow-cancel-btn {
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 14px 32px !important;
    border-radius: 12px !important;
    min-width: 140px !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.sow-confirm-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3) !important;
}

.sow-cancel-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3) !important;
}

/* ============================================================================
   REVIEW SECTION - DADOS SALVOS
   ============================================================================ */

.sow-review-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 2px solid #e5e7eb;
}

.sow-review-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px;
}

.sow-saved-info-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    border: 2px solid #93c5fd;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    color: #1e40af;
    font-weight: 500;
}

.sow-saved-info-notice svg {
    flex-shrink: 0;
    color: #3b82f6;
}

.sow-edit-info {
    color: #6366f1;
    text-decoration: underline;
    font-weight: 700;
    margin-left: 4px;
}

.sow-edit-info:hover {
    color: #4f46e5;
}

.sow-review-item {
    display: flex;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #f3f4f6;
}

.sow-review-item:last-child {
    border-bottom: none;
}

.sow-review-item strong {
    min-width: 120px;
    color: #64748b;
    font-weight: 600;
    font-size: 14px;
}

.sow-review-item .sow-review-value {
    flex: 1;
    color: #1e293b;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
    /* Empty State Mobile */
    .sow-product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sow-empty-title {
        font-size: 24px;
    }
    
    .sow-empty-subtitle {
        font-size: 16px;
    }
    
    .sow-empty-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .sow-product-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sow-product-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Cart Mobile */
    .sow-cart-wrapper {
        padding: 20px 16px;
    }
    
    .sow-cart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .sow-header-left h2 {
        font-size: 18px;
    }
    
    .sow-cart-item {
        grid-template-columns: 70px 1fr;
        gap: 12px;
    }
    
    .sow-cart-item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 8px;
    }
    
    .sow-cart-footer {
        flex-direction: column;
        gap: 12px;
    }
    
    .sow-btn-secondary,
    .sow-cart-total {
        width: 100%;
        justify-content: center;
    }
    
    .sow-steps-indicator {
        padding: 24px 16px;
    }
    
    .sow-step-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .sow-step-text {
        font-size: 12px;
    }
    
    .sow-step-line {
        width: 40px;
        margin: 0 8px;
    }
    
    .sow-form-step {
        padding: 24px 16px;
    }
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */

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

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

.sow-cart-wrapper,
.sow-steps-indicator,
.sow-form-step {
    animation: slideUp 0.3s ease;
}

.sow-cart-item {
    animation: fadeIn 0.3s ease;
}

/* ============================================================================
   GUEST OPTION & DIVIDER
   ============================================================================ */

.sow-guest-option {
    margin-top: 32px;
    text-align: center;
}

.sow-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
}

.sow-divider::before,
.sow-divider::after {
    content: '';
    flex: 1;
    border-bottom: 2px solid #e5e7eb;
}

.sow-divider span {
    padding: 0 16px;
    color: #9ca3af;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sow-btn-outline {
    background: white;
    color: #6366f1;
    border: 2px solid #6366f1;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: inline-flex;
}

.sow-btn-outline:hover {
    background: #f0f1ff;
    border-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
}

.sow-guest-continue {
    justify-content: center;
}

.sow-guest-note {
    margin-top: 12px;
    font-size: 13px;
    color: #6b7280;
    font-style: italic;
}

/* ============================================================================
   FORM FIELD IMPROVEMENTS
   ============================================================================ */

.field-error {
    display: none;
    color: #ef4444;
    font-size: 13px;
    margin-top: 6px;
}

.sow-form-field.error .field-error {
    display: block;
}

.sow-form-field.error input,
.sow-form-field.error textarea,
.sow-form-field.error select {
    border-color: #ef4444;
    background: #fef2f2;
}

.field-hint {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-top: 6px;
}

.sow-link {
    color: #6366f1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.sow-link:hover {
    color: #4f46e5;
    text-decoration: underline;
}

.sow-form-footer {
    margin-top: 16px;
    text-align: center;
}

/* ============================================================================
   LOADING STATE
   ============================================================================ */

.sow-btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.sow-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
}

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

/* ============================================================================
   QTY BUTTONS FIX - MELHORIAS (REMOVIDO - DEFINIDO ACIMA)
   ============================================================================ */

/* Hover effect adicional para o container */
.sow-quantity-selector:hover {
    border-color: #6366f1 !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15) !important;
}

/* REMOVIDO - evita duplicação, mantém apenas os estilos principais acima */

/* Botão de remover item */
.sow-remove-item {
    width: 40px;
    height: 40px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 20px;
}

.sow-remove-item:hover {
    background: #fef2f2;
    border-color: #ef4444;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.sow-remove-item:active {
    transform: scale(0.95) rotate(90deg);
}

/* ============================================================================
   MOBILE IMPROVEMENTS
   ============================================================================ */

@media (max-width: 480px) {
    .sow-cart-item {
        grid-template-columns: 60px 1fr;
        gap: 10px;
        padding: 12px;
    }
    
    .sow-cart-item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
    
    .sow-quantity-selector {
        flex: 1;
        max-width: 140px;
    }
    
    .sow-btn {
        font-size: 14px;
        padding: 14px 24px;
    }
    
    .sow-guest-option {
        margin-top: 24px;
    }
}

/* Loading Spinner - Bug #29 */
.sow-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.sow-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sow-spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

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

/* ============================================================================
   TASK 3.4 - ENHANCED VISUAL FEEDBACK
   ============================================================================ */

/* Focus States - Acessibilidade e feedback visual */
.sow-quote-container input:focus,
.sow-quote-container select:focus,
.sow-quote-container textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    transition: all 0.2s ease;
}

/* Invalid State Feedback */
.sow-quote-container input:invalid:not(:focus),
.sow-quote-container select:invalid:not(:focus) {
    border-color: #f87171;
}

.sow-quote-container input.error,
.sow-quote-container select.error {
    border-color: #ef4444;
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Loading State para Inputs */
.sow-quote-container input.loading,
.sow-quote-container select.loading {
    background-image: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.1) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Botões com Ripple Effect */
.sow-btn-primary,
.sow-btn-secondary {
    position: relative;
    overflow: hidden;
}

.sow-btn-primary::after,
.sow-btn-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.sow-btn-primary:active::after,
.sow-btn-secondary:active::after {
    width: 300px;
    height: 300px;
}

/* Step Indicators com Pulse */
.sow-step-progress .step.active::before {
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

/* Product Cards Hover Enhancement */
.sow-products-grid .product {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sow-products-grid .product:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.sow-products-grid .product:active {
    transform: translateY(-4px) scale(1.01);
    transition: all 0.1s ease;
}

/* Cart Item Hover States */
.sow-cart-item {
    transition: all 0.3s ease;
}

.sow-cart-item:hover {
    background: #f8fafc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Quantity Buttons Feedback */
.sow-qty-btn {
    transition: all 0.15s ease;
    position: relative;
}

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

.sow-qty-btn:hover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(99, 102, 241, 0.1);
    border-radius: inherit;
}

/* Progress Bar Animation */
.sow-step-progress-bar {
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Success State */
.sow-quote-container .success-message {
    animation: slideInUp 0.5s ease-out;
}

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

/* Skeleton Loading State */
.sow-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Tooltip Style Enhancement */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 8px 12px;
    background: #1e293b;
    color: white;
    font-size: 13px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1000;
}

[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* Checkbox/Radio Custom Styles */
.sow-quote-container input[type="checkbox"],
.sow-quote-container input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sow-quote-container input[type="radio"] {
    border-radius: 50%;
}

.sow-quote-container input[type="checkbox"]:checked,
.sow-quote-container input[type="radio"]:checked {
    background: #6366f1;
    border-color: #6366f1;
}

.sow-quote-container input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.sow-quote-container input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Disabled State */
.sow-quote-container button:disabled,
.sow-quote-container input:disabled,
.sow-quote-container select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    filter: grayscale(30%);
}

/* ===================================
   Task 3.15 - Keyboard Shortcuts UI
   =================================== */

.sow-keyboard-shortcuts {
    text-align: left;
    padding: 10px;
}

.sow-keyboard-shortcuts h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: #2c3e50;
}

.sow-shortcuts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.sow-shortcut-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.sow-shortcut-item:hover {
    background: #e9ecef;
}

.sow-shortcut-item kbd {
    min-width: 140px;
    padding: 8px 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
    border: 2px solid #d0d0d0;
    border-radius: 6px;
    box-shadow: 0 2px 0 #b0b0b0, 0 3px 4px rgba(0,0,0,0.1);
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    white-space: nowrap;
}

.sow-shortcut-item span {
    flex: 1;
    font-size: 15px;
    color: #495057;
    line-height: 1.5;
}

.sow-shortcuts-tip {
    padding: 16px;
    background: #e7f3ff;
    border-left: 4px solid #2196f3;
    border-radius: 4px;
    font-size: 14px;
    color: #1976d2;
    margin: 0;
}

.sow-shortcuts-tip strong {
    color: #0d47a1;
}

/* Keyboard Help Modal Custom Class */
.sow-keyboard-help-modal {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Mac-style kbd for better UX */
@media (max-width: 768px) {
    .sow-keyboard-shortcuts h3 {
        font-size: 20px;
    }
    
    .sow-shortcut-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .sow-shortcut-item kbd {
        min-width: auto;
        width: 100%;
    }
}

/* ============================================================================
   OCULTAR CARRINHO E ETAPAS INATIVAS
   ============================================================================ */

/* Ocultar etapas que não estão ativas */
.sow-form-step:not(.active) {
    display: none !important;
}

/* Ocultar o card do carrinho quando estiver na etapa 3 (revisão) */
.sow-quote-container:has(.sow-form-step[data-step="3"].active) .sow-cart-wrapper {
    display: none !important;
}

/* Ocultar carrinho quando estiver na etapa 2 e o usuário pulou a etapa 1 (guest) */
.sow-quote-container:has(.sow-form-step[data-step="2"].active) .sow-cart-wrapper:has(+ .sow-form-step[data-step="1"][style*="display: none"]) {
    display: none !important;
}

/* Alternativa: ocultar quando a etapa 3 estiver ativa */
.sow-form-step[data-step="3"].active ~ .sow-cart-wrapper,
.sow-form-step[data-step="3"].active + .sow-cart-wrapper {
    display: none !important;
}

/* Ocultar o card se estiver ANTES da etapa 3 ativa */
.sow-cart-wrapper:has(~ .sow-form-step[data-step="3"].active) {
    display: none !important;
}

/* Ocultar TODOS os widgets de carrinho do WooCommerce na página do carrinho */
body.woocommerce-cart .widget_shopping_cart,
body.woocommerce-cart .woocommerce-mini-cart,
body.woocommerce-cart .widget_shopping_cart_content,
body.woocommerce-cart .elementor-widget-woocommerce-menu-cart,
body.woocommerce-cart .widget_woocommerce_widget_cart,
body.woocommerce-cart aside .widget,
body.woocommerce-cart .sidebar .widget,
body.woocommerce-cart .woocommerce-mini-cart-item,
.page-id-14 .widget_shopping_cart,
.page-id-14 .woocommerce-mini-cart,
.page-id-14 aside .widget {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* ============================================================================
   ESTILIZAÇÃO DE BOTÕES DO FORMULÁRIO
   ============================================================================ */

/* Botões primários (próximo, criar conta, login, enviar) - SUPER ESPECÍFICO */
.sow-quote-container button.sow-btn-primary,
.sow-quote-container button.sow-submit-button,
.sow-quote-container .sow-btn.sow-btn-primary,
.sow-quote-container button.sow-btn-next,
.sow-quote-container button.sow-btn-submit,
.sow-quote-container button[type="submit"],
.sow-auth-form button[type="submit"],
.sow-step-actions button[type="submit"],
button.sow-btn.sow-btn-primary {
    all: unset !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.5 !important;
    width: auto !important;
    min-width: 140px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    text-align: center !important;
}

.sow-quote-container button.sow-btn-next:hover,
.sow-quote-container button.sow-btn-submit:hover,
.sow-quote-container button[type="submit"]:hover,
.sow-auth-form button[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
}

.sow-quote-container button.sow-btn-next:active,
.sow-quote-container button.sow-btn-submit:active,
.sow-quote-container button[type="submit"]:active,
.sow-auth-form button[type="submit"]:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3) !important;
}

/* Botões secundários (voltar, cancelar) */
.sow-quote-container button.sow-btn-secondary,
.sow-quote-container button.sow-prev-step,
.sow-quote-container .sow-btn.sow-btn-secondary,
.sow-quote-container button.sow-btn-prev,
button.sow-btn.sow-btn-secondary {
    all: unset !important;
    box-sizing: border-box !important;
    background: #f5f5f5 !important;
    color: #333333 !important;
    border: 2px solid #e0e0e0 !important;
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.5 !important;
    width: auto !important;
    min-width: 140px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    text-align: center !important;
}

.sow-quote-container button.sow-btn-prev:hover {
    background: #e0e0e0 !important;
    border-color: #bdbdbd !important;
    transform: translateY(-2px) !important;
}

/* Botões de loading */
.sow-quote-container button.sow-loading,
.sow-auth-form button.sow-loading {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Botões de Autenticação (Já tenho conta / Criar conta) - TABS */
.sow-tabs button.sow-tab {
    all: unset !important;
    box-sizing: border-box !important;
    flex: 1 !important;
    padding: 14px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    text-align: center !important;
    color: #6b7280 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.sow-tabs button.sow-tab.active {
    color: #667eea !important;
    border-bottom-color: #667eea !important;
    background: rgba(102, 126, 234, 0.05) !important;
}

.sow-tabs button.sow-tab:hover {
    color: #667eea !important;
    background: rgba(102, 126, 234, 0.05) !important;
}

/* Botão Login */
.sow-quote-container button.sow-login-btn {
    all: unset !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.5 !important;
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    text-align: center !important;
}

.sow-quote-container button.sow-login-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
}

/* Botão Criar Conta */
.sow-quote-container button.sow-register-btn {
    all: unset !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.5 !important;
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    text-align: center !important;
}

.sow-quote-container button.sow-register-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
}

/* Botão Continuar sem Cadastro (outline) - SUPER ESPECÍFICO */
button.sow-btn.sow-btn-outline.sow-guest-continue,
.sow-quote-container button.sow-guest-continue,
.sow-quote-container button.sow-btn-outline,
.sow-guest-option button.sow-btn-outline,
.sow-guest-option button {
    all: unset !important;
    box-sizing: border-box !important;
    background: transparent !important;
    color: #667eea !important;
    border: 2px solid #667eea !important;
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.5 !important;
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    text-align: center !important;
}

button.sow-btn.sow-btn-outline.sow-guest-continue:hover,
.sow-quote-container button.sow-guest-continue:hover,
.sow-quote-container button.sow-btn-outline:hover,
.sow-guest-option button.sow-btn-outline:hover,
.sow-guest-option button:hover {
    background: #667eea !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
}

/* Botão "Editar" nos cards de resumo */
.sow-quote-container .sow-btn-edit {
    all: unset !important;
    box-sizing: border-box !important;
    background: transparent !important;
    color: #667eea !important;
    border: 2px solid #667eea !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.sow-quote-container .sow-btn-edit:hover {
    background: #667eea !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* Container dos botões */
.sow-buttons-container {
    display: flex !important;
    gap: 16px !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin-top: 24px !important;
    padding-top: 24px !important;
    border-top: 1px solid #e0e0e0 !important;
}

/* Link de "Já tem conta?" / "Criar conta" */
.sow-auth-toggle {
    color: #667eea !important;
    font-size: 14px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

.sow-auth-toggle:hover {
    color: #764ba2 !important;
    text-decoration: underline !important;
}

/* Responsividade dos botões */
@media (max-width: 768px) {
    .sow-buttons-container {
        flex-direction: column-reverse !important;
        gap: 12px !important;
    }
    
    .sow-quote-container button.sow-btn-next,
    .sow-quote-container button.sow-btn-submit,
    .sow-quote-container button.sow-btn-prev,
    .sow-quote-container button[type="submit"],
    .sow-auth-form button[type="submit"] {
        width: 100% !important;
        min-width: auto !important;
    }
}
