/* House of Bamboo Image Swatches. Native WooCommerce selects remain authoritative. */
form.variations_form select.hob-color-select-ready {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.hob-color-swatches {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 9px;
  padding: 5px 0 11px;
  direction: inherit;
}
.hob-color-swatch {
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 66px;
  min-width: 0;
  height: auto;
  min-height: 60px;
  padding: 4px !important;
  margin: 0 !important;
  border-radius: 7px !important;
  border: 2px solid transparent !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  text-align: center !important;
  line-height: 1.15 !important;
  cursor: pointer;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color 130ms ease, opacity 130ms ease;
}
.hob-color-swatch:hover:not(:disabled) { border-color: #bca18a !important; }
.hob-color-swatch[aria-pressed="true"] { border-color: #825a37 !important; background: rgba(130,90,55,.06) !important; }
.hob-color-swatch:focus-visible { outline: 2px solid #2c5a80 !important; outline-offset: 2px; }
.hob-color-swatch:disabled { opacity: .36 !important; cursor: not-allowed !important; }
.hob-color-swatch__chip {
  box-sizing: border-box;
  display: block;
  width: 42px;
  height: 42px;
  flex: none;
  background-color: var(--hob-swatch-fill, #dfd3c2) !important;
  background-image: var(--hob-swatch-image, none) !important;
  background-size: cover !important;
  background-position: center !important;
  border: 1px solid rgba(0,0,0,.21) !important;
  border-radius: 4px;
}
.hob-color-swatch__name {
  display: block;
  width: 100%;
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.25;
  color: inherit;
  overflow-wrap: anywhere;
}
@media(max-width:575px) {
  .hob-color-swatches { gap: 6px; }
  .hob-color-swatch { width: 61px; }
  .hob-color-swatch__chip { width: 39px; height: 39px; }
}
@media(prefers-reduced-motion: reduce) {
  .hob-color-swatch { transition: none; }
}
