.vesta-product-size-selector {
  margin: 0 0 24px;
}

.vesta-product-size-selector > fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.vesta-product-size-selector legend {
  margin: 0 0 12px;
  padding: 0;
  font-weight: 500;
  font-size: 16px;
  color: #2b2b2a;
}

.vesta-product-size-selector .form-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vesta-product-size-selector .form-item {
  position: relative;
  margin: 0;
}

.vesta-product-size-selector input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.vesta-product-size-selector label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 42px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #cfc8c1;
  border-radius: 4px;
  background: #fff;
  color: #2b2b2a;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.vesta-product-size-selector label:hover {
  border-color: #8b0000;
  color: #8b0000;
  background: #faf7f5;
}

.vesta-product-size-selector input[type="radio"]:focus-visible + label {
  outline: 2px solid #8b0000;
  outline-offset: 2px;
}

.vesta-product-size-selector input[type="radio"]:checked + label {
  border-color: #8b0000;
  background: #8b0000;
  color: #fff;
}

.order-item-selected-size {
  margin-top: 4px;
  font-size: 14px;
}
