/* Color photo swatches (0.4.88) — Richardson-style thumbnail grid */
.hs-swatches-native{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}
.variations td.value{position:relative}
.hs-swatches{margin:.15em 0 .4em}
.hs-swatches__hdr{display:flex;flex-wrap:wrap;align-items:baseline;gap:.35em .5em;margin:0 0 .55em;font-size:.95rem;line-height:1.3}
.hs-swatches__hdr-label{font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#1b2a3a}
.hs-swatches__chosen{display:inline-block;padding:.2em .65em;border:1px solid #cfd4da;border-radius:999px;background:#fff;color:#1b2a3a;font-weight:600;font-size:.9rem}
.hs-swatches__chosen.is-empty{color:#6b7280;font-weight:500}
.hs-swatches__grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:.45em;
}
.hs-swatch{
  display:flex;align-items:center;justify-content:center;
  min-width:0;min-height:44px;aspect-ratio:1/1;
  margin:0;padding:4px;
  border:2px solid #e3e3e3;border-radius:6px;
  background:#fff;cursor:pointer;overflow:hidden;
  -webkit-tap-highlight-color:transparent;
}
.hs-swatch img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;background:#f7f7f7}
.hs-swatch:hover{border-color:#9aa3ad}
.hs-swatch:focus{outline:2px solid #1b2a3a;outline-offset:2px}
.hs-swatch.is-selected{border-color:#1b2a3a;box-shadow:inset 0 0 0 1px #1b2a3a}
.hs-swatch{position:relative}
.hs-swatch.is-oos{cursor:not-allowed;border-color:#e3e3e3;background:#fafafa}
.hs-swatch.is-oos:hover{border-color:#e3e3e3}
.hs-swatch.is-oos img,.hs-swatch.is-oos .hs-swatch__chip{opacity:.4;filter:grayscale(.35)}
/* 0.4.98 (owner 2026-10-27): "Out of stock" band over the faded thumb. Navy band + white text reads on light and dark hats. */
.hs-swatch__oos{display:none}
.hs-swatch.is-oos .hs-swatch__oos{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);
  padding:.28em .2em;background:rgba(27,42,58,.92);box-shadow:0 0 0 1px rgba(255,255,255,.7);
  color:#fff;font-size:11px;font-weight:700;line-height:1.12;letter-spacing:.01em;text-align:center;text-transform:none;
  pointer-events:none;white-space:nowrap;
}
.hs-swatch__oos-size{display:none;font-size:9.5px;font-weight:600;opacity:.9;margin-top:1px}
.hs-swatch.is-oos-size .hs-swatch__oos-size{display:block}
.hs-swatches__chosen.is-oos{color:#6b7280}
.hs-swatch--text{padding:.35em}
.hs-swatch__chip{
  display:block;width:100%;text-align:center;font-size:.68rem;font-weight:600;line-height:1.2;
  color:#1b2a3a;overflow:hidden;text-overflow:ellipsis;max-height:2.4em;
}
/* Collapsed: only slotted (+ selected is always slotted by JS) render */
.hs-swatches.is-collapsed .hs-swatch:not(.is-slot){display:none!important}
.hs-swatches__toggle{
  display:block;width:100%;margin:.65em 0 0;min-height:44px;
  padding:.55em .9em;border:2px solid #1b2a3a;border-radius:6px;
  background:#fff;color:#1b2a3a;font-weight:700;font-size:.95rem;letter-spacing:.01em;
  cursor:pointer;-webkit-tap-highlight-color:transparent;
}
.hs-swatches__toggle:hover{background:#1b2a3a;color:#fff}
.hs-swatches__toggle:focus{outline:2px solid #1b2a3a;outline-offset:2px}
.hs-swatches__toggle[hidden]{display:none!important}
@media(min-width:480px){
  .hs-swatches__grid{grid-template-columns:repeat(5, minmax(0, 1fr));gap:.5em}
}
@media(min-width:768px){
  .hs-swatches__grid{grid-template-columns:repeat(6, minmax(0, 1fr));gap:.55em}
  .hs-swatch{padding:5px}
}
@media(min-width:1100px){
  .hs-swatches__grid{grid-template-columns:repeat(7, minmax(0, 1fr))}
}
