/**
 * Estilos do WooCommerce Catálogo & Orçamento
 */

.wco-price-sob-consulta {
    display: inline-block;
    font-weight: 600;
    color: #0284c7;
    background: #e0f2fe;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.95em;
    letter-spacing: 0.02em;
}

.wco-single-quote-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.wco-qty-field {
    display: flex;
    align-items: center;
    gap: 6px;
}

.wco-qty-input {
    width: 60px !important;
    text-align: center;
    padding: 6px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
}

.wco-add-to-quote-btn {
    background-color: #0f172a !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 10px 18px !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.2s ease;
}

.wco-add-to-quote-btn:hover {
    background-color: #1e293b !important;
}

.wco-btn-lg {
    padding: 14px 28px !important;
    font-size: 1.05rem !important;
}

/* Botão Flutuante */
.wco-floating-trigger {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0f172a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.4);
    cursor: pointer;
    z-index: 99998;
    transition: transform 0.2s ease, background 0.2s;
}

.wco-floating-trigger:hover {
    transform: scale(1.08);
    background: #0284c7;
}

.wco-floating-trigger .wco-icon {
    width: 26px;
    height: 26px;
}

.wco-floating-trigger .wco-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #ffffff;
}

/* Drawer Lateral */
.wco-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.wco-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.wco-quote-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 440px;
    max-width: 90vw;
    height: 100%;
    background: #ffffff;
    z-index: 100000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.wco-quote-drawer.is-open {
    transform: translateX(0);
}

.wco-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.wco-drawer-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.wco-close-btn {
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
}

.wco-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.wco-empty-state {
    text-align: center;
    padding: 40px 10px;
    color: #64748b;
}

.wco-cart-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.wco-item-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.wco-item-details {
    flex: 1;
}

.wco-item-title {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    color: #0f172a;
}

.wco-item-sku {
    font-size: 11px;
    color: #64748b;
    display: block;
    margin-bottom: 6px;
}

.wco-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.wco-qty-stepper {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
}

.wco-qty-stepper button {
    background: #f8fafc;
    border: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-weight: bold;
}

.wco-qty-stepper input {
    width: 36px;
    border: none;
    text-align: center;
    font-size: 13px;
}

.wco-item-remove {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 20px;
    cursor: pointer;
}

.wco-item-note {
    width: 100%;
    font-size: 12px;
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.wco-quote-form-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.wco-quote-form-section h4 {
    margin: 0 0 14px 0;
    font-size: 1rem;
    color: #0f172a;
}

.wco-form-group {
    margin-bottom: 12px;
}

.wco-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
}

.wco-form-group input,
.wco-form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    box-sizing: border-box;
}

.wco-drawer-footer {
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8fafc;
}

.wco-action-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.wco-btn-whatsapp {
    background: #25D366;
    color: #ffffff;
}

.wco-btn-whatsapp:hover {
    opacity: 0.92;
}

.wco-btn-email {
    background: #0f172a;
    color: #ffffff;
}

.wco-btn-email:hover {
    opacity: 0.92;
}

.wco-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
