/**
 * CPC Quote Styles
 * 
 * Styles for quote widgets and components
 * 
 * @package CemPorcentoEcommerce
 * @since 1.1.0
 */

/* === Base Quote Styles === */
.cpc-quote-widget {
    font-family: inherit;
    box-sizing: border-box;
}

.cpc-quote-widget *,
.cpc-quote-widget *::before,
.cpc-quote-widget *::after {
    box-sizing: inherit;
}

/* === Loading States específicos para quote === */
.cpc-loading.cpe-add-to-quote-btn {
    background: #cccccc;
}

.cpc-loading.cpe-add-to-quote-btn:hover {
    background: #cccccc;
    transform: none;
    box-shadow: none;
}

/* === Processing States for Quote Controls === */
.cpc-processing-disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease;
}

.cpc-processing-disabled.cpc-quantity-btn,
.cpc-processing-disabled.cpe-qty-btn {
    background-color: #f0f0f0 !important;
    border-color: #ddd !important;
    color: #999 !important;
    transform: none !important;
    box-shadow: none !important;
}

.cpc-processing-disabled.cpc-quantity-input,
.cpc-processing-disabled.cpe-qty-input {
    background-color: #f9f9f9 !important;
    border-color: #ddd !important;
    color: #999 !important;
}

.cpc-processing-disabled.cpc-remove-from-quote {
    background-color: transparent !important;
    color: #ccc !important;
}

/* Adicionar indicador visual de processamento */
.cpc-processing-disabled::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid #999;
    border-radius: 50%;
    animation: cpc-spin 1s infinite linear;
    z-index: 10;
}

/* Estilo específico para botões de quantidade com processamento */
.cpc-quantity-btn.cpc-processing-disabled,
.cpe-qty-btn.cpc-processing-disabled {
    position: relative;
    overflow: hidden;
}

/* Remover spinner dos inputs */
.cpc-quantity-input.cpc-processing-disabled::before,
.cpe-qty-input.cpc-processing-disabled::before {
    display: none;
}

/* === Quantity Button Loading States === */
.cpc-quantity-loading {
    opacity: 0.7 !important;
    pointer-events: none !important;
    position: relative;
}

.cpc-spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: cpc-spin 0.8s linear infinite;
}

/* Loading state for quantity buttons */
.cpc-quantity-btn.cpc-quantity-loading {
    background-color: #f0f0f0 !important;
    border-color: #ddd !important;
    min-width: 30px;
}

.cpc-quantity-btn.cpc-quantity-loading .cpc-spinner {
    border-top-color: #999;
}

/* Loading state for remove button */
.cpc-remove-loading {
    opacity: 0.7 !important;
    pointer-events: none !important;
}

.cpc-remove-loading .cpc-spinner {
    border-top-color: #dc3545;
    width: 10px;
    height: 10px;
}

/* Usar spinner padrão do WordPress */
.cpe-add-to-quote-btn .fa-spinner,
.cpe-add-to-quote-btn .dashicons-update {
    animation: cpc-spin 1s infinite linear;
}

/* === Messages específicas para quote === */
.cpc-quote-message {
    display: none;
}

.cpc-quote-message-success {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.cpc-quote-info-widget {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Empty Cart Notice Styles */
.cpc-empty-cart-notice {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.cpc-empty-cart-message {
    margin: 0 0 15px 0;
    color: #6c757d;
    font-size: 16px;
    line-height: 1.5;
}

.cpc-empty-cart-link-wrapper {
    margin: 0;
}

.cpc-products-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #F48120;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #F48120;
    min-width: 140px;
}

.cpc-products-link:hover {
    background-color: #e6741d;
    border-color: #e6741d;
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 129, 32, 0.3);
}

.cpc-products-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(244, 129, 32, 0.3);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cpc-empty-cart-notice,
    .cpc-login-required-notice {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .cpc-empty-cart-message,
    .cpc-login-required-message {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .cpc-products-link,
    .cpc-login-link {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
        max-width: 200px;
    }
    
    .cpc-save-quote-info:disabled,
    .cpc-save-quote-info.disabled {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .cpc-empty-cart-notice {
        background-color: #2d3436;
        border-color: #636e72;
    }
    
    .cpc-empty-cart-message {
        color: #ddd;
    }
}

/* Login Required Notice Styles */
.cpc-login-required-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.cpc-login-required-message {
    margin: 0 0 15px 0;
    color: #856404;
    font-size: 16px;
    line-height: 1.5;
}

.cpc-login-link-wrapper {
    margin: 0;
}

.cpc-login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #007cba;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #007cba;
    min-width: 140px;
}

.cpc-login-link:hover {
    background-color: #005a87;
    border-color: #005a87;
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

.cpc-login-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 124, 186, 0.3);
}

/* Disabled Button Styles */
.cpc-save-quote-info:disabled,
.cpc-save-quote-info.disabled {
    background-color: #cccccc !important;
    color: #666666 !important;
    border-color: #cccccc !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    transform: none !important;
    box-shadow: none !important;
}

.cpc-save-quote-info:disabled:hover,
.cpc-save-quote-info.disabled:hover {
    background-color: #cccccc !important;
    color: #666666 !important;
    border-color: #cccccc !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Form state when cart is empty or login required */
.cpc-quote-info-form.form-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.cpc-quote-info-form.form-disabled input,
.cpc-quote-info-form.form-disabled select,
.cpc-quote-info-form.form-disabled textarea {
    background-color: #f5f5f5 !important;
    color: #999999 !important;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .cpc-empty-cart-notice {
        border-width: 2px;
        border-style: solid;
    }
    
    .cpc-products-link {
        border-width: 3px;
    }
    
    .cpc-login-required-notice {
        border-width: 2px;
        border-style: solid;
    }
    
    .cpc-login-link {
        border-width: 3px;
    }
    
    .cpc-save-quote-info:disabled,
    .cpc-save-quote-info.disabled {
        border-width: 2px;
        border-style: dashed;
    }
}

.cpc-quote-info-form {
    display: grid;
    gap: 15px;
}

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

.cpc-quote-form-row.cpc-two-columns {
    grid-template-columns: 1fr 1fr;
}

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

.cpc-quote-form-label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
}

/* Base form styles - select styles moved to global-shared.css */
.cpc-quote-form-input,
.cpc-quote-form-textarea {
    padding: 10px 12px !important;
    border: 2px solid #e1e1e1 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    transition: border-color 0.3s ease !important;
    background: transparent !important;
    background-color: transparent !important;
    box-sizing: border-box !important;
}

/* Select specifics */
.cpc-quote-form-select {
    border: 2px solid #e1e1e1 !important;
    font-size: 14px !important;
    transition: border-color 0.3s ease !important;
    padding: 10px 40px 10px 12px !important;
    background: transparent !important;
    background-color: transparent !important;
    box-sizing: border-box !important;
    appearance: none !important;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    padding-right: 40px !important;
    cursor: pointer !important;
}

.cpc-quote-form-input:focus,
.cpc-quote-form-textarea:focus {
    outline: none !important;
    border-color: #F48120 !important;
    box-shadow: 0 0 0 3px rgba(244,129,32,0.1) !important;
    background-color: #fff !important;
}

/* Select focus handled by global styles, but keep border override */
.cpc-quote-form-select:focus {
    border-color: #F48120 !important;
    box-shadow: 0 0 0 3px rgba(244,129,32,0.1) !important;
}

.cpc-quote-form-input.error,
.cpc-quote-form-textarea.error {
    border-color: #dc3545;
}

/* Select error state */
.cpc-quote-form-select.error {
    border-color: #dc3545 !important;
}

.cpc-quote-form-required {
    color: #dc3545;
}

/* === Add to Quote Widget - Layout Horizontal === */
.cpe-add-to-quote-wrapper {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: flex-start;
    font-family: Sinkin Sans;
}

/* Campo de Quantidade - Fundo branco com borda */
.cpe-quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    flex-shrink: 0;
}

.cpe-qty-btn {
    background: #fff;
    border: none;
    border-right: 1px solid #ddd;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    user-select: none;
}

.cpe-qty-btn:last-child {
    border-right: none;
    border-left: 1px solid #ddd;
}

.cpe-qty-btn:hover {
    background: #f5f5f5;
    color: #333;
}

.cpe-qty-btn:active {
    background: #e8e8e8;
}

.cpe-qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #fff;
}

.cpe-qty-input {
    border: none;
    width: 60px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    height: 40px;
    background: transparent;
    color: #333;
    outline: none;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

.cpe-qty-input:focus {
    outline: none;
    background: #fff;
}

/* Botão Principal - Laranja clean */
.cpe-button-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 55px;
    background-color: transparent;
}

.cpe-add-to-quote-btn {
    background: #F48120;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    letter-spacing: 0.5px;
    font-family: inherit;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cpe-add-to-quote-btn:hover {
    background: #e0730e;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.cpe-add-to-quote-btn:active {
    background: #cc6500;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.cpe-add-to-quote-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #F48120;
    box-shadow: none;
}

.cpe-button-text {
    display: inline-block;
    font-family: Sinkin Sans;
}



/* Button Loading State */
.cpe-add-to-quote-btn.cpc-loading {
    pointer-events: none;
    opacity: 0.7;
}

.cpe-add-to-quote-btn.cpc-loading .cpe-button-text {
    opacity: 0.7;
}

/* Tooltip for Login Required */
.cpe-button-wrapper {
    position: relative;
}

/* Tooltip container */
.cpc-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999999 !important; /* High z-index to appear above WordPress elements */
    pointer-events: none;
}

/* Tooltip text styling */
.cpc-tooltip-text {
    background: #333 !important;
    color: #fff !important;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px !important;
    line-height: 1.4;
    white-space: wrap;
    max-width: 250px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
    font-weight: 400 !important;
}

/* Tooltip arrow pointing down */
.cpc-tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
}

/* Show tooltip on hover for disabled buttons */
.cpe-button-wrapper.has-disabled-button:hover .cpc-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
}

.cpe-button-wrapper .cpe-add-to-quote-btn.disabled:hover + .cpc-tooltip,
.cpe-button-wrapper .cpe-add-to-quote-btn.disabled:hover ~ .cpc-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
}

.cpe-add-to-quote-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.cpe-add-to-quote-btn.disabled:hover {
    background: #F48120;
}

/* === Quote Products Widget === */
.cpc-quote-products-widget {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.cpc-quote-header {
    background: transparent;
}

.cpc-quote-title {
    color: var(--e-global-color-text);
    font-family: var(--e-global-typography-937aa42-font-family), Sans-serif;
    font-size: var(--e-global-typography-937aa42-font-size);
    font-weight: var(--e-global-typography-937aa42-font-weight);
    text-transform: var(--e-global-typography-937aa42-text-transform);
    padding: 0px 20px;
}

.cpc-quote-subtitle {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.cpc-quote-content {
    padding: 20px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.cpc-quote-empty-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    color: #999;
    flex: 1;
    min-height: 250px;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border-radius: 8px;
    margin: 10px;
    border: 1px dashed #e0e0e0;
}

.cpc-quote-empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.6;
    color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cpc-quote-empty-icon i,
.cpc-quote-empty-icon svg {
    width: 80px;
    height: 80px;
    max-width: 80px;
    max-height: 80px;
}

.cpc-quote-empty-message h4 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.cpc-quote-empty-message p {
    margin: 0;
    font-size: 16px;
    color: #666;
    font-style: italic;
    line-height: 1.5;
}

/* Animation for empty cart state */
.cpc-quote-empty-message {
    animation: cpc-fade-in-up 0.6s ease-out;
}

.cpc-quote-empty-icon {
    animation: cpc-pulse-subtle 2s infinite ease-in-out;
}

@keyframes cpc-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cpc-pulse-subtle {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Empty Cart Button Styles */
.cpc-empty-cart-button-wrapper {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.cpc-empty-products-button {
    display: inline-block;
    padding: 12px 24px;
    background: #f48120;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid #f48120;
    min-width: 160px;
    text-align: center;
}

.cpc-empty-products-button:hover {
    background: #e6730e;
    border-color: #e6730e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 129, 32, 0.3);
}

.cpc-empty-products-button:active {
    transform: translateY(0);
}

.cpc-quote-has-items {
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.cpc-quote-product-item {
    display: grid;
    grid-template-columns: 135px 1fr auto auto;
    gap: 15px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    background: white;
    padding: 20px;
    border-radius: 20px;
}

.cpc-quote-product-item:last-child {
    border-bottom: none;
}

.cpc-quote-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    background: #f8f9fa;

    border: 1px solid #8D8B8B !important;
    padding: 10px !important;
    border-radius: 5px !important;
}

.cpc-quote-product-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cpc-quote-product-name {
    font-weight: 600;
    color: #333;
    font-size: 16px;
    line-height: 1.3;

    font-family: var(--e-global-typography-937aa42-font-family), Sans-serif;
    font-weight: var(--e-global-typography-937aa42-font-weight);
    text-transform: var(--e-global-typography-937aa42-text-transform);
    max-width: 316px;
}

.cpc-quote-product-sku {
    font-size: 12px;
    color: #666;
    display: inline-block;
    max-width: fit-content;
}

.cpc-quote-product-dimensions {
    font-size: 13px;
    color: #777;
}

.cpc-quote-product-quantity {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cpc-quote-product-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cpc-remove-from-quote {
    background: #fff;
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    padding: 0;
}

.cpc-remove-from-quote:hover {
    background: #F48120;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cpc-quote-actions {
    padding: 20px;
    background: transparent;
    display: flex;
    gap: 20px;
    align-items: center;
}

.cpc-quote-secondary-actions {
    display: flex;
    gap: 10px;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.cpc-quote-summary {
    font-size: 14px;
    color: #666;
    display: none;
}

.cpc-quote-buttons {
    display: flex;
    gap: 10px;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.cpc-clear-quote {
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;

    background: white;
    color: #6c757d;
    font-family: var(--e-global-typography-5bc884d-font-family), Sans-serif;
    font-size: var(--e-global-typography-5bc884d-font-size);
    font-weight: var(--e-global-typography-5bc884d-font-weight);
    text-transform: var(--e-global-typography-5bc884d-text-transform);
    border-style: none;
}

.cpc-clear-quote:hover {
    background: #5a6268;
    color: white;
}

/* Base button styles */
.cpc-add-more-items-quote {
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: var(--e-global-typography-5bc884d-font-family), Sans-serif;

    
    /* Default primary styles */
    color: #F48120;
    background-color: white;
    border: 1px solid #F48120;
    font-size: 18px;
    font-weight: 700;
}

/* Primary variant (default) */
.cpc-add-more-items-quote.cpc-add-more-primary,
.cpc-add-more-items-quote {
    color: #F48120;
    background-color: white;
    border: 1px solid #F48120;
    line-height: 2;
    height: 54px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.cpc-add-more-items-quote.cpc-add-more-primary:hover,
.cpc-add-more-items-quote:hover {
    color: white;
    background-color: #F48120;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    text-decoration: none;
}

/* Secondary variant */
.cpc-add-more-items-quote.cpc-add-more-secondary {
    color: #616262;
    background-color: transparent;
    border: none;
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    padding: 8px 15px;
}

.cpc-add-more-items-quote.cpc-add-more-secondary:hover {
    color: #F48120;
    background-color: transparent;
    text-decoration: underline;
}

.cpc-submit-quote, .cpc-request-quote-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    height: 54px;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    
    color: #FFF !important;
    background-color: #F48120 !important;
    font-family: var(--e-global-typography-5bc884d-font-family), Sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: var(--e-global-typography-5bc884d-text-transform);
    border-style: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cpc-submit-quote:hover, .cpc-request-quote-button:hover {
    color: #F48120 !important;
    background-color: #FFF !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    text-decoration: none;
}

/* Disabled states for request quote button */
.cpc-request-quote-button.disabled,
.cpc-request-quote-button:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background-color: #cccccc !important;
    color: #666666 !important;
}

.cpc-request-quote-button.disabled:hover,
.cpc-request-quote-button:disabled:hover {
    background-color: #cccccc !important;
    color: #666666 !important;
    box-shadow: none !important;
}

.disabled {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

/* .cpc-submit-quote:visited {
    color: #FFF !important;
} */

/* === Cart Count Badge === */
.cpc-quote-count-badge {
    background: #f48120 !important;
    color: #fff;
    border-radius: 50%;
    border: none !important;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    width: 20px !important;
    height: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -8px;
    right: -8px;
}

.cpc-quote-cart-icon {
    position: relative;
    display: inline-block;
}

/* === Quote Table Styles === */
.cpc-quote-table {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.cpc-quote-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    padding: 0 0 10px 0;
    background: transparent;
    border: none;
    font-weight: 600;
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cpc-quote-table-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cpc-quote-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
    align-items: center;
    transition: all 0.3s ease;
}

.cpc-quote-table-row:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.cpc-quote-table-col {
    display: flex;
    align-items: center;
}

/* ITEM Column Styles */
.cpc-col-item .cpc-quote-item-content {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.cpc-col-item .cpc-quote-product-image-container {
    flex-shrink: 0;
    border: 1px solid black;
    border-radius: 9px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cpc-col-item .cpc-quote-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none;
    padding: 0;
    background: transparent;
    max-width: 100%;
    max-height: 100%;
}

.cpc-col-item .cpc-quote-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cpc-col-item .cpc-quote-product-name {
    font-weight: 600;
    color: #212529;
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
}

.cpc-col-item .cpc-quote-product-sku {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
}

/* MEDIDA Column Styles */
.cpc-col-medida {
    justify-content: center;
    text-align: center;
}

.cpc-quote-dimensions {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    text-align: center;
    display: inline-block;
}

.cpc-quote-no-dimensions {
    color: #adb5bd;
    font-size: 18px;
    font-weight: 300;
}

/* QUANTIDADE Column Styles */
.cpc-col-quantidade {
    justify-content: flex-start;
    gap: 0;
}

.cpc-quote-quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
}

.cpc-col-quantidade .cpc-quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid black;
    border-radius: 0;
    background: white;
    overflow: hidden;
    margin-right: 15px;
}

.cpc-col-quantidade .cpc-quantity-btn {
    background: white;
    border: none;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    color: black;
    transition: all 0.2s ease;
    font-size: 18px;
}

.cpc-col-quantidade .cpc-quantity-btn:hover {
    background: #f48120;
    color: #FFF;
}

.cpc-col-quantidade .cpc-quantity-input {
    border: none;
    width: 50px;
    height: 35px;
    text-align: center;
    font-weight: 600;
    color: #212529;
    background: transparent;
}

.cpc-col-quantidade .cpc-quantity-input:focus {
    outline: none;
    background: #fff;
}

.cpc-col-quantidade .cpc-quantity-display {
    font-weight: 600;
    font-size: 16px;
    color: #212529;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 0;
    border: 1px solid black;
    margin-right: 15px;
}

/* Remove Button in Table - Same Line */
.cpc-remove-btn-table {
    background: transparent;
    color: #666;
    border: none;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-left: auto;
}

.cpc-remove-btn-table:hover {
    color: #dc3545;
    transform: scale(1.2);
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .cpc-quote-form-row.cpc-two-columns {
        grid-template-columns: 1fr;
    }
    
    .cpc-quote-empty-message {
        padding: 40px 15px;
        min-height: 200px;
    }
    
    .cpc-quote-empty-icon {
        font-size: 60px;
        margin-bottom: 15px;
    }
    
    .cpc-quote-empty-message h4 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .cpc-quote-empty-message p {
        font-size: 14px;
    }
    
    .cpc-empty-cart-button-wrapper {
        margin-top: 15px;
    }
    
    .cpc-empty-products-button {
        padding: 10px 20px;
        font-size: 13px;
        min-width: 140px;
    }
    
    .cpc-quote-content {
        min-height: 200px;
        padding: 15px;
    }
    
    .cpc-quote-product-item {
        grid-template-columns: 60px 1fr;
        gap: 10px;
    }
    
    .cpc-quote-product-quantity,
    .cpc-quote-product-actions {
        grid-column: 1 / -1;
        justify-content: space-between;
        flex-direction: row;
        align-items: center;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #f0f0f0;
    }
    
    .cpc-quote-product-image {
        width: 60px;
        height: 60px;
    }
    
    .cpc-quote-actions {
        flex-direction: row;
        gap: 10px;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .cpc-quote-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* New widget responsive */
    .cpe-add-to-quote-wrapper {
        gap: 10px;
        align-items: stretch;
    }
    
    .cpe-quantity-wrapper {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .cpc-quote-info-widget,
    .cpc-quote-products-widget {
        margin: 0 -10px;
        border-radius: 0;
        min-height: 280px;
    }
    
    .cpc-quote-content,
    .cpc-quote-header {
        padding: 15px;
    }
    
    .cpc-quote-empty-message {
        padding: 30px 15px;
        min-height: 180px;
        margin: 5px;
    }
    
    .cpc-quote-empty-icon {
        font-size: 50px;
        margin-bottom: 12px;
    }
    
    .cpc-quote-empty-icon i,
    .cpc-quote-empty-icon svg {
        width: 50px;
        height: 50px;
        max-width: 50px;
        max-height: 50px;
    }
    
    .cpc-quote-empty-message h4 {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .cpc-quote-empty-message p {
        font-size: 13px;
    }
    
    .cpc-empty-cart-button-wrapper {
        margin-top: 12px;
    }
    
    .cpc-empty-products-button {
        padding: 8px 16px;
        font-size: 12px;
        min-width: 120px;
        border-radius: 20px;
    }
    
    .cpc-quote-product-name {
        font-size: 14px;
    }
    
    .cpc-add-to-quote {
        width: 100%;
        padding: 15px;
    }
}

/* === Elementor Integration === */
.elementor-widget-cpc-quote-info .elementor-widget-container,
.elementor-widget-cpc-quote-products .elementor-widget-container,
.elementor-widget-cpc-add-to-quote .elementor-widget-container {
    overflow: visible;
}

/* === Animation Effects === */
.cpc-quote-product-item {
    transition: all 0.3s ease;
}

.cpc-quote-product-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.cpc-fade-in {
    animation: cpc-fade-in 0.5s ease-in-out;
}

@keyframes cpc-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cpc-slide-up {
    animation: cpc-slide-up 0.3s ease-out;
}

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

/* === Utility Classes === */
.cpc-text-center {
    text-align: center;
}

.cpc-mb-20 {
    margin-bottom: 20px;
}

.cpc-mt-20 {
    margin-top: 20px;
}

.cpc-hidden {
    display: none !important;
}

.cpc-visible {
    display: block !important;
}

.cpc-quantity-controls {
    display: flex !important;
    border: solid 1px #D2D0D0 !important;
    align-items: center !important;
    background: white !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

/* === Print Styles === */
@media print {
    .cpc-quote-actions,
    .cpc-remove-from-quote,
    .cpc-quantity-controls {
        display: none !important;
    }
    
    .cpc-quote-widget {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* === Enhanced Quantity Button Styles - Universal Coverage === */
button.cpc-quantity-btn.cpc-quantity-minus,
button.cpc-quantity-btn.cpc-quantity-plus,
button.cpc-quantity-minus,
button.cpc-quantity-plus,
.cpc-quantity-controls button,
.cpc-quote-quantity button {
    border: none !important;
    color: #F18223 !important;
    font-size: 16px !important;
    font-family: 'Sinkin Sans';
    font-weight: var(--e-global-typography-937aa42-font-weight);
    text-transform: uppercase !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
    cursor: pointer !important;
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

button.cpc-quantity-btn.cpc-quantity-minus:hover,
button.cpc-quantity-btn.cpc-quantity-plus:hover,
button.cpc-quantity-minus:hover,
button.cpc-quantity-plus:hover,
.cpc-quantity-controls button:hover,
.cpc-quote-quantity button:hover {
    background: #f48120 !important;
    color: #FFF !important;
}

/* === Enhanced Quantity Input Styles - Universal Coverage === */
input.cpc-quantity-input,
.cpc-quantity-controls input,
.cpc-quote-quantity input {
    border: none !important;
    text-align: center !important;
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-family: var(--e-global-typography-937aa42-font-family), Sans-serif !important;
    font-weight: var(--e-global-typography-937aa42-font-weight) !important;
    text-transform: var(--e-global-typography-937aa42-text-transform) !important;
    background: transparent !important;
    color: #333 !important;
    width: 50px !important;
    height: 35px !important;
}

input.cpc-quantity-input[type='number'],
.cpc-quantity-controls input[type='number'],
.cpc-quote-quantity input[type='number'] {
    appearance: textfield !important;
    -moz-appearance: textfield !important;
}

input.cpc-quantity-input::-webkit-outer-spin-button,
input.cpc-quantity-input::-webkit-inner-spin-button,
.cpc-quantity-controls input::-webkit-outer-spin-button,
.cpc-quantity-controls input::-webkit-inner-spin-button,
.cpc-quote-quantity input::-webkit-outer-spin-button,
.cpc-quote-quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* === Fix for Input Rotation Issues === */
.cpc-quantity-input,
.cpe-qty-input {
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

.cpc-quantity-input:focus,
.cpe-qty-input:focus {
    transform: none !important;
    animation: none !important;
}

/* Ensure quantity buttons don't cause issues */
.cpc-quantity-plus,
.cpc-quantity-minus,
.cpe-qty-btn {
    transform: none !important;
}

.cpc-quantity-plus:active,
.cpc-quantity-minus:active,
.cpe-qty-btn:active {
    transform: none !important;
}

/* === Enhanced Remove Button Styles - Universal Coverage === */
.cpc-remove-from-quote,
.cpc-remove-from-quote,
.cpc-quote-table-row .cpc-remove-btn-table {
    font-size: 16px !important;
    font-family: 'Sinkin Sans' !important;
    font-weight: var(--e-global-typography-937aa42-font-weight) !important;
    text-transform: uppercase !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 4px !important;
    border-radius: 4px !important;
    border: none !important;
    background: #fff !important;
    color: #666 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.cpc-remove-from-quote:hover,
.cpc-remove-from-quote:hover,
.cpc-quote-table-row .cpc-remove-btn-table:hover {
    background: #F48120 !important;
    color: #fff !important;
    transform: scale(1.1) !important;
}

/* === Enhanced Form Validation Styles === */

/* Error field styles */
.cpc-quote-form-input.error,
.cpc-quote-form-input.invalid,
.cpc-quote-form-select.error,
.cpc-quote-form-select.invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
    background-color: #fdf2f2 !important;
}

/* Error message styles */
.cpc-field-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: block;
    line-height: 1.3;
    font-weight: 500;
}

/* Submit button disabled state */
.cpc-save-quote-info.cpc-form-invalid,
.cpc-save-quote-info:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #6c757d !important;
}

/* Valid field styles (optional - for positive feedback) */
.cpc-quote-form-input.valid,
.cpc-quote-form-select.valid {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Improved required asterisk */
.cpc-quote-form-required {
    color: #dc3545;
    font-weight: bold;
    margin-left: 2px;
}

/* Form validation animations */
.cpc-quote-form-input,
.cpc-quote-form-select {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* Error message animation */
.cpc-field-error {
    animation: cpc-fade-in-error 0.3s ease;
}

@keyframes cpc-fade-in-error {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus improvements - manter cor original */
.cpc-quote-form-input:focus:not(.error),
.cpc-quote-form-select:focus:not(.error) {
    border-color: #F48120;
    box-shadow: 0 0 0 3px rgba(244, 129, 32, 0.1);
    background-color: #fff;
}

/* === Save Quote Info Button - Manter cores originais === */
.elementor-widget-container .cpc-quote-info-widget .cpc-save-quote-info,
.elementor-widget-container .cpc-quote-widget .cpc-save-quote-info,
.cpc-quote-info-form button.cpc-save-quote-info,
.cpc-quote-info-widget button[type="submit"].cpc-save-quote-info,
button.cpc-save-quote-info[type="submit"],
.cpc-quote-form-row button.cpc-save-quote-info {
    background: #F48120 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    position: relative !important;
    overflow: hidden !important;
    text-align: center !important;
    min-height: 48px !important;
    line-height: 1.4 !important;
    width: auto !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.elementor-widget-container .cpc-quote-info-widget .cpc-save-quote-info:hover,
.elementor-widget-container .cpc-quote-widget .cpc-save-quote-info:hover,
.cpc-quote-info-form button.cpc-save-quote-info:hover,
button.cpc-save-quote-info[type="submit"]:hover,
.cpc-quote-form-row button.cpc-save-quote-info:hover {
    background: #e0730e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(244, 129, 32, 0.3) !important;
    color: #ffffff !important;
}

.elementor-widget-container .cpc-quote-info-widget .cpc-save-quote-info:active,
.elementor-widget-container .cpc-quote-widget .cpc-save-quote-info:active,
.cpc-quote-info-form button.cpc-save-quote-info:active,
button.cpc-save-quote-info[type="submit"]:active,
.cpc-quote-form-row button.cpc-save-quote-info:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(244, 129, 32, 0.2) !important;
}

/* Loading state improvements - Maximum Specificity */
.elementor-widget-container .cpc-quote-info-widget .cpc-save-quote-info.cpc-loading,
.elementor-widget-container .cpc-quote-widget .cpc-save-quote-info.cpc-loading,
.cpc-quote-info-form button.cpc-save-quote-info.cpc-loading,
button.cpc-save-quote-info[type="submit"].cpc-loading,
.cpc-quote-form-row button.cpc-save-quote-info.cpc-loading {
    background: #6c757d !important;
    cursor: wait !important;
    pointer-events: none !important;
    opacity: 0.8 !important;
}

.elementor-widget-container .cpc-quote-info-widget .cpc-save-quote-info.cpc-loading:hover,
.elementor-widget-container .cpc-quote-widget .cpc-save-quote-info.cpc-loading:hover,
.cpc-quote-info-form button.cpc-save-quote-info.cpc-loading:hover,
button.cpc-save-quote-info[type="submit"].cpc-loading:hover,
.cpc-quote-form-row button.cpc-save-quote-info.cpc-loading:hover {
    transform: none !important;
    box-shadow: none !important;
    background: #6c757d !important;
}

/* === Select Field Customization - Removido, usando estilos globais === */
/* Estilos específicos de select agora vêm do global-shared.css */

/* === Force White Background for All Form Elements - Maximum Specificity === */
.cpc-quote-info-widget .cpc-quote-form-input,
.cpc-quote-info-widget .cpc-quote-form-select,
.cpc-quote-info-widget .cpc-quote-form-textarea,
.cpc-quote-widget .cpc-quote-form-input,
.cpc-quote-widget .cpc-quote-form-textarea,
.cpc-quote-info-widget input[type="text"],
.cpc-quote-info-widget input[type="email"],
.cpc-quote-info-widget input[type="tel"],
.cpc-quote-info-widget input[type="date"],
.cpc-quote-widget input[type="text"],
.cpc-quote-widget input[type="email"],
.cpc-quote-widget input[type="tel"],
.cpc-quote-widget input[type="date"],
input[name="nome"].cpc-quote-form-input,
input[name="telefone"].cpc-quote-form-input,
input[name="email"].cpc-quote-form-input,
input[name="data_evento"].cpc-quote-form-input,
input[name="cidade"].cpc-quote-form-input,
input[name="local_evento"].cpc-quote-form-input {
    background-color: transparent;
    background: transparent;
    border: 2px solid #e1e1e1;
    border-radius: 4px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    color: #333333 !important;
}

.cpc-quote-info-widget select,
.cpc-quote-widget select,
select[name="tipo_evento"].cpc-quote-form-select {
    background-color: transparent;
    background: transparent;
    border: 2px solid #e1e1e1;
    border-radius: 4px !important;
    padding: 10px 40px 10px 12px !important;
    font-size: 14px !important;
    color: #333333 !important;
    appearance: none !important;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    cursor: pointer !important;
}

.cpe-qty-input {
    border: none !important;
    width: 42px !important;
    text-align: center;
    font-size: 14px !important;
    font-weight: 600;
    height: 40px !important;
    background: transparent !important;
    color: #000000 !important;
    outline: none !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

/* Specific styling for inputs in form groups with higher specificity */

/* Override any theme styles for select arrows */
.cpc-quote-info-widget select::-ms-expand,
.cpc-quote-widget select::-ms-expand {
    display: none;
}

/* === Reset mínimo necessário === */
.cpc-quote-info-widget *,
.cpc-quote-widget * {
    box-sizing: border-box !important;
}

/* === Responsive Table Design === */
@media (max-width: 768px) {
    .cpc-field-error {
        font-size: 11px;
    }
    
    /* Stack table on mobile */
    .cpc-quote-table-header {
        display: none; /* Hide header on mobile */
    }
    
    .cpc-quote-table-row {
        display: block;
        padding: 20px;
    }
    
    .cpc-quote-table-col {
        display: block;
        margin-bottom: 15px;
        width: 100%;
    }
    
    .cpc-quote-table-col:last-child {
        margin-bottom: 0;
    }
    
    /* Add mobile labels */
    .cpc-col-medida::before {
        content: "MEDIDA: ";
        font-weight: 600;
        color: #495057;
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 0.5px;
    }
    
    .cpc-col-quantidade::before {
        content: "QUANTIDADE: ";
        font-weight: 600;
        color: #495057;
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 0.5px;
        display: block;
        margin-bottom: 10px;
    }
    
    .cpc-col-medida {
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .cpc-col-quantidade {
        justify-content: flex-start;
    }
    
    .cpc-quote-quantity-wrapper {
        gap: 10px;
    }
    
    .cpc-col-item .cpc-quote-item-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        text-align: left;
    }
    
    .cpc-col-item .cpc-quote-product-image-container {
        align-self: center;
    }
    
    .cpc-col-item .cpc-quote-product-info {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cpc-quote-table-row {
        padding: 15px;
        margin-bottom: 10px;
    }
    
    .cpc-col-item .cpc-quote-product-image {
        width: 60px;
        height: 60px;
    }
    
    .cpc-col-item .cpc-quote-product-name {
        font-size: 14px;
    }
    
    .cpc-col-quantidade .cpc-quantity-btn,
    button.cpc-quantity-btn,
    button.cpc-quantity-minus,
    button.cpc-quantity-plus,
    .cpc-quantity-controls button {
        width: 30px !important;
        height: 30px !important;
        font-size: 14px !important;
    }
    
    .cpc-col-quantidade .cpc-quantity-btn:hover,
    button.cpc-quantity-btn:hover,
    button.cpc-quantity-minus:hover,
    button.cpc-quantity-plus:hover,
    .cpc-quantity-controls button:hover {
        background: #f48120 !important;
        color: #FFF !important;
    }
    
    .cpc-col-quantidade .cpc-quantity-input,
    input.cpc-quantity-input,
    .cpc-quantity-controls input {
        width: 40px !important;
        height: 30px !important;
        font-size: 14px !important;
    }
    
    .cpc-remove-btn-table,
    button.cpc-remove-from-quote {
        width: 24px !important;
        height: 24px !important;
        font-size: 14px !important;
    }
}

/* === Force High Specificity Styles for Quote Buttons === */
.cpc-quote-products-widget button.cpc-quantity-btn,
.cpc-quote-products-widget button.cpc-quantity-minus,
.cpc-quote-products-widget button.cpc-quantity-plus,
.cpc-quote-products-widget .cpc-quantity-controls button,
.elementor-widget-cpc-quote-products button.cpc-quantity-btn,
.elementor-widget-cpc-quote-products button.cpc-quantity-minus,
.elementor-widget-cpc-quote-products button.cpc-quantity-plus,
.elementor-widget-cpc-quote-products .cpc-quantity-controls button {
    border: none !important;
    color: #F18223 !important;
    font-size: 16px !important;
    font-family: 'Sinkin Sans' !important;
    background: transparent !important;
    cursor: pointer !important;
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.cpc-quote-products-widget button.cpc-quantity-btn:hover,
.cpc-quote-products-widget button.cpc-quantity-minus:hover,
.cpc-quote-products-widget button.cpc-quantity-plus:hover,
.cpc-quote-products-widget .cpc-quantity-controls button:hover,
.elementor-widget-cpc-quote-products button.cpc-quantity-btn:hover,
.elementor-widget-cpc-quote-products button.cpc-quantity-minus:hover,
.elementor-widget-cpc-quote-products button.cpc-quantity-plus:hover,
.elementor-widget-cpc-quote-products .cpc-quantity-controls button:hover {
    background: #f48120 !important;
    color: #FFF !important;
}

.cpc-quote-products-widget input.cpc-quantity-input,
.cpc-quote-products-widget .cpc-quantity-controls input,
.elementor-widget-cpc-quote-products input.cpc-quantity-input,
.elementor-widget-cpc-quote-products .cpc-quantity-controls input {
    border: none !important;
    text-align: center !important;
    padding: 0 !important;
    font-size: 16px !important;
    background: transparent !important;
    color: #333 !important;
    width: 50px !important;
    height: 35px !important;
}