/* Bundle product form – aligned with Slyser theme variation styles */

.slyser-bundle-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.slyser-bundle-components {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.slyser-bundle-component {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border, #e5e5e5);
}

.slyser-bundle-component:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.slyser-bundle-component__title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 550;
  letter-spacing: 0.02em;
}

.slyser-bundle-component__qty {
  font-weight: 450;
  opacity: 0.7;
}

.slyser-bundle-form .variations {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
}

.slyser-bundle-form .variations tbody,
.slyser-bundle-form .variations tr {
  display: block;
  width: 100%;
}

.slyser-bundle-form .variations tr + tr {
  margin-top: 1rem;
}

.slyser-bundle-form .variations th.label,
.slyser-bundle-form .variations td.value {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}

.slyser-bundle-form .variations th.label {
  margin-bottom: 0.5rem;
}

.slyser-bundle-form .variations th.label label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted, #666);
  margin: 0;
}

.slyser-bundle-form .variations select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 3rem;
  margin: 0;
  padding: 0.85rem 2.75rem 0.85rem 1rem;
  border: 1px solid var(--color-border, #e5e5e5);
  border-radius: 0;
  background-color: var(--color-bg, #fff);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23111111' stroke-width='1.25' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  font-size: 0.9375rem;
  color: var(--color-fg, #111);
  cursor: pointer;
}

.slyser-bundle-form .variations select:focus {
  outline: none;
  border-color: var(--color-fg, #111);
}

.slyser-bundle-variation-status {
  margin: 0.5rem 0 0;
  min-height: 1.25em;
  font-size: 0.8125rem;
  color: #a33;
}

/* Match theme: quantity + button in one row (like .woocommerce-variation-add-to-cart). */
.slyser-bundle-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.slyser-bundle-form .quantity {
  margin: 0;
}

.slyser-bundle-form .single_add_to_cart_button {
  flex: 1 1 auto;
  min-width: 10rem;
  min-height: 3rem;
}

.slyser-bundle-form .single_add_to_cart_button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.slyser-bundle-empty {
  color: var(--color-muted, #666);
}
