/* Hide native select visually but keep functional */
.ai-var-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Container */
.ai-var-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

/* Reset theme button styles completely */
.ai-var-btns .ai-var-btn {
  all: unset;                 /* removes Elementor/Woo button styling */
  box-sizing: border-box;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 14px;
  font-size: 14px;
  line-height: 1;

  border: 1px solid #d9d9d9;  /* light gray border */
  border-radius: 4px;

  background: transparent;    /* transparent background */
  color: #111;                /* black text */

  cursor: pointer;
  transition: all .15s ease;
}

/* Hover */
.ai-var-btns .ai-var-btn:hover {
  border-color: #999;
  background: #f6f6f6;
}

/* Active/Selected */
.ai-var-btns .ai-var-btn.is-active {
  border-color: #111;
  background: #fff;
  font-weight: 600;
}

/* Disabled */
.ai-var-btns .ai-var-btn:disabled,
.ai-var-btns .ai-var-btn.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ai-var-btns .ai-var-btn {
  width: auto !important;
  max-width: none !important;
}
