/* Estilos para o botão dentro do bloco de produtos por categoria */
.solicitar-orcamento-wrapper {
    text-align: center;
        margin-left: -24%;
        margin-right: 8%;
        margin-bottom: 4%;
        z-index: 9;
        margin-top: 40%;
        padding-top: 0;
    }
    
    /* CSS do modal */
    .solicitar-orcamento-modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.5);
    }
    
    .solicitar-orcamento-modal-content {
        background-color: #fff;
        margin: 15% auto;
        padding: 35px;
        border: 1px solid #888;
        width: 80%;
        max-width: 500px;
        position: relative;
    }
    
    .solicitar-orcamento-close {
        color: #C20010;
        position: absolute;
        right: 14px;
        top: -2px;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
    }
    
    .solicitar-orcamento-close:hover,
    .solicitar-orcamento-close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }
    
    .button.solicitar-orcamento-button {
    background-color: transparent !important;
    border-width: 0;
    color: #232323 !important;
    font-family: 'Nunito Sans';
    font-size: 0.7em !important;
    margin: 5% !important;
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    text-decoration: none;
    border-radius: 30px 5px !important;
    border: 1px solid #232323 !important;
    text-align: center !important;
    }
    
    a.button.solicitar-orcamento-button:hover {
    background-color: #232323 !important;
    border-width: 0;
    color: #fff !important;
    font-family: 'Nunito Sans';
    font-size: 0.7em !important;
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    text-decoration: none;
    border-radius: 30px 5px !important;
    border: 1px solid #232323 !important;
    text-align: center !important;
    }
    
    #solicitar-orcamento-form input, #solicitar-orcamento-form textarea {
        width: 100%;
        padding: 10px;
        margin: 5px 0;
        box-sizing: border-box;
        border-radius: 10px;
        border: 1px solid #282828;
        color: #282828;
        font-family: 'Nunito Sans';
        font-weight: 700;
        font-size: 12px;
    }
    
    /* Estilos para os botões */
    .btn-whatsapp{
    background-color: #C6C6C600 !important;
    color: #333 !important;
    padding: 15px 20px !important;
    border: 1px solid #333 !important;
    border-radius: 30px 5px 30px 5px !important;
    font-size: 12px;
    cursor: pointer;
    font-family: 'Nunito Sans';
    font-weight: 800;
    margin-right:10px;
    }
    #solicitar-orcamento-form  .btn-whatsapp:hover {
    background-color: #333!important;
    color: #fff !important;
    }
    
    
    .btn-email {
    background-color: #C6C6C600 !important;
    color: #333 !important;
    padding: 15px 20px !important;
    border: 1px solid #333 !important;
    border-radius: 30px 5px 30px 5px !important;
    font-size: 12px;
    cursor: pointer;
    font-family: 'Nunito Sans';
    font-weight: 800;
    }
    
    .btn-email:hover {
    background-color: #333!important;
    color: #fff !important;
    }
    
    #loading-spinner {
        border: 4px solid rgba(0,0,0,0.1);
        border-radius: 50%;
        border-top: 4px solid #C20010;
        width: 30px;
        height: 30px;
        animation: spin 1s linear infinite;
        margin: 10px auto;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    /* Estilos para o mobile */
    @media only screen and (max-width: 768px) {
    .solicitar-orcamento-wrapper {
        text-align: center;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 10% !important;
        margin-top: -6% !important;
        z-index: 9;
        padding-top: 0 !important;
    }
    #solicitar-orcamento-form .btn-whatsapp {
    background-color: #333!important;
    color: #fff !important;
    margin-bottom: 10%;
    }
        
    }

/* Estilos do Modal de Orçamento */
.orcamento-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999; /* Garante que fique acima do header do Elementor */
    display: flex;
    align-items: center;
    justify-content: center;
}

.orcamento-modal-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    font-family: inherit;
}

.orcamento-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.orcamento-modal-close:hover {
    color: #000;
}