.market-card-selection { position: absolute; top: 5px; right: 5px; display: flex; gap: 5px; }
.market .market-card-selection button { display: grid; place-items: center; width: 40px; min-height: 40px; padding: 0; border-radius: 10px; background: white; color: var(--graphite); cursor: pointer; }
.market .market-card-selection button:is(:hover,[aria-pressed=true]) { background: var(--graphite); color: white; }
.market .market-card-selection button:focus-visible { outline: 2px solid white; outline-offset: -4px; background: var(--graphite); color: white; }
.market-card-selection svg { width: 21px; height: 21px; }
.market-card-selection [data-selection-toggle="favorites"][aria-pressed=true] svg { fill: currentColor; }
@media (hover:hover) and (pointer:fine) {
  .market-card-selection { opacity: 0; pointer-events: none; transition: opacity .2s ease; }
  .market-solution-card:is(:hover,:focus-within) .market-card-selection, .market-card-selection:has([aria-pressed=true]) { opacity: 1; pointer-events: auto; }
}
@media (prefers-reduced-motion:reduce) { .market-card-selection { transition: none; } }
@media (max-width:480px) {
  .market .market-card-selection button { min-height: 34px; width: 34px; }
  .market-card-selection svg { width: 18px; height: 18px; }
  .market-solution-art:has(.market-subscription-tag) .market-card-selection { top: auto; bottom: 5px; }
}
.market-selection-bar { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; position: fixed; z-index: 5; bottom: max(10px,env(safe-area-inset-bottom)); right: 10px; max-width: calc(100% - 20px); padding: 5px; border: 1px solid var(--market-divider); border-radius: 14px; background: white; }
.market .market-selection-bar .market-button { min-height: 44px; padding: 8px 12px; font-size: 14px; }
.market-selection-bar p { flex-basis: 100%; margin: 0; padding: 6px 8px; font-size: 14px; }
.market-selection-page { min-height: 50vh; padding: clamp(12px,3vw,45px); border-radius: 16px; background: white; }
.market-selection-page h1 { margin-bottom: 24px; }
.market-selection-page > .market-button { margin-top: 20px; }
.market-selection-item { display: grid; grid-template-rows: 1fr auto; gap: 8px; min-width: 0; padding: 6px; border-radius: 14px; background: var(--market-tint); }
.market-selection-remove { text-align: center; padding: 10px 5px; }
.market-comparison { overflow: auto; padding: 4px; }
.market-comparison table { width: 100%; border-collapse: collapse; text-align: start; }
.market-comparison :is(th,td) { min-width: 160px; padding: 12px; border-bottom: 1px solid var(--market-divider); text-align: start; vertical-align: top; line-height: 1.35; }
.market-comparison thead, .market-comparison tbody th { background: var(--market-tint); }
@media (max-width:700px) {
  .market-comparison tr > th:first-child { position: sticky; left: 0; min-width: 92px; padding-inline: 8px; background: var(--market-tint); }
}
