.ts-promotions{display:flex;flex-wrap:wrap;gap:.5rem;margin:.75rem 0;min-width:0;width:100%}
.ts-promotion{position:relative;box-sizing:border-box;width:100%;min-width:0;margin:0;border:1px solid color-mix(in srgb,var(--promo-color) 35%,transparent);border-radius:10px;background:color-mix(in srgb,var(--promo-color) 8%,var(--bs-body-bg,#fff));color:var(--bs-body-color,#222);text-align:left;font:inherit;line-height:1.4;overflow-wrap:anywhere}
.ts-promotion-heading{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.6rem .7rem;font-size:.85rem;font-weight:600;list-style:none;cursor:pointer}
.ts-promotion-heading::-webkit-details-marker{display:none}
details.ts-promotion>.ts-promotion-heading>.ts-promotion-action-icon:before{content:'+';font-weight:400}
details.ts-promotion[open]>.ts-promotion-heading>.ts-promotion-action-icon:before{content:'−'}
.ts-promotion-discount{display:inline-block;flex-shrink:0;padding:.2rem .45rem;border-radius:6px;background:var(--promo-color);color:var(--promo-ink);font-size:.82rem;white-space:nowrap}
.ts-promotion-price,.ts-promotion-condition,.ts-promotion-action{display:block;padding:0 .7rem .6rem;font-size:.77rem}
.ts-promotion-price{font-weight:700;font-size:.85rem}
.ts-promotion--card{padding:.3rem 0;display:flex;flex-direction:column;justify-content:flex-start}
.ts-promotion--card .ts-promotion-heading{flex-direction:column;align-items:flex-start;cursor:inherit}
.ts-promotion--card .ts-promotion-discount{font-size:1rem}
.ts-promotion--card .ts-promotion-condition{font-size:.72rem}
.ts-promotion--card .ts-promotion-action{margin-top:auto;font-weight:600;font-size:.74rem}
button.ts-promotion{padding:0;cursor:pointer;transition:border-color .15s,box-shadow .15s}
button.ts-promotion--card{padding:.3rem 0}
button.ts-promotion:hover,button.ts-promotion.is-selected{border-color:var(--promo-color);box-shadow:inset 0 0 0 1px var(--promo-color)}
.ts-promotion:focus-visible,.ts-promotion-heading:focus-visible,.ts-promotions-more>summary:focus-visible{outline:3px solid var(--promo-color,#1677ff);outline-offset:3px}
.ts-promotions-more{width:100%;font-size:.8rem}
.ts-promotions-more>summary{cursor:pointer;padding:.25rem 0}
.ts-promotions-more>summary>.ts-promotions-less-label,.ts-promotions-more[open]>summary>.ts-promotions-more-label{display:none}
.ts-promotions-more[open]>summary>.ts-promotions-less-label{display:inline}
.ts-promotions-more .ts-promotions{margin:.5rem 0 0}
.ts-promotions--listing .ts-promotion-heading{padding:.45rem .55rem;font-size:.78rem}
.ts-promotions--listing .ts-promotion-discount{font-size:.74rem}
@media(max-width:360px){.ts-promotion-heading{gap:.3rem}}
.ts-promotion-copy{min-width:0;flex:1}
.ts-promotion-copy>.ts-promotion-price{padding:.2rem 0 0;font-size:.75rem}
.ts-promotion-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;width:100%;min-width:0}
.ts-promotion-cards .ts-promotion--card{max-width:none;min-height:140px}
.ts-promotion-cards .ts-promotion-heading{padding:.55rem;font-size:.8rem;gap:.4rem}
.ts-promotion-cards .ts-promotion-price{padding:0 .55rem .5rem;font-size:.75rem}
.ts-promotion-cards .ts-promotion-action{padding:0 .55rem .45rem;font-size:.7rem}
.ts-promotions-conditions{width:100%;font-size:.77rem}
.ts-promotions-conditions>summary{cursor:pointer;padding:.15rem 0}
.ts-promotions-conditions ul{margin:.5rem 0;padding-left:1.2rem}
.ts-promotions-conditions li+li{margin-top:.4rem}

/* Explicit controls take precedence over the card's no-click container. */
.js-clickable-product-card a[data-no-card-click],
.js-clickable-product-card button:not(:disabled),
.js-clickable-product-card .home-product-action-btn:not(:disabled),
.ts-promotions button:not(:disabled),.ts-promotions summary { cursor:pointer; }
.ts-promotions div.ts-promotion,.ts-promotions div.ts-promotion .ts-promotion-heading { cursor:default; }
.ts-promotions button:disabled { cursor:wait; opacity:.7; }
.ts-promotion-action-icon { display:inline-flex; align-items:center; justify-content:center; flex:0 0 1.25rem; width:1.25rem; min-height:1.4rem; font-size:1rem; }
.ts-promotion-feedback { font-size:.85rem; margin:.5rem 0; }
.ts-promotion:not(.ts-promotion--card) .ts-promotion-heading { flex-wrap:wrap; }
.ts-promotion:not(.ts-promotion--card) .ts-promotion-copy { flex:1 1 7rem; }

.ts-promotion.is-unavailable{--promo-color:#6b7280!important;--promo-ink:#fff!important;opacity:.65;cursor:not-allowed}

@media(max-width:575.98px){.ts-promotion-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep the offer name above the discount in cards, including expandable cards. */
.ts-promotion--card .ts-promotion-copy{flex:0 0 auto}
