@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --csl-primary: #0056b3;
    --csl-secondary: #ffd700;
    --csl-text: #333;
    --csl-sidebar-bg: #f8fafc;
    --csl-card-bg: rgba(255, 255, 255, 0.7);
    --csl-glass-border: rgba(255, 255, 255, 0.3);
    --csl-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --csl-radius: 16px;
    --csl-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.csl-user-dashboard {
    display: flex;
    font-family: 'Outfit', sans-serif;
    background: #f0f2f5;
    border-radius: var(--csl-radius);
    overflow: hidden;
    min-height: 600px;
    box-shadow: var(--csl-shadow);
    color: var(--csl-text);
    margin: 20px 0;
}

/* Sidebar */
.csl-user-sidebar {
    width: 280px;
    background: #f8fafc;
    padding: 30px 0;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: var(--csl-transition);
}

.csl-user-profile-summary {
    padding: 0 25px 30px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.csl-user-avatar {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.csl-user-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50% !important;
    object-fit: cover;
    border: 3px solid white;
    padding: 0;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.csl-user-name {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--csl-primary);
}

.csl-user-email {
    font-size: 0.85rem;
    color: #888;
}

.csl-user-nav {
    flex: 1;
    padding-top: 20px;
}

.csl-user-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.csl-user-nav li {
    margin: 5px 15px;
}

.csl-user-nav li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #64748b;
    border-radius: 12px;
    transition: var(--csl-transition);
    font-weight: 500;
}

.csl-user-nav li i {
    width: 20px;
    margin-right: 12px;
    font-size: 1.1rem;
}

.csl-user-nav li:hover a {
    background: rgba(0, 86, 179, 0.05);
    color: var(--csl-primary);
    transform: translateX(5px);
}

.csl-user-nav li.active a {
    background: var(--csl-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.2);
}

/* Main Content */
.csl-user-content {
    flex: 1;
    background: linear-gradient(135deg, #f0f2f5 0%, #e2e8f0 100%);
    padding: 15px;
    position: relative;
}

.csl-content-inner {
    background: var(--csl-card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--csl-glass-border);
    border-radius: 20px;
    padding: 30px;
    min-height: 100%;
}

/* Dashboard Summary */
.csl-welcome-title {
    font-size: 2rem;
    margin-bottom: 5px;
    color: #1e293b;
    font-weight: 700;
}

.csl-welcome-desc {
    color: #64748b;
    margin-bottom: 40px;
}

.csl-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.csl-stat-card {
    background: white;
    padding: 25px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--csl-transition);
    text-decoration: none !important;
    color: inherit !important;
}

.csl-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.csl-stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.csl-stat-icon i {
    color: #b8860b;
    font-size: 1.5rem;
}

.csl-stat-card:nth-child(2) .csl-stat-icon {
    background: rgba(219, 0, 0, 0.1);
}

.csl-stat-card:nth-child(2) .csl-stat-icon i {
    color: #db0000;
}

.csl-stat-card:nth-child(3) .csl-stat-icon {
    background: rgba(0, 86, 179, 0.1);
}

.csl-stat-card:nth-child(3) .csl-stat-icon i {
    color: var(--csl-primary);
}

.csl-stat-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.csl-stat-label {
    font-size: 0.85rem;
    color: #64748b;
}

/* Quick Actions */
.csl-quick-actions h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.csl-actions-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.csl-action-btn {
    padding: 12px 25px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    transition: var(--csl-transition);
    display: flex;
    align-items: center;
}

.csl-action-btn i {
    margin-right: 10px;
    color: var(--csl-primary);
}

.csl-action-btn:hover {
    background: var(--csl-primary);
    color: white;
    border-color: var(--csl-primary);
}

.csl-action-btn:hover i {
    color: white;
}

/* WooCommerce Overrides within our container */
.csl-content-inner .woocommerce-MyAccount-content {
    width: 100% !important;
}

.csl-content-inner .woocommerce-MyAccount-navigation {
    display: none;
    /* Hide default WC navigation since we have ours */
}

/* Responsive */
@media (max-width: 900px) {
    .csl-user-dashboard {
        flex-direction: column;
    }

    .csl-user-sidebar {
        width: 100%;
        padding: 20px 0;
    }

    .csl-user-nav ul {
        display: flex;
        overflow-x: auto;
        padding: 10px;
        scrollbar-width: none;
    }

    .csl-user-nav ul::-webkit-scrollbar {
        display: none;
    }

    .csl-user-nav li {
        margin: 0 5px;
        flex-shrink: 0;
    }

    .csl-user-nav li a span {
        display: none;
    }

    .csl-user-nav li a i {
        margin-right: 0;
    }

    .csl-user-content {
        padding: 20px;
    }
}

/* Guest View */
.csl-user-area-guest {
    padding: 50px;
    background: white;
    border-radius: var(--csl-radius);
    box-shadow: var(--csl-shadow);
    max-width: 600px;
    margin: 40px auto;
}

.csl-user-area-guest .woocommerce-MyAccount-navigation {
    display: none;
}

/* Favoritos Integration */
.csl-favoritos-view h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 25px;
    font-weight: 700;
}

/* My Account Address Section */
.woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.woocommerce-Address {
    background: white !important;
    padding: 25px !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--csl-secondary);
    padding-bottom: 10px;
}

.woocommerce-Address-title h3 {
    margin: 0 !important;
    font-size: 1.2rem !important;
    color: var(--csl-primary) !important;
    font-weight: 700 !important;
}

.woocommerce-Address-title .edit {
    font-size: 0.9rem;
    text-decoration: none;
    background: var(--csl-primary);
    color: white !important;
    padding: 5px 15px;
    border-radius: 8px;
    transition: var(--csl-transition);
}

.woocommerce-Address-title .edit:hover {
    background: #004494;
    transform: scale(1.05);
}

address {
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
}

/* General WC Forms (Edit Account / Address) */
.csl-content-inner form.woocommerce-EditAccountForm,
.csl-content-inner form.edit-address {
    max-width: 800px;
}

.csl-content-inner .form-row {
    margin-bottom: 15px;
}

.csl-content-inner label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: #475569;
}

.csl-content-inner input.input-text {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-family: inherit;
    transition: var(--csl-transition);
}

.csl-content-inner input.input-text:focus {
    border-color: var(--csl-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.csl-content-inner button.button {
    background: var(--csl-primary) !important;
    color: white !important;
    padding: 12px 30px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: var(--csl-transition) !important;
}

.csl-content-inner button.button:hover {
    background: #004494 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

/* Custom Premium Address Form */
.csl-custom-address-container {
    animation: fadeIn 0.8s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.csl-address-header {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--csl-secondary);
    padding-bottom: 15px;
}

.csl-address-header h2 {
    font-size: 1.8rem;
    color: var(--csl-primary);
    margin: 0 0 5px;
    font-weight: 700;
}

.csl-address-header p {
    color: #64748b;
    margin: 0;
}

.csl-premium-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.csl-form-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.csl-form-section h4 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    color: var(--csl-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Password Fields */
.csl-password-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.csl-password-wrap input {
    padding-right: 45px !important;
}

.csl-toggle-pass {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
    transition: color 0.2s;
}

.csl-toggle-pass:hover {
    color: var(--csl-primary);
}

.csl-btn-gen-pass {
    background: rgba(var(--csl-primary-rgb), 0.1);
    border: 1px dashed var(--csl-primary);
    color: var(--csl-primary);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.csl-btn-gen-pass:hover {
    background: var(--csl-primary);
    color: white;
    border-style: solid;
}

.csl-msg {
    margin-top: 15px;
}

.csl-form-section h3 {
    font-size: 1.1rem;
    color: #1e293b;
    margin: 0 0 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.csl-form-section h3 i {
    color: var(--csl-primary);
}

.csl-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.csl-field-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.csl-field-group label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #475569;
}

.csl-field-group label span {
    color: #ef4444;
}

.csl-field-group input,
.csl-field-group select {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: var(--csl-transition);
    background: white;
}

.csl-field-group input:focus,
.csl-field-group select:focus {
    border-color: var(--csl-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

/* Radio Group */
.csl-radio-group {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.csl-radio-item {
    flex: 1;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: var(--csl-transition);
    background: white;
    font-size: 0.95rem;
    font-weight: 500;
}

.csl-radio-item input {
    display: none;
}

.csl-radio-item.active {
    border-color: var(--csl-primary);
    background: rgba(0, 86, 179, 0.05);
    color: var(--csl-primary);
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.1);
}

/* CEP Search */
.csl-cep-wrap {
    display: flex;
    gap: 10px;
}

.csl-btn-cep {
    background: var(--csl-secondary);
    border: none;
    padding: 0 15px;
    border-radius: 12px;
    color: #1a1a1a;
    cursor: pointer;
    transition: var(--csl-transition);
}

.csl-btn-cep:hover {
    background: #e6c200;
    transform: scale(1.05);
}

/* Actions */
.csl-form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.csl-btn-save {
    background: var(--csl-primary);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--csl-transition);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.csl-btn-save:hover {
    background: #004494;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
}

.csl-btn-save:active {
    transform: translateY(0);
}

.csl-btn-save.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.csl-msg {
    font-weight: 500;
    font-size: 0.95rem;
}

.csl-msg.success {
    color: #10b981;
}

.csl-msg.error {
    color: #ef4444;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .csl-form-row {
        flex-direction: column;
        gap: 15px;
    }

    .csl-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .csl-btn-save {
        justify-content: center;
    }
}

/* ============================================================
   PEDIDOS PREMIUM — Lista de Pedidos do Usuário
   ============================================================ */

.csl-ua-orders {
    animation: fadeIn 0.5s ease;
}

.csl-ua-orders-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(0, 86, 179, 0.1);
}

.csl-ua-orders-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.csl-ua-orders-title i {
    color: var(--csl-primary);
}

/* Estado vazio */
.csl-ua-orders-empty {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.csl-ua-orders-empty i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    color: #cbd5e1;
}

.csl-ua-orders-empty p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.csl-ua-btn-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--csl-primary);
    color: #fff !important;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.csl-ua-btn-shop:hover {
    background: #004494;
    transform: translateY(-2px);
}

/* Lista de cards */
.csl-ua-orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Card individual */
.csl-ua-order-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.csl-ua-order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Borda lateral por status */
.csl-ua-order-card.csl-ua-status--pending     { border-left: 4px solid #f59e0b; }
.csl-ua-order-card.csl-ua-status--processing  { border-left: 4px solid #3b82f6; }
.csl-ua-order-card.csl-ua-status--completed   { border-left: 4px solid #10b981; }
.csl-ua-order-card.csl-ua-status--cancelled   { border-left: 4px solid #94a3b8; }
.csl-ua-order-card.csl-ua-status--on-hold     { border-left: 4px solid #ef4444; }
.csl-ua-order-card.csl-ua-status--failed      { border-left: 4px solid #dc2626; }

/* Thumbnail */
.csl-ua-order-thumb {
    position: relative;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
}

.csl-ua-order-thumb img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    display: block;
}

.csl-ua-order-more {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: var(--csl-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 8px;
    line-height: 1.4;
}

/* Meta (número, data, itens) */
.csl-ua-order-meta {
    flex: 1;
    min-width: 0;
}

.csl-ua-order-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.csl-ua-order-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--csl-primary);
}

/* Badges de status */
.csl-ua-order-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.csl-ua-badge--pending    { background: #fef9c3; color: #854d0e; }
.csl-ua-badge--processing { background: #dbeafe; color: #1d4ed8; }
.csl-ua-badge--completed  { background: #dcfce7; color: #15803d; }
.csl-ua-badge--on-hold    { background: #fee2e2; color: #b91c1c; }
.csl-ua-badge--cancelled  { background: #f1f5f9; color: #64748b; }
.csl-ua-badge--failed     { background: #fce7f3; color: #9d174d; }

.csl-ua-order-date,
.csl-ua-order-items {
    font-size: 0.82rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
}

.csl-ua-order-date i,
.csl-ua-order-items i {
    color: #94a3b8;
    font-size: 0.75rem;
}

.csl-ua-order-items strong {
    color: #1e3a5f;
}

/* Botões de ação */
.csl-ua-order-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.csl-ua-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    cursor: pointer;
}

.csl-ua-btn--pay {
    background: #1e6eb5;
    color: #fff !important;
}

.csl-ua-btn--pay:hover {
    background: #155a9a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30,110,181,0.3);
}

.csl-ua-btn--view {
    background: #f0f7ff;
    color: #1e6eb5 !important;
    border: 1px solid #bfdbfe;
}

.csl-ua-btn--view:hover {
    background: #1e6eb5;
    color: #fff !important;
    border-color: #1e6eb5;
    transform: translateY(-1px);
}

.csl-ua-btn--cancel {
    background: #fff0f0;
    color: #dc2626 !important;
    border: 1px solid #fecaca;
    padding: 8px 10px;
}

.csl-ua-btn--cancel:hover {
    background: #dc2626;
    color: #fff !important;
    border-color: #dc2626;
}

/* Responsivo */
@media (max-width: 680px) {
    .csl-ua-order-card {
        flex-wrap: wrap;
    }

    .csl-ua-order-actions {
        width: 100%;
        justify-content: flex-end;
        border-top: 1px solid #f1f5f9;
        padding-top: 10px;
        margin-top: 4px;
    }
}

/* ============================================================
   Order-Pay — Finalizar Pagamento
   ============================================================ */
.csl-order-pay-wrap {
    max-width: 860px;
    margin: 30px auto;
    font-family: 'Outfit', 'Segoe UI', system-ui, sans-serif;
}

.csl-order-pay-header {
    text-align: center;
    background: linear-gradient(135deg, #1e3a5f 0%, #1e6eb5 100%);
    color: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    margin-bottom: 24px;
}

.csl-order-pay-header i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    opacity: 0.9;
}

.csl-order-pay-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: #fff;
}

.csl-order-pay-header p {
    font-size: 1rem;
    margin: 0;
    color: rgba(255,255,255,0.8);
}

/* Body do formulário */
.csl-order-pay-body {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

/* Tabela de itens interna do WooCommerce */
.csl-order-pay-body table {
    width: 100% !important;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.csl-order-pay-body table th {
    background: #f8fafc;
    padding: 10px 14px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    border-bottom: 2px solid #e2e8f0;
    text-align: left;
}

.csl-order-pay-body table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 14px;
}

.csl-order-pay-body table tfoot td {
    font-weight: 600;
    color: #1e293b;
}

/* Botão Finalizar Pagamento (#place_order)
   Usa font-size:0 + ::before para garantir o texto mesmo quando
   o WooCommerce JS limpa o conteúdo do botão dinamicamente. */
.csl-order-pay-body #place_order,
.csl-order-pay-body button[name="woocommerce_pay"] {
    display: block !important;
    width: 100% !important;
    padding: 16px 32px !important;
    background: linear-gradient(135deg, #1e3a5f 0%, #1e6eb5 100%) !important;
    color: transparent !important;  /* esconde qualquer texto do WC */
    border: none !important;
    border-radius: 12px !important;
    font-size: 0 !important;        /* esconde texto vazio do WC */
    cursor: pointer !important;
    transition: all 0.2s !important;
    font-family: inherit !important;
    letter-spacing: 0.02em !important;
    margin-top: 20px !important;
    text-align: center !important;
    box-shadow: 0 4px 16px rgba(30,110,181,0.3) !important;
    position: relative !important;
}

/* Texto injetado via CSS — imune ao JS do WooCommerce */
.csl-order-pay-body #place_order::before,
.csl-order-pay-body button[name="woocommerce_pay"]::before {
    content: 'Finalizar Pagamento';
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.csl-order-pay-body #place_order:hover,
.csl-order-pay-body button[name="woocommerce_pay"]:hover {
    background: linear-gradient(135deg, #152b49 0%, #155a9a 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(30,110,181,0.4) !important;
}

/* Estado disabled — sem método de pagamento disponível */
.csl-order-pay-body #place_order:disabled,
.csl-order-pay-body #place_order.csl-order-pay-disabled,
.csl-order-pay-body button[name="woocommerce_pay"]:disabled {
    background: #e2e8f0 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
}

/* Texto do botão disabled via ::before */
.csl-order-pay-body #place_order:disabled::before,
.csl-order-pay-body #place_order.csl-order-pay-disabled::before,
.csl-order-pay-body button[name="woocommerce_pay"]:disabled::before {
    content: 'Sem método de pagamento disponível';
    color: #94a3b8;
}

.csl-order-pay-body #place_order:disabled:hover,
.csl-order-pay-body #place_order.csl-order-pay-disabled:hover {
    background: #e2e8f0 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Aviso de política de privacidade */
.csl-order-pay-body .woocommerce-privacy-policy-text {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 16px;
    text-align: center;
    line-height: 1.5;
}