/* Hexwaren B2B quote button — injected on product detail pages */

.hx-b2b-quote-wrap {
    margin: 16px 0 8px;
    width: 100%;
}

/* matches NOVA .btn styling: flat color, 2px radius, no shadow */
.hx-b2b-quote-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 0.125rem;
    cursor: pointer;
    text-align: left;
    text-decoration: none !important;
    background-color: #55699f;
    font-family: "Open Sans", sans-serif;
    transition: background-color 0.15s ease-in-out;
}

.hx-b2b-quote-btn:hover,
.hx-b2b-quote-btn:focus {
    background-color: #485c90;
    text-decoration: none !important;
}

.hx-b2b-quote-btn:not(:disabled):active {
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.hx-b2b-quote-icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: #ffffff;
}

.hx-b2b-quote-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}

.hx-b2b-quote-main {
    color: #ffffff !important;
    font-size: 0.875rem;
    font-weight: 600;
}

.hx-b2b-quote-sub {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 0.72rem;
    font-weight: 400;
}

.hx-b2b-quote-trust {
    margin-top: 6px;
    font-size: 0.75rem;
    color: #6c757d;
    text-align: center;
}

@media (max-width: 575px) {
    .hx-b2b-quote-main {
        font-size: 0.98rem;
    }
    .hx-b2b-quote-sub {
        font-size: 0.72rem;
    }
}

/* inline placement: price column left, button column right in the same row */
.hx-b2b-price-col {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 55% !important;
}

.hx-b2b-inline-col {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: 400px !important;
    margin-left: auto;
    align-self: center;
    min-width: 260px;
}

.hx-b2b-inline-col.hx-b2b-quote-wrap {
    margin-top: 0;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .hx-b2b-price-col {
        max-width: 100% !important;
        flex: 0 0 100% !important;
        width: 100% !important;
    }
    .hx-b2b-inline-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-left: 0;
        margin-top: 12px;
        margin-bottom: 4px;
    }
}

/* highlight pulse on the inquiry form after the jump */
.hx-b2b-target-highlight {
    animation: hxB2bPulse 1.6s ease-out 1;
    border-radius: 6px;
}

@keyframes hxB2bPulse {
    0%   { box-shadow: 0 0 0 0 rgba(57, 89, 168, 0.55); }
    100% { box-shadow: 0 0 0 14px rgba(57, 89, 168, 0); }
}

/* ---- trust bar (product pages, below availability row) ---- */
.hx-trust-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    background: #f5f7fa;
    border: 1px solid #ebebeb;
    border-radius: 0.125rem;
    padding: 10px 6px;
    margin: 14px 0 4px;
    width: 100%;
    row-gap: 10px;
}

.hx-trust-item {
    flex: 1 1 45%;
    min-width: 45%;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 2px 10px;
}

.hx-trust-item + .hx-trust-item {
    border-left: 1px solid #e3e6ea;
}

/* when wrapped to 2x2, the 3rd item starts a new row - no stray border */
.hx-trust-item:nth-child(odd) {
    border-left: 0;
}

.hx-trust-item:nth-child(even) {
    border-left: 1px solid #e3e6ea;
}


.hx-trust-icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    color: #55699f;
    margin-top: 1px;
}

.hx-trust-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}

.hx-trust-title {
    font-weight: 700;
    font-size: 0.8125rem;
    color: #333333;
}

.hx-trust-sub {
    font-size: 0.72rem;
    color: #707070;
}

@media (max-width: 767.98px) {
    .hx-trust-bar {
        flex-direction: column;
        gap: 10px;
        padding: 12px 10px;
    }
    .hx-trust-item {
        padding: 0;
    }
    .hx-trust-item + .hx-trust-item {
        border-left: 0;
        border-top: 1px solid #e3e6ea;
        padding-top: 10px;
    }
}
