/* Hide the native radio */
.variations-radio-form .vr-row input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.variations-radio-form .vr-rows {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}

.variations-radio-form .add_to_cart_button,
.archive-swatches-wrapper .add_to_cart_button{
	margin-right: 0;
    width: 100%;
    border-radius: 8px;
    font-size: 13px;
}

.variations-radio-form .added_to_cart,
.archive-swatches-wrapper .added_to_cart{
    width: 100%;
    text-align: center;
    margin: 0 !important;
    margin-top: 1em !important;
    padding: 5px;
    border-radius: 8px;
    font-size: .8em;
    background-color: var(--fs-color-primary);
    color: white;
    min-height: 2.5em;
}


.vr-link-atc.disabled {
  cursor: not-allowed;
}


/* Base label look */
.variations-radio-form .vr-label {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  background: #f9f9f9;
  color: #333;
  transition: all 0.2s ease;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
}

/* Hover effect */
.variations-radio-form .vr-row:hover .vr-label {
  border-color: #666;
  background: #f0f0f0;
}

/* Checked (active) state */
.variations-radio-form .vr-row input[type="radio"]:checked + .vr-label {
  background: #31B6A6;   /* WP blue */
  color: #fff;
}

/* Disabled variation */
.variations-radio-form .vr-row.disabled .vr-label {
  background: #eee;
  border-color: #ddd;
  color: #999;
  cursor: not-allowed;
}
