/* V141 (PB-SHOPS LIVE-SH-01 / SH-Q17, PB-C033 commerce card; PB-EXPLORE EXP-CART): the card "Add to cart" and its state line.
   PB tokens only; every independent target is >= 48 x 48 CSS px (the secondary links of the state line keep the 40 px Simple size).
   The Explore variant keeps the V135 price-row layout (pb-v135-explore.css); these rules add the shop variant and the state line. */
.pb141-cartrow--shop { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.pb141-cartrow--shop .pb141-cart {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; inline-size: 100%; min-block-size: 48px; min-inline-size: 48px;
    padding-inline: 12px; border-radius: var(--pb-radius-control, 10px); border: 1px solid var(--pb-color-action, var(--pb-color-border-strong));
    background: var(--pb-color-surface); color: var(--pb-color-action, var(--pb-color-text)); font: inherit; font-weight: 600; cursor: pointer;
    box-sizing: border-box; }
.pb141-cartrow--shop .pb141-cart:hover { background: var(--pb-color-surface-subtle); }
.pb141-cartrow--shop .pb141-cart:focus-visible { outline: 2px solid var(--pb-color-focus); outline-offset: 2px; }
.pb141-cartrow--shop .pb141-cart-text, .pb141-cartrow--shop .pb135-cart-text { overflow-wrap: anywhere; }
.pb141-cart[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.pb141-cart.is-added { border-color: var(--pb-color-border-selected, var(--pb-color-focus)); }
.pb141-cart[hidden] { display: none !important; }

.pb141-cartmsg { flex: 1 1 100%; min-inline-size: 0; font-size: 14px; line-height: 20px; color: var(--pb-color-text-muted); overflow-wrap: anywhere; }
.pb141-cartmsg:empty { display: none; }
.pb141-cartmsg:focus { outline: none; }
.pb141-cartmsg:focus-visible { outline: 2px solid var(--pb-color-focus); outline-offset: 2px; }
.pb141-cartmsg[data-kind="added"] { color: var(--pb-color-success, var(--pb-color-text)); }
.pb141-cartmsg[data-kind="retry"], .pb141-cartmsg[data-kind="refused"] { color: var(--pb-color-danger, var(--pb-color-text)); }
.pb141-cartmsg[data-kind="price-changed"] { color: var(--pb-color-warning-text, var(--pb-color-text)); font-weight: 600; }
.pb141-cartmsg__text { display: block; }
.pb141-cartmsg__link, .pb141-cartmsg__close {
    display: inline-flex; align-items: center; min-block-size: 40px; margin-block-start: 4px; margin-inline-end: 8px; padding-inline: 8px;
    border-radius: var(--pb-radius-control, 10px); font: inherit; font-weight: 600; }
.pb141-cartmsg__link { color: var(--pb-color-action, var(--pb-color-link)); text-decoration: underline; }
.pb141-cartmsg__close { border: 1px solid var(--pb-color-border); background: var(--pb-color-surface); color: var(--pb-color-text); cursor: pointer; }
.pb141-cartmsg__link:focus-visible, .pb141-cartmsg__close:focus-visible { outline: 2px solid var(--pb-color-focus); outline-offset: 2px; }

/* LIVE-SH-03: the compact store gate (0 offers) */
.pb141-storegate { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-block: 16px; padding: 16px;
    border: 1px solid var(--pb-color-border-muted, var(--pb-color-border)); border-radius: 16px; background: var(--pb-color-surface); }
.pb141-storegate p { margin: 0; font-size: 16px; line-height: 24px; }
.pb141-storegate .pb-btn { min-block-size: 48px; display: inline-flex; align-items: center; }

/* LIVE-SH-05: the one-word suggestion of an empty search */
.pb141-suggest { margin: 8px 0 0; }
.pb141-suggest a { display: inline-flex; align-items: center; min-block-size: 48px; font-weight: 600; }

@media (forced-colors: active) {
    .pb141-cartrow--shop .pb141-cart, .pb141-cartmsg__close { border-color: ButtonText; }
}
