.earth2-products {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,3vw,48px);list-style:none;padding:0;margin:0}
.earth2-catalog {padding-block:clamp(28px,4vw,60px)}
.earth2-products a {display:block;color:inherit;text-decoration:none;text-align:center}
.earth2-products img {display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.earth2-products span {display:block;margin-top:12px;text-transform:uppercase}
.earth2-products a:hover span {text-decoration:underline}
.earth2-search {margin-bottom:24px}
.earth2-search input {font:inherit;padding:8px;max-width:100%}
@media(max-width:749px){.earth2-products {grid-template-columns:repeat(2,minmax(0,1fr))}}
.tee-preview {position:relative;display:block;width:100%}
.tee-preview img {display:block;width:100%;height:auto}
.tee-preview .tee-back {position:absolute;inset:0;opacity:0}
.tee-flip {border:0;background:white;padding:0;cursor:pointer}
.tee-flip[aria-pressed="true"] .tee-back,
.earth2-products a:focus-visible .tee-back {opacity:1}
@media (hover:hover) {
  .earth2-products a:hover .tee-back,.tee-flip:hover .tee-back {opacity:1}
}

.deck-detail .tee-flip .tee-back {height:100%;object-fit:contain}

.deck-face {display:block;position:relative}
.deck-face::after {
  content:"";position:absolute;inset:0;pointer-events:none;
  background:var(--deck-ink,transparent);
  mask:var(--ink-mask) center / contain no-repeat;
}
.deck-bottom {--ink-mask:url("/assets/earth2-products/bottom-ink.png")}
.deck-top {--ink-mask:url("/assets/earth2-products/top-ink.png")}
.deck-top img {height:100%;object-fit:contain}

.deck-color {border:0;padding:0;margin:24px 0;min-width:0}
.deck-color legend {padding:0;font-weight:600}
.deck-color legend span {margin-inline-start:.6em;font-weight:400;color:#515151}
.deck-swatches {display:flex;flex-wrap:wrap;gap:2px;margin-top:7px;margin-inline-start:-5px}
.deck-swatches input {
  appearance:none;position:relative;width:44px;height:44px;margin:0;
  padding:0;border:0;background:transparent;border-radius:50%;cursor:pointer;
}
.deck-swatches input::before {
  content:"";position:absolute;inset:8px;border-radius:50%;background:var(--swatch);
}
.deck-swatches input:checked::after {
  content:"";position:absolute;inset:4px;border:2px solid #151515;border-radius:50%;
}
.deck-swatches input:focus-visible {outline:2px dashed currentColor;outline-offset:-1px}
