/* ai-variant-selector-generated.css
   Wedding & Bridal Photography — Romantic natural elegance theme
   Global scope: no section-id prefix */

/* =====================================================
   Price Display
   ===================================================== */
.vs-product-price {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  color: var(--foreground);
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
}

/* =====================================================
   Option Label
   ===================================================== */
.vs-option-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--foreground);
  font-family: 'Lato', 'Inter', sans-serif;
  opacity: 0.75;
}

/* =====================================================
   Option Button — Base
   ===================================================== */
.vs-option-btn {
  cursor: pointer;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--foreground);
  transition: all 0.3s ease-out;
  position: relative;
  border-radius: 3px;
  outline: none;
  font-family: 'Lato', 'Inter', sans-serif;
}

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

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

.vs-option-btn[data-swatch-type="image"]:hover {
  border-color: currentColor;
  opacity: 0.9;
}

.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: 2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border-color: transparent;
}

.vs-option-btn[data-swatch-type="color"]:hover {
  border-color: currentColor;
}

.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;
  letter-spacing: 0.06em;
  background: transparent;
  color: var(--foreground);
  border: 1px solid currentColor;
  border-radius: 3px;
}

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

/* =====================================================
   Selected State
   ===================================================== */
.vs-option-btn--active {
  background: var(--brand);
  color: var(--brand-foreground);
  border-color: transparent;
}

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

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

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

/* =====================================================
   Unavailable / Disabled State
   ===================================================== */
.vs-option-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.vs-option-btn[data-swatch-type="text"]:disabled {
  position: relative;
  overflow: hidden;
}

.vs-option-btn[data-swatch-type="text"]:disabled::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 4px;
  right: 4px;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
  opacity: 0.6;
}

/* =====================================================
   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: 14px;
}

ai-product-detail .vs-product-price {
  font-size: 1.25rem;
}

/* =====================================================
   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: 1rem;
  margin-bottom: 10px;
}

.qac-product-info .vs-option-label {
  font-size: 0.7rem;
}

/* =====================================================
   Responsive — Mobile
   ===================================================== */
@media (max-width: 768px) {
  .vs-product-price {
    font-size: 1rem;
  }

  .vs-option-label {
    font-size: 0.75rem;
  }

  .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 12px;
    font-size: 13px;
  }

  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: 32px;
    height: 32px;
  }

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

@media (max-width: 480px) {
  .vs-option-btn[data-swatch-type="image"] {
    width: 36px;
    height: 36px;
  }

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

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