/* ai-variant-selector-generated.css */
/* Financial Wellness & Credit Repair — Deep-navy prestige, Gold-accented empowerment */

/* ─── Option Label ─────────────────────────────────────────────── */
.vs-option-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary-foreground);
}

/* ─── Option Button — Base ─────────────────────────────────────── */
.vs-option-btn {
  cursor: pointer;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--foreground);
  transition: all 0.2s ease;
  position: relative;
  outline: none;
  border-radius: 4px;
}

.vs-option-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ─── Image Swatch ─────────────────────────────────────────────── */
.vs-option-btn[data-swatch-type="image"] {
  padding: 2px;
  width: 48px;
  height: 48px;
  border-radius: 6px;
}

.vs-swatch-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* ─── Color Swatch ─────────────────────────────────────────────── */
.vs-option-btn[data-swatch-type="color"] {
  padding: 3px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.vs-swatch-color {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* ─── Text Button ──────────────────────────────────────────────── */
.vs-option-btn[data-swatch-type="text"] {
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 4px;
  background: transparent;
  color: var(--foreground);
  border: 1px solid currentColor;
}

.vs-option-btn[data-swatch-type="text"]:hover:not(:disabled) {
  background: var(--secondary);
  color: var(--secondary-foreground);
  border-color: var(--secondary);
}

/* ─── Selected (Active) State ──────────────────────────────────── */
.vs-option-btn--active {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand);
}

.vs-option-btn--active[data-swatch-type="text"] {
  background: var(--brand);
  color: var(--brand-foreground);
  border-color: var(--brand);
}

.vs-option-btn--active[data-swatch-type="image"],
.vs-option-btn--active[data-swatch-type="color"] {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand);
}

/* ─── Hover States ─────────────────────────────────────────────── */
.vs-option-btn[data-swatch-type="image"]:hover:not(:disabled),
.vs-option-btn[data-swatch-type="color"]:hover:not(:disabled) {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

/* ─── Unavailable / Disabled State ────────────────────────────── */
.vs-option-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.vs-option-btn[data-swatch-type="text"]:disabled {
  text-decoration: line-through;
}

/* ─── Price ────────────────────────────────────────────────────── */
.vs-product-price {
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 18px;
  color: var(--striking-foreground);
  letter-spacing: 0.02em;
}

/* ─── PDP Context — More Spacious ──────────────────────────────── */
ai-product-detail .vs-option-btn[data-swatch-type="image"] {
  width: 56px;
  height: 56px;
}

ai-product-detail .vs-option-btn[data-swatch-type="color"] {
  width: 40px;
  height: 40px;
}

ai-product-detail .vs-option-btn[data-swatch-type="text"] {
  padding: 8px 20px;
  font-size: 15px;
}

ai-product-detail .vs-product-price {
  font-size: 22px;
}

/* ─── QAC Modal Context — More Compact ─────────────────────────── */
.qac-product-info .vs-option-btn[data-swatch-type="image"] {
  width: 38px;
  height: 38px;
}

.qac-product-info .vs-option-btn[data-swatch-type="color"] {
  width: 28px;
  height: 28px;
}

.qac-product-info .vs-option-btn[data-swatch-type="text"] {
  padding: 4px 12px;
  font-size: 13px;
}

.qac-product-info .vs-product-price {
  font-size: 16px;
}

/* ─── Mobile Adaptation ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .vs-option-label {
    font-size: 12px;
  }

  .vs-option-btn[data-swatch-type="image"] {
    width: 40px;
    height: 40px;
  }

  .vs-option-btn[data-swatch-type="color"] {
    width: 30px;
    height: 30px;
  }

  .vs-option-btn[data-swatch-type="text"] {
    padding: 5px 14px;
    font-size: 13px;
  }

  .vs-product-price {
    font-size: 16px;
  }

  ai-product-detail .vs-option-btn[data-swatch-type="image"] {
    width: 44px;
    height: 44px;
  }

  ai-product-detail .vs-option-btn[data-swatch-type="color"] {
    width: 34px;
    height: 34px;
  }

  ai-product-detail .vs-option-btn[data-swatch-type="text"] {
    padding: 6px 16px;
    font-size: 14px;
  }

  ai-product-detail .vs-product-price {
    font-size: 18px;
  }
}