/** Shopify CDN: Minification failed

Line 45:14 Expected identifier but found whitespace
Line 45:15 Unexpected "0"

**/
/* swatch lives in its own file for reusability of the swatch in swatch-input and dropdown */
.swatch {
  --swatch--size: var(--swatch-input--size, 4.4rem);
  --swatch--border-radius: var(--swatch-input--border-radius, 50%);

  display: block;
  width: var(--swatch--size);
  max-width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--swatch--background);
  background-position: var(--swatch-focal-point, initial);
  background-size: cover;
  background-origin: border-box;
  border: 0.1rem solid rgba(var(--color-foreground), 0.15);
  border-radius: var(--swatch--border-radius);
}

.swatch--square {
  --swatch--border-radius: var(--swatch-input--border-radius, 0.2rem);
}

.swatch--unavailable {
  border-style: dashed;
  border-color: rgba(var(--color-foreground), 0.5);
}

/* FORÇA swatches quadrados (corrige variantes circulares) */
.swatch,
.swatch::before {
  border-radius: 4px !important; /* pode ajustar: 0px, 2px, 4px */
}

/* Mesmo quando selecionado ou focado */
.swatch-input__input:checked + .swatch,
.swatch-input__input:focus-visible + .swatch {
  border-radius: 4px !important;
}

border-radius: 0 !important;

.swatch {
  width: 44px;
  height: 44px;
}

/* PADRONIZA tamanho dos swatches (igual ao produto 1) */
.swatch {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px;
}

/* ===== FORÇA VARIANTES E SELEÇÃO QUADRADAS (DAWN) ===== */

/* Sobrescreve a variável que define o formato */
.swatch-input__label {
  --swatch-input--border-radius: 4px;
}

/* Swatch visual */
.swatch {
  width: 48px !important;
  height: 48px !important;
  border-radius: 4px !important;
}

/* FORÇAR VARIANTES SEMPRE QUADRADAS (inclusive selecionadas) */
.product-form__input .swatch,
.product-form__input input[type="radio"]:checked + label .swatch {
  border-radius: 6px !important;
}

/* remover qualquer máscara circular invisível */
.product-form__input label {
  border-radius: 0 !important;
}

.product-form__input .swatch {
  background-size: contain !important;
  background-repeat: no-repeat;
  background-position: center;
}
