/* ─── Purchase Routing — Call for Price button styling ───────────────
   render_call_link() outputs <a href="tel:..." class="iwa-call-for-
   price">. The price html filter places this inside WC's existing
   <span class="price"> wrapper:

       <span class="price">
           <a href="tel:..." class="iwa-call-for-price">Call XXX</a>
       </span>

   The anchor inherits whatever line-height / spacing the .price
   wrapper provides — typically minimal. The button styling on
   .iwa-call-for-price visually replaces the price text.

   No separate Call button is rendered on action surfaces (sticky cart
   button area, QV footer, drawer action slot) — those surfaces let the
   price slot's filtered output be the single Call indicator, and
   suppress their own action buttons to avoid the duplicate.
   ════════════════════════════════════════════════════════════════════ */

.iwa-call-for-price {
    display: inline-block;
    padding: 10px 18px;
    background: var(--iwa-color-accent, #C8472B);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 6px;
}

/* Anchor variant — clickable, gets hover/focus interaction styling. */
a.iwa-call-for-price {
    cursor: pointer;
    transition: background-color 180ms ease, transform 120ms ease;
}
a.iwa-call-for-price:hover,
a.iwa-call-for-price:focus {
    background: var(--iwa-color-accent-hover, #A83C24);
    color: #FFFFFF;
    text-decoration: none;
    transform: translateY(-1px);
}
a.iwa-call-for-price:active {
    transform: translateY(0);
}

/* Span variant (no phone configured) — static button-look. */
span.iwa-call-for-price {
    cursor: default;
}
