.cb-leather-group-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--cb-muted);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cb-leather-group-heading::after {
  flex: 1;
  height: 1px;
  background: var(--cb-border);
  content: "";
}

.cb-leather-swatches {
  --swatch-size: 1.875rem;
  --swatch-dot-size: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.25rem;
}

@media (max-width: 575.98px) {
  .cb-leather-swatches {
    --swatch-size: 1.75rem;
    --swatch-dot-size: 1.375rem;
    gap: 0.125rem;
  }
}

.cb-leather-swatches .cb-swatch {
  position: relative;
  display: inline-flex;
  flex: 0 0 var(--swatch-size);
  align-items: center;
  justify-content: center;
  width: var(--swatch-size);
  height: var(--swatch-size);
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--cb-border);
  border-radius: 50%;
  background: var(--cb-surface);
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.cb-leather-swatches .cb-dot {
  flex: 0 0 var(--swatch-dot-size);
  width: var(--swatch-dot-size);
  height: var(--swatch-dot-size);
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.22);
  display: inline-block;
  background: var(--leather-color);
}

.cb-leather-swatches .cb-swatch:hover:not(:disabled),
.cb-leather-swatches .cb-swatch:is(.active, .is-selected) {
  border-color: var(--cb-accent);
}

.cb-leather-swatches .cb-swatch:is(.active, .is-selected) {
  box-shadow: 0 0 0 2px rgba(156, 135, 82, 0.28);
}

.cb-leather-swatches .cb-swatch:focus-visible {
  outline: 2px solid var(--cb-accent);
  outline-offset: 1px;
  z-index: 1;
}

.cb-leather-swatches .cb-swatch[data-stock-unavailable]::after {
  position: absolute;
  width: 75%;
  height: 1px;
  background: var(--cb-muted);
  transform: rotate(-45deg);
  content: "";
}

.cb-dot-black { --leather-color: #171717; }
.cb-dot-tan { --leather-color: #a8814c; }
.cb-dot-red { --leather-color: #b9262d; }
.cb-dot-blue { --leather-color: #263c57; }
.cb-dot-sapphire { --leather-color: #0d5b7b; }
.cb-dot-green { --leather-color: #244436; }
.cb-dot-mocha { --leather-color: #5e412d; }
.cb-dot-white { --leather-color: #f7f3ea; }
.cb-dot-olive { --leather-color: #59602f; }
.cb-dot-olmo { --leather-color: #8a4b30; }
.cb-dot-pueblo-olmo { --leather-color: #bc7540; }
.cb-dot-walnut { --leather-color: #694630; }
.cb-dot-bone { --leather-color: #d8a16d; }
.cb-dot-cognac { --leather-color: #93431f; }
.cb-dot-sokoto-crimson { --leather-color: #8a2d37; }

.cb-dot-sully-candy-red { --leather-color: #bb2336; }
.cb-dot-sully-feu { --leather-color: #e56b27; }
.cb-dot-sully-pine { --leather-color: #2f4334; }
.cb-dot-sully-navy-blue { --leather-color: #182d46; }
.cb-dot-sully-grape { --leather-color: #633a72; }
.cb-dot-sully-dark-brown { --leather-color: #44332e; }
.cb-dot-sully-black { --leather-color: #151515; }
.cb-dot-sully-malachite { --leather-color: #25594c; }

.cb-dot-liege-sunburst { --leather-color: #a12b25; }
.cb-dot-liege-cognac { --leather-color: #9e5331; }
.cb-dot-liege-dark-brown { --leather-color: #46322f; }
.cb-dot-liege-black { --leather-color: #181719; }
.cb-dot-liege-pumpkin { --leather-color: #d65729; }
.cb-dot-liege-violet { --leather-color: #4b3543; }
.cb-dot-liege-emerald-green { --leather-color: #315b38; }
.cb-dot-liege-marine { --leather-color: #25384d; }

.cb-dot-double-shot-natural { --leather-color: #805937; }
.cb-dot-double-shot-sesame { --leather-color: #64513f; }
.cb-dot-double-shot-chocolate { --leather-color: #4c3a32; }
.cb-dot-double-shot-black { --leather-color: #1b1919; }

.cb-dot-nappa-red { --leather-color: #9d2522; }
.cb-dot-nappa-navy { --leather-color: #243448; }
.cb-dot-nappa-hunter-green { --leather-color: #214a3a; }
.cb-dot-nappa-imperial-red { --leather-color: #a31e30; }
.cb-dot-nappa-chocolate { --leather-color: #332e2b; }
.cb-dot-nappa-dark-slate-blue { --leather-color: #264b78; }

.cb-dot-calf-blue { --leather-color: #305886; }
.cb-dot-calf-red { --leather-color: #a22f32; }
.cb-dot-calf-green { --leather-color: #467253; }
.cb-dot-calf-khaki { --leather-color: #827057; }
.cb-dot-calf-black { --leather-color: #151515; }
.cb-dot-calf-white { --leather-color: #f8f5ef; }
