/* WaveLocal enhanced product attribute selector */
.wl-product-selector {
  margin-top: 1rem;
}

.wl-product-selector > .form-control-label {
  display: block;
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: #211c1a;
}

.wl-product-selector .wl-product-selector__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wl-product-selector .wl-product-selector__option {
  float: none !important;
  margin: 0 !important;
  width: auto !important;
  position: relative;
}

.wl-product-selector .wl-product-selector__option > .input-radio {
  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;
  opacity: 0 !important;
  pointer-events: none;
}

.wl-product-selector .wl-product-selector__card {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  min-height: 82px;
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #e7deda;
  border-radius: 10px;
  background: #fff;
  color: #211c1a;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(33, 28, 26, 0.03);
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease, transform .16s ease;
  user-select: none;
}

.wl-product-selector .wl-product-selector__card:hover {
  border-color: #c9b7b0;
  box-shadow: 0 4px 14px rgba(33, 28, 26, 0.07);
}

.wl-product-selector .wl-product-selector__card:focus-visible {
  outline: 2px solid #211c1a;
  outline-offset: 2px;
}

.wl-product-selector .wl-product-selector__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wl-product-selector .wl-product-selector__title {
  display: block;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.wl-product-selector .wl-product-selector__detail {
  display: block;
  margin-top: 5px;
  color: #746c68;
  font-size: .86rem;
  line-height: 1.35;
}

.wl-product-selector .wl-product-selector__check {
  display: flex;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7ccc7;
  border-radius: 50%;
  background: #fff;
  opacity: .75;
}

.wl-product-selector .wl-product-selector__check svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}

.wl-product-selector .wl-product-selector__option.is-selected .wl-product-selector__card {
  border-color: #211c1a;
  background: #f8f5f2;
  box-shadow: 0 0 0 1px #211c1a;
}

.wl-product-selector .wl-product-selector__option.is-selected .wl-product-selector__check {
  border-color: #211c1a;
  background: #211c1a;
  color: #fff;
  opacity: 1;
}

.wl-product-selector .wl-product-selector__option.is-selected .wl-product-selector__check svg {
  opacity: 1;
}

.wl-product-selector .wl-product-selector__option.attribute-not-in-stock .wl-product-selector__card {
  opacity: .48;
  cursor: not-allowed;
  background: #faf9f8;
}

@media (max-width: 575.98px) {
  .wl-product-selector .wl-product-selector__options {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .wl-product-selector .wl-product-selector__card {
    min-height: 72px;
    padding: 12px 14px;
  }
}
