/* Compact attribute list for product cards */
.bp-attributeslist {
  display: grid;
  gap: 3px;
 margin: 8px 4px;
  max-width: 100%;
  bottom: 0;
    position: absolute;
}

.bp-attributeslist__grp,
.bp-attributeslist__opts {
  max-width: 100%;
}

.bp-attributeslist__opts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  overflow: hidden;
}

.bp-attributeslist__opt {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
  cursor: default;
}

/* Visual/color/texture/combination-image options: circle only, max 20x20 */
.bp-attributeslist__opt--visual,
.bp-attributeslist__chip {
  width: 15px;
  height: 15px;
  max-width: 15px;
  max-height: 15px;
  border-radius: 50%;
}

.bp-attributeslist__opt--visual {
  padding: 0;
  background: transparent;
}

.bp-attributeslist__chip {
  display: block;
  background-position: center;
  border: 1px solid rgba(0,0,0,.14);
  box-shadow: 0 0 0 1px rgba(255,255,255,.85) inset;
}

/* Text/radio/dropdown options: compact small font */
.bp-attributeslist__opt--text {
  min-height: 20px;
  padding: 2px 5px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 999px;
  background: #fff;
}

.bp-attributeslist__name {
  display: inline-block;
  max-width: 74px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  line-height: 1.1;
  color: #222;
}

.bp-attributeslist__more {
  flex: 0 0 auto;
  display: inline;
  align-items: initial;
  justify-content: initial;
  min-height: 0 !important;
  min-width: 0 !important;
  padding: 0 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #444;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.bp-attributeslist__opt.out {
  opacity: .55;
}

.bp-attributeslist__opt:hover .bp-attributeslist__chip,
.bp-attributeslist__opt--text:hover {
  border-color: rgba(0,0,0,.22);
}

.bp-attributeslist__more:hover {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Prevent old theme/module image rules from making items larger */
.bp-attributeslist img,
.bp-attributeslist__opt img {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  object-fit: cover;
  border-radius: 50%;
}
