/* Custom styles for YITH Quote messages - Highlight in #FA5373 */
.yith_ywraq_add_item_response_message,
.yith_ywraq_add_item_browse_message {
    color: #FA5373 !important;
    font-weight: 600 !important;
    text-align: center !important;
    width: 100% !important;
}

.yith_ywraq_add_item_browse_message a {
    color: #FA5373 !important;
    font-weight: 600 !important;
}

.yith_ywraq_add_item_browse_message a:hover {
    color: #d93d5d !important;
}

/* Center YITH quote elements ONLY on shop/archive pages (not single product pages) */
body.archive .yith-ywraq-add-to-quote,
body.post-type-archive .yith-ywraq-add-to-quote,
body.tax-product_cat .yith-ywraq-add-to-quote {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
}

body.archive .yith-ywraq-add-to-quote .quantity,
body.post-type-archive .yith-ywraq-add-to-quote .quantity,
body.tax-product_cat .yith-ywraq-add-to-quote .quantity {
    margin: 0 auto !important;
    display: block !important;
    text-align: center !important;
}

body.archive .yith-ywraq-add-to-quote .yith-ywraq-add-button,
body.post-type-archive .yith-ywraq-add-to-quote .yith-ywraq-add-button,
body.tax-product_cat .yith-ywraq-add-to-quote .yith-ywraq-add-button {
    width: 100% !important;
    text-align: center !important;
    display: block !important;
}

body.archive .yith-ywraq-add-to-quote .add-request-quote-button,
body.post-type-archive .yith-ywraq-add-to-quote .add-request-quote-button,
body.tax-product_cat .yith-ywraq-add-to-quote .add-request-quote-button {
    display: inline-block !important;
    margin: 0 auto !important;
}

/* Ensure quantity input is centered on shop pages only */
body.archive .yith-ywraq-add-to-quote .quantity input.qty,
body.post-type-archive .yith-ywraq-add-to-quote .quantity input.qty,
body.tax-product_cat .yith-ywraq-add-to-quote .quantity input.qty {
    text-align: center !important;
}
