/* Hide cart and purchase UI - catalog-only storefront
   NOTE: Add to Cart is now hidden natively via
   Settings > Online Store > Preferences > Quote Requests > Hide Add to Cart.
   The add-to-cart and quantity rules were also suppressing the
   Request a Quote button, so they are disabled here.
   Cart icon stays hidden. */
[data-zs-cart-icon] {
    display: none !important;
}

/* Hide out-of-stock indicators on list pages */
[data-zs-out-of-stock-label],
.out-of-stock,
.outofstock,
[data-zs-stock-status="out-of-stock"],
.theme-out-of-stock-button,
.theme-out-of-stock-overlay,
.theme-product-overlay-link {
    display: none !important;
}

/* Hide stock availability on product detail pages */
[data-zs-product-outofstock],
.theme-product-stock-availability-details,
.theme-prod-stock-details,
.theme-out-of-stock {
    display: none !important;
}

/* Custom HWR ID / Compatibility lines on list cards */
.product-info-block {
    margin-top: 4px;
}

.product-info-line {
    font-size: 12px;
    color: #797979;
    line-height: 1.4;
}

/* Request a Quote button (added by footer script) */
.hwr-quote-wrap { margin: 18px 0 6px; }
.hwr-quote-btn {
    display: inline-block;
    background: #C8102E;
    color: #fff !important;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .01em;
    padding: 13px 30px;
    border-radius: 3px;
    text-decoration: none !important;
    transition: background .15s ease;
}
.hwr-quote-btn:hover,
.hwr-quote-btn:focus { background: #a50d26; color: #fff !important; }
.hwr-quote-btn:focus-visible { outline: 2px solid #14181A; outline-offset: 2px; }
.hwr-quote-note { margin-top: 9px; font-size: 13px; color: #5B666C; }
.hwr-quote-note a { color: #C8102E; }

/* Contact panel replacing the SalesIQ chat bubble */
.zsiq_theme1, #zsiq_float, #zsiq_chat_wrap, #zs-fl-tip,
[id^="zsiq"], [class^="zsiq"] { display: none !important; }

.hwr-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.hwr-contact-toggle {
    background: #14181A;
    color: #fff;
    border: 0;
    border-radius: 3px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,.22);
}
.hwr-contact-toggle:hover { background: #C8102E; }
.hwr-contact-toggle:focus-visible { outline: 2px solid #C8102E; outline-offset: 2px; }
.hwr-contact-panel {
    background: #fff;
    border: 1px solid #D5DADD;
    border-radius: 3px;
    padding: 16px 18px;
    box-shadow: 0 6px 24px rgba(0,0,0,.16);
    min-width: 230px;
}
.hwr-contact-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    font-size: 14px;
    margin-bottom: 8px;
}
.hwr-contact-row span { color: #8A959B; }
.hwr-contact-row a { color: #C8102E; text-decoration: none; }
.hwr-contact-row a:hover { text-decoration: underline; }
.hwr-contact-hours {
    font-size: 12px;
    color: #8A959B;
    border-top: 1px solid #E7EAEC;
    padding-top: 8px;
    margin-top: 4px;
}
@media (max-width: 600px) { .hwr-contact { right: 12px; bottom: 12px; } }

/* Cart controls stay hidden on a quote-only catalogue.
   Zoho's Hide Add to Cart setting does not reach this theme,
   so the rules below are what actually removes them. */
[data-zs-add-to-cart],
[data-nostock-cart-add],
[data-zs-quantity-container],
.theme-cart-button,
.theme-product-quantity-spinner {
    display: none !important;
}


/* Distributor panel opened from the product page button. */
.hwr-quote-btn { border: 0; cursor: pointer; font-family: inherit; }
.hwr-dist-backdrop {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(20, 24, 26, .55);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.hwr-dist-panel {
    position: relative;
    background: #fff; width: 100%; max-width: 640px;
    max-height: 82vh; overflow-y: auto;
    border-radius: 3px; padding: 30px 32px 24px;
    box-shadow: 0 18px 50px rgba(0,0,0,.3);
}
.hwr-dist-close {
    position: absolute; top: 10px; right: 14px;
    background: none; border: 0; font-size: 26px; line-height: 1;
    color: #8A959B; cursor: pointer; padding: 4px 8px;
}
.hwr-dist-close:hover { color: #C8102E; }
.hwr-dist-head h2 { margin: 0 0 8px; font-size: 21px; color: #14181A; }
.hwr-dist-head p { margin: 0 0 18px; font-size: 14px; color: #5B666C; line-height: 1.55; }
.hwr-dist-pick { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.hwr-dist-pick label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #8A959B; }
.hwr-dist-pick select { padding: 8px 10px; border: 1px solid #D5DADD; border-radius: 3px; font-size: 14px; min-width: 170px; }
.hwr-dist-list { margin-top: 10px; }
.hwr-dist-row { padding: 14px 0; border-bottom: 1px solid #E7EAEC; }
.hwr-dist-row:last-child { border-bottom: 0; }
.hwr-dist-name { font-weight: 600; font-size: 15px; color: #14181A; }
.hwr-dist-states { font-size: 12px; color: #8A959B; margin: 3px 0 5px; line-height: 1.5; }
.hwr-dist-mail { font-size: 14px; color: #C8102E; text-decoration: none; }
.hwr-dist-mail:hover { text-decoration: underline; }
.hwr-dist-none { font-size: 14px; color: #5B666C; padding: 16px 0; }
.hwr-dist-foot {
    margin-top: 16px; padding-top: 14px; border-top: 1px solid #E7EAEC;
    font-size: 13px; color: #5B666C;
}
.hwr-dist-foot a, .hwr-dist-none a { color: #C8102E; }
@media (max-width: 560px) {
    .hwr-dist-panel { padding: 26px 20px 20px; }
    .hwr-dist-pick { flex-direction: column; align-items: flex-start; gap: 6px; }
}