/* AFR Radio v1.2.0 · AFR Music Store (Buy buttons, cart, My Music). Premium black & gold. */
/* when the store is open, free downloads are replaced by Buy / Download-what-you-own */
html.ar-store a[download], html.ar-store .afr-row-dl, html.ar-store #afrDockDownload { display: none !important; }

.ar-cart { position: relative; min-width: 44px; padding: 0 12px; }
.ar-cart svg { width: 20px; height: 20px; }
.ar-cart-n { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: linear-gradient(135deg, var(--g2), var(--g)); color: #050505; font: 800 .72rem/20px Inter, sans-serif; text-align: center; box-sizing: border-box; }

.ar-buy { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--g2); background: rgba(212,175,55,.12); color: var(--g2); font: 800 .8rem Inter, sans-serif; cursor: pointer; white-space: nowrap; }
.ar-buy:hover { background: linear-gradient(135deg, var(--g2), var(--g)); color: #050505; }
.ar-buy.is-cart { border-style: dashed; }
.ar-buy.is-owned { border-color: rgba(120,220,140,.7); color: #9be8ad; background: rgba(60,160,90,.12); }
.ar-buy:focus-visible { outline: 3px solid var(--g2); outline-offset: 2px; }
.ar-buy-feat { min-height: 44px; padding: 0 18px; font-size: .9rem; }
.ar-buy-chip { min-height: 42px; }

body.ar-noscroll { overflow: hidden; }
.ar-store-card { width: min(560px, 100%); }
.ar-tabs { display: flex; gap: 6px; margin: 10px 0 12px; border-bottom: 1px solid var(--line); }
.ar-tabs button { min-height: 44px; padding: 0 14px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--mut); font: 800 .9rem Inter, sans-serif; cursor: pointer; }
.ar-tabs button.on { color: var(--g2); border-bottom-color: var(--g2); }
.ar-tabs button:focus-visible { outline: 3px solid var(--g2); outline-offset: 2px; }
.ar-slist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ar-sline { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid rgba(212,175,55,.18); border-radius: 12px; background: rgba(255,255,255,.02); }
.ar-sline img { border-radius: 8px; object-fit: cover; flex: none; }
.ar-stext { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ar-stext b { color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-stext small { color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-sright { display: flex; align-items: center; gap: 2px; }
.ar-price { color: var(--g2); font-weight: 800; }
.ar-dl { min-height: 40px; padding: 0 12px; font-size: .82rem; }
.ar-total { display: flex; justify-content: space-between; align-items: center; margin: 12px 2px; color: var(--mut); }
.ar-total b { color: #fff; font-size: 1.2rem; }
.ar-wide { width: 100%; }
.ar-upsell { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--g2); border-radius: 14px; background: linear-gradient(135deg, rgba(212,175,55,.16), rgba(0,0,0,.25)); display: flex; flex-direction: column; gap: 6px; }
.ar-upsell b { color: var(--g2); }
.ar-upsell span { color: #f5f0e1; font-size: .9rem; }
.ar-upsell .ar-btn { align-self: flex-start; margin-top: 4px; }
.ar-test { padding: 8px 12px; border-radius: 10px; border: 1px dashed #ffb86b; color: #ffcf99; font: 700 .8rem Inter, sans-serif; }
@media (max-width: 480px) { .ar-buy-row { min-height: 34px; padding: 0 10px; font-size: .74rem; } }
