/* Scoped to individual FSP Loop Item card shells intentionally tagged in Elementor. */
.fsp-hc-card-shell:has(.fsp-hc-card-quote) .fsp-hc-card-price,
.fsp-hc-card-shell:has(.fsp-hc-card-quote) .fsp-hc-card-cart {
    display: none !important;
}
.fsp-hc-card-quote {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 3px;
}
.fsp-hc-card-price-on-request {
    display: block;
    color: #002B5C;
    font: 700 12px/1.45 Roboto, Arial, sans-serif;
}
.fsp-hc-card-quote-add,
.fsp-hc-card-view-product {
    width: 100%;
    min-height: 37px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    background: #F73718 !important;
    color: #fff !important;
    border: 1px solid #F73718 !important;
    border-radius: 7px !important;
    font: 700 12px/1.35 Roboto, Arial, sans-serif;
    text-decoration: none !important;
    cursor: pointer;
}
.fsp-hc-card-quote-add:disabled {
    opacity: .6;
    cursor: wait;
}
.fsp-hc-card-quote-feedback {
    /* The success feedback remains available to screen readers without
       extending a five-column product card. */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.fsp-hc-card-quote-feedback.is-error {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip-path: none;
    white-space: normal;
    color: #B42318;
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
/* Override the flex !important rule when the Add button is hidden after success. */
.fsp-hc-card-quote-add[hidden],
.fsp-hc-card-view-enquiry[hidden] {
    display: none !important;
}
.fsp-hc-card-view-enquiry:not([hidden]) {
    display: flex !important;
    width: 100%;
    min-height: 37px;
    align-items: center;
    justify-content: center;
    padding: 8px 6px;
    border: 1px solid #002B5C;
    border-radius: 7px;
    background: #002B5C;
    color: #FFFFFF !important;
    font: 700 11px/1.35 Roboto, Arial, sans-serif;
    text-decoration: none !important;
    text-align: center;
}
