/* Contenedor general */
.cfx-vp {
  margin-top: 0px;
  padding: 0px 0 0;
  font-family: inherit;
}

.cfx-vp-row {
  display: flex;
  align-items: center;
  gap: 0px;
  margin: 8px 0;
}

.cfx-vp-label {
  min-width: 52px;
  font-size: 12px;
  font-weight: 400;
  opacity: 1;
  line-height: 24px;
}

/* Opciones */
.cfx-vp-options {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cfx-vp-more {
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  opacity: 0.85;
}

/* Swatches */
.cfx-swatch {
  width: 18px;
  height: 18px;
  border-radius: 999px !important;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: transparent;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.12s ease,
    opacity 0.12s ease !important;
  padding: 0 !important;
  background-color: initial !important;
  margin-left: 0 !important;
}

.cfx-swatch:hover {
  transform: translateY(-1px);
}

.cfx-swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  display: block;
}

.cfx-swatch-check {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #19b34c; /* check verde */
  color: #fff;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
  display: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.cfx-swatch.is-active .cfx-swatch-check {
  display: block;
}

.cfx-swatch.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

/* Tallas */
.cfx-size {
  padding: 6px 10px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(0, 0, 0, 0.18) !important;
  background: #fff;
  cursor: pointer;
  font-size: 8px !important;
  font-weight: 600 !important;
  transition:
    background 0.12s ease,
    transform 0.12s ease,
    opacity 0.12s ease;
  font-family: "Heebo", sans-serif !important;
  margin-left: 0 !important;
  background-color: #fff !important;
  color: #000 !important;
}

.cfx-size:hover {
  transform: translateY(-1px);
}

.cfx-size.is-active {
  background: #111;
  color: #fff;
  border-color: #111 !important;
}

.cfx-size.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

/* Botón principal */
.cfx-vp-actions {
  margin-top: 0px;
}

.cfx-vp-main-btn {
  width: auto;
  padding: 0;
  border-radius: 10px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition:
    transform 0.12s ease,
    opacity 0.12s ease,
    background 0.12s ease;
  border-bottom: 1px solid;
  border-radius: 0;
  font-family: "Jost";
  font-weight: 500;
  font-size: 12px;
}

.cfx-vp-actions .cfx-vp-view-link {
  color: #000 !important;
}

.cfx-vp-main-btn:hover {
  transform: translateY(-1px);
}

.cfx-vp-main-btn.is-ready {
  background-color: transparent;
  color: #24a28f;
  border-color: #24a28f;
  padding: 3px 10px;
}

.cfx-vp-main-btn.is-loading {
  opacity: 0.7;
}

.cfx-vp-main-btn.is-added {
  background: #19b34c;
  border-color: #19b34c;
  color: #fff;
}

.cfx-vp-options.cfx-vp-options--swatches a,
.cfx-vp-options.cfx-vp-options--sizes .cfx-vp-more {
  color: #25a18e;
  font-size: 11px;
  font-family: "Heebo";
  font-weight: 400;
}

/* ✅ Precio debajo del panel (NO toca tu estilo actual) */
.cfx-vp-loop-price {
  margin-top: 8px;
}

.cfx-vp-loop-price .price {
  display: inline-block;
}

.cfx-vp-loop-price {
  margin-top: 0px;
}

.cfx-vp-actions .cfx-vp-view-link {
  display: block;
  text-align: center;
  text-decoration: none;
}

.cfx-vp-single-enabled form.variations_form table.variations {
  display: none !important;
}
.cfx-vp-single-enabled form.variations_form .reset_variations {
  display: none !important;
}

.cfx-vp-main-btn.is-error {
  color: #d11 !important;
  border-bottom-color: #d11 !important;
}
