.tag-choice {
  --tag-ink: #20394c;
  --tag-muted: #526977;
  --tag-border: #d7e5ec;
  color: var(--tag-ink);
  scroll-margin-top: 120px;
}
.tag-choice [hidden] { display: none !important; }
.tag-choice--home { background: #f0f7f9; padding: clamp(36px, 5.2vw, 72px) 0; }
.tag-choice--landing { padding: clamp(32px, 4.5vw, 59px) 0 0; }
.tag-choice__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 20px;
}
.tag-choice__head h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.65rem);
  color: var(--tag-ink);
  font-weight: 850;
  letter-spacing: -.035em;
  margin: 0 0 5px;
  line-height: 1.1;
}
.tag-choice__head p { margin: 0; color: var(--tag-muted); font-size: .92rem; }
.tag-choice__more {
  color: #226e78;
  align-self: center;
  font-size: .91rem;
  font-weight: 750;
  text-underline-offset: 3px;
}
.tag-choice__more:hover { color: #174e57; text-decoration: underline; }
.tag-choice__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tag-choice__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--tag-border);
  border-radius: 17px;
  background: #fff;
}
.tag-choice__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 90px;
  margin: 0;
  background: radial-gradient(ellipse at 48% 30%, #fff, #edf5f8 82%);
}
.tag-choice__art img { display: block; width: min(94%, 176px); height: 100px; object-fit: contain; }
.tag-choice__swatches {
  position: absolute;
  right: 9px;
  bottom: 8px;
  display: flex;
  gap: 4px;
}
.tag-choice__swatches i { width: 10px; height: 10px; border: 1px solid #5b6b7833; border-radius: 50%; }
.tag-choice__swatches i:nth-child(1) { background: #d0dbde; }
.tag-choice__swatches i:nth-child(2) { background: #e7c47b; }
.tag-choice__swatches i:nth-child(3) { background: #747d85; }
.tag-choice__copy { display: flex; flex: 1; flex-direction: column; padding: 9px 10px 10px; }
.tag-choice__copy h3 { margin: 0; color: var(--tag-ink); font-size: 1rem; line-height: 1.2; font-weight: 850; }
.tag-choice__copy p { margin: 3px 0 10px; font-size: .78rem; line-height: 1.3; color: var(--tag-muted); }
.tag-choice__links {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 5px;
  margin-top: auto;
}
.tag-choice__links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 4px 3px;
  border: 1px solid #d6e5ec;
  border-radius: 9px;
  background: #f5fafc;
  color: #214f63;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
  text-decoration: none;
}
.tag-choice__links [data-tag-variant="qr"] { background: #e5f4f4; color: #175961; border-color: #cee9e9; }
.tag-choice__links a[href]:hover { color: #fff; background: #246c76; border-color: #246c76; }
.tag-choice__links a[aria-disabled="true"] { color: #616a73; background: #f4f4f4; cursor: default; }
.tag-choice :focus-visible { outline: 2px solid #246c76; outline-offset: 2px; }
@media (min-width: 680px) {
  .tag-choice__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .tag-choice__copy { padding: 12px 13px 13px; }
}
@media (min-width: 1000px) {
  .tag-choice__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tag-choice__art img { height: 116px; }
}
@media (max-width: 365px) {
  .tag-choice__links { gap: 3px; }
  .tag-choice__links a { font-size: .7rem; }
}

.tag-choice--landing { padding: 0 0 clamp(36px, 5vw, 65px); }
.tag-choice__head { align-items: flex-end; }
.tag-choice__head h2 { margin-bottom: 5px; }
.tag-choice__nav { display: flex; flex: none; gap: 7px; }
.tag-choice__nav button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d5e5ea;
  border-radius: 50%;
  background: #fff;
  color: #226e78;
  font: 800 1.24rem/1 system-ui, sans-serif;
}
.tag-choice__nav button:enabled { cursor: pointer; }
.tag-choice__nav button:enabled:hover { background: #e2f2f4; border-color: #9dcbd2; }
.tag-choice__nav button:disabled { opacity: .46; }
.tag-choice__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, calc((100% - 25px) / 2.15));
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: #a6c5cc #e8f1f3;
  scrollbar-width: thin;
  padding-block: 4px 11px;
}
.tag-choice__track .tag-choice__card { scroll-snap-align: start; }
.tag-choice__track:focus-visible { outline-offset: 0; }
.tag-choice__copy h3 { font-size: .99rem; }
.tag-choice__copy p { margin-bottom: 5px; }
.tag-choice__copy .tag-choice__variants {
  color: #345b6a;
  line-height: 1.28;
  font-size: .72rem;
  font-weight: 650;
  margin-bottom: 10px;
}
.tag-choice__links a { white-space: nowrap; padding-inline: 5px; }
.tag-choice__links a[data-tag-order] { background: #e9f5f6; color: #175961; border-color: #d3e8ec; }
.tag-choice__links a[data-tag-order][href]:hover { color: #fff; background: #246c76; border-color: #246c76; }
.tag-choice__links a[data-tag-order][aria-disabled="true"] { color: #616a73; background: #f4f4f4; }
.tag-choice__links a:focus-visible { outline-offset: -2px; }
@media (min-width: 680px) {
  .tag-choice__track { grid-auto-columns: calc((100% - 36px) / 4); }
}
@media (min-width: 1000px) {
  .tag-choice__track { grid-auto-columns: calc((100% - 48px) / 5); }
}
@media (max-width: 400px) {
  .tag-choice__head { column-gap: 8px; }
  .tag-choice__copy { padding-inline: 8px; }
  .tag-choice__links a[data-tag-order] { font-size: .77rem; }
}
