.mc-variation-group-label {
  margin-bottom: 1rem;
  font-weight: 500;
}

.mc-product-variation-swatches {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mc-variation-group-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 14px;
  text-transform: uppercase;
}

.mc-radio-fields {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mc-radio-option {
  font-size: 14px;
  color: var(--mc-color-black);
  box-shadow: 0 0 0 1px var(--mc-color-grey);
  cursor: pointer;
  min-width: 60px;
  max-width: 100%;
  padding: 0 16px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 0;
  font-weight: 500;
}

.mc-radio-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.mc-radio-option:has(input:checked) {
  box-shadow: 0 0 0 2px var(--mc-color-black);
}

.mc-radio-option:not([data-disabled="true"]):hover {
  box-shadow: 0 0 0 2px var(--mc-color-black);
}

.mc-swatch-option[data-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

.mc-swatch-option[data-disabled="true"]:hover,
.mc-swatch-option[data-disabled="true"]:has(input:checked) {
  box-shadow: 0 0 0 1px var(--mc-color-grey);
}

.mc-swatch-label {
  display: inline-block;
  max-width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mc-clear-all {
  display: inline-flex;
  background: none;
  border: 0;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: underline;
  transition: opacity var(--mc-transition-fast);
  cursor: pointer;
}

.mc-clear-all[data-visible="false"] {
  opacity: 0;
  pointer-events: none;
}

.mc-clear-all[data-visible="true"] {
  opacity: 1;
}

.mc-product-sku {
  font-size: clamp(14px, 0.8rem + 0.35vw, 18px);
  font-weight: 500;
  opacity: 0.6;
  view-transition-name: mc-product-sku;
}

.mc-product-sku-value {
  text-transform: uppercase;
}

.mc-product-price {
  display: flex;
  align-items: flex-end;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  font-size: clamp(24px, 10cqw, 56px);
  font-weight: 500;
  line-height: 1.2;
  gap: clamp(10px, 2.5cqw, 20px);
}

.mc-product-price__value {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  flex: 0 0 auto;
  view-transition-name: mc-product-price;
}

.mc-product-price__value-inner {
  display: inline-flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.mc-product-sku-prefix > [data-mc-sku-key],
.mc-product-sku-value > [data-mc-sku-key] {
  display: inline-block;
}

.mc-product-price__value .screen-reader-text {
  display: none;
}

.mc-product-price__value del {
  font-size: 0.8em;
  font-weight: 400;
  color: #8ca4ab;
  text-decoration: line-through;
  order: 2;
}

.mc-product-price__value ins {
  text-decoration: none;
  color: #db5559;
}

.mc-product-price__tax-note {
  white-space: nowrap;
  display: block;
  text-align: center;
  align-self: center;
  margin-top: 0.15em;
}

.mc-product-quantity-toggle {
  display: inline-flex;
  align-items: stretch;
  gap: 0.25rem;
  --mc-qty-control-size: 48px;
}

.mc-product-quantity-toggle__input,
.mc-product-quantity-toggle .mc-qty-input {
  width: 72px;
  min-height: var(--mc-qty-control-size);
  height: var(--mc-qty-control-size);
  padding: 0 0.75rem;
  text-align: center;
}

.mc-product-quantity-toggle__btn,
.mc-product-quantity-toggle .mc-qty-btn {
  width: var(--mc-qty-control-size);
  min-width: var(--mc-qty-control-size);
  height: var(--mc-qty-control-size);
  min-height: var(--mc-qty-control-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--mc-color-border);
  background: var(--mc-color-surface);
  cursor: pointer;
  line-height: 1;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.mc-product-add-to-cart.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.mc-product-add-to-cart.is-added {
  filter: brightness(1.05);
}
