/* Botão Request a Quote */
.crq-request-quote {
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.crq-request-quote:hover {
    background-color: #005177;
}

/* Modal */
#crq-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

/* Conteúdo do modal */
.crq-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px 40px 20px 20px; /* deixar espaço à direita para o botão X */
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.crq-modal-content p {
    margin-bottom: 2px;
}

/* Botão de fechar */
.crq-modal-content .crq-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 26px;
    font-weight: bold;
    color: #333;
    background: transparent;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    z-index: 1001;
    transition: color 0.2s ease;
}

.crq-modal-content .crq-close:hover {
    color: #000;
}

/* Inputs e textarea */
#crq-form input,
#crq-form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Feedback da resposta */
.crq-response {
    margin-top: 10px;
    font-weight: bold;
    display: block;
}

/* Esconde preço de produtos sem stock */
li.product.outofstock .price,
.product.outofstock .price {
    display: none !important;
}

.crq-no-button-text {
    color: #555;
    display: block;
}

/* Tornar o modal responsivo */
@media (max-width: 480px) {
    .crq-modal-content {
        margin: 20% auto;
        padding: 20px 20px 20px 20px;
    }
}
