/* Modal Overlay */
.wrp-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    /* Black w/ opacity */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modal Content */
.wrp-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    font-family: inherit;
    text-align: left !important;
    /* Force left alignment */
}

/* Close Button */
.wrp-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.wrp-close:hover,
.wrp-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Form Styles */
#wrp-form p {
    margin-bottom: 15px;
}

#wrp-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

#wrp-form input[type="text"],
#wrp-form input[type="tel"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Privacy Checkbox */
.wrp-privacy-check {
    font-size: 0.9em;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.wrp-privacy-check input {
    margin-top: 3px;
}

/* Response Message */
#wrp-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9em;
}

#wrp-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#wrp-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Button Alignment Fix */
.wrp-request-button {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    /* Space between button and wishlist */
    width: auto;
    /* Prevent full width if theme forces it */
    cursor: pointer;
}

/* Force hide standard Add to Cart forms and Sticky bars */
form.cart,
.sticky-product .content-cart,
.sticky-product .quick-buy,
.single_add_to_cart_button {
    display: none !important;
}