/* Noxgear Cart Add-on Row 0.1.0. Lives inside nox-cart's body region (.nox-cart-dyn); colours follow the cart's own
   offer strip (light blue card, blue rule, ink type). */
.nxr{--nxr-blue:#0c71c7;--nxr-ink:#0c0d0d;--nxr-line:#b8dcfb;--nxr-tint:#e4f2fe;--nxr-grey:#5c5c5c;--nxr-go:#127a3c;margin-top:6px;padding:8px 0 6px;border:1px solid var(--nxr-line);border-left:4px solid var(--nxr-blue);border-radius:8px;background:var(--nxr-tint);color:var(--nxr-ink)}
.nxr__head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:32px;padding:0 10px 4px 12px}
/* the same face and size as the cart's own "Your items" heading */
.nxr__title{margin:0;font:italic 700 16px/1 Rift,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:var(--nxr-ink)}
.nxr__nav{display:flex;align-items:center;gap:6px}
.nxr__count{min-width:34px;text-align:center;font-size:12px;line-height:1;color:var(--nxr-grey);font-variant-numeric:tabular-nums}
.nxr__count b{font-weight:700;color:var(--nxr-ink)}
.nxr__arrow{display:none;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid var(--nxr-line);border-radius:50%;background:#fff;color:var(--nxr-blue);cursor:pointer}
.nxr__arrow:hover{border-color:var(--nxr-blue)}
/* arrows where there is a pointer that can click them; touch screens swipe (the next card peeks in) */
@media (hover:hover) and (pointer:fine){.nxr__arrow{display:inline-flex}}
.nxr__track{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-left:12px;padding:2px 12px 4px;-webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior-x:contain;outline-offset:2px}
.nxr__track::-webkit-scrollbar{display:none}
/* 82%: the next card always shows its edge, which is what says "this swipes" */
.nxr-card{flex:0 0 82%;max-width:330px;min-width:0;scroll-snap-align:start;display:flex;flex-direction:column;justify-content:center;gap:6px;padding:8px 10px;border:1px solid #d5e6f5;border-radius:8px;background:#fff;box-sizing:border-box}
.nxr[data-count="1"] .nxr-card{flex-basis:100%;max-width:none}
.nxr-card__top{display:flex;align-items:center;gap:10px;min-width:0}
.nxr-card__photo{flex:0 0 64px;width:64px;height:64px;border-radius:6px;object-fit:cover;background:#f1f3f5}
.nxr-card__text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.nxr-card__name{font-size:14px;font-weight:700;line-height:1.2;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.nxr-card__price{font-size:14px;line-height:1.2}
.nxr-card__price strong{font-weight:700}
.nxr-card__price s{margin-left:4px;font-size:12px;color:var(--nxr-grey)}
.nxr-card__earn{font-size:12px;line-height:1.25;font-weight:700;color:var(--nxr-go)}
.nxr-card__btn{flex:0 0 auto;min-width:64px;height:40px;padding:0 16px;border:0;border-radius:999px;background:var(--nxr-blue);color:#fff;font:700 13px/1 inherit;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.nxr-card__btn[aria-busy="true"]{opacity:.6;cursor:progress}
.nxr-card__opts{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding-top:6px;border-top:1px dashed #d5e6f5}
.nxr-card__optlabel{font-size:12px;color:var(--nxr-grey);margin-right:2px}
.nxr-opt{min-width:40px;height:32px;padding:0 10px;border:1px solid #c9ced4;border-radius:999px;background:#fff;color:var(--nxr-ink);font:600 12px/1 inherit;cursor:pointer}
.nxr-opt[aria-pressed="true"]{border-color:var(--nxr-blue);background:var(--nxr-blue);color:#fff}
/* many choices with their own photos (a colour): round photo dots, the chosen one named beside the label */
.nxr-opt--dot{min-width:0;width:32px;height:32px;padding:2px;border-radius:50%;overflow:hidden}
.nxr-opt--dot img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.nxr-opt--dot[aria-pressed="true"]{background:#fff;box-shadow:0 0 0 2px var(--nxr-blue)}
.nxr-card__optlabel [data-nxr-optname]:not(:empty){margin-left:4px;font-weight:700;color:var(--nxr-ink)}
.nxr-card.is-asking .nxr-card__opts{animation:nxr-ask .5s ease 2}
.nxr-card.is-asking .nxr-opt:not([aria-pressed="true"]){border-color:var(--nxr-blue)}
@keyframes nxr-ask{50%{background:var(--nxr-tint)}}
.nxr__dots{display:flex;justify-content:center;gap:6px;padding-top:4px}
.nxr__dot{width:6px;height:6px;border-radius:50%;background:#a9c9e6}
.nxr__dot.is-on{background:var(--nxr-blue);width:16px;border-radius:3px}
.nxr :focus-visible{outline:2px solid var(--nxr-blue);outline-offset:2px}
/* the progress block's second line sits under the first on narrow panels instead of squeezing it */
.nxr-prog .nox-cart-ship__text{flex-wrap:wrap;row-gap:2px}
.nxr-prog.is-free .nox-cart-ship__msg{font-weight:700}
@media (prefers-reduced-motion:reduce){.nxr__track{scroll-behavior:auto}.nxr-card.is-asking .nxr-card__opts{animation:none}.nxr__dot{transition:none}}
@media (prefers-reduced-motion:no-preference){.nxr__dot{transition:width .2s ease,background-color .2s ease}}
/* 0.1.2: a mouse drags the row */
@media (hover:hover) and (pointer:fine){.nxr__track{cursor:grab}.nxr__track.is-dragging{cursor:grabbing;user-select:none}}
