/* ============================================================
   Aura Bundle Selector — Estilos
   Paleta: tonos nude/tierra alineados con la marca Aura
   ============================================================ */

.aura-bundle-selector {
  margin: 24px 0;
  font-family: inherit;
}

/* Items del bundle */
.aura-bundle-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aura-bundle-item {
  background: #faf8f6;
  border: 1px solid #e8e0d8;
  border-radius: 10px;
  padding: 18px 20px;
  transition: border-color 0.2s ease;
}

.aura-bundle-item:focus-within {
  border-color: #c8a882;
}

/* Header del item */
.aura-bundle-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.aura-bundle-item-number {
  width: 26px;
  height: 26px;
  background: #c8a882;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.aura-bundle-item-header h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #3a3028;
  letter-spacing: 0.3px;
}

/* Campos */
.aura-bundle-field {
  margin-bottom: 14px;
}

.aura-bundle-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #7a6a5a;
  margin-bottom: 8px;
}

/* Select de modelo */
.aura-model-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #d4c8bc;
  border-radius: 6px;
  background: #fff;
  color: #3a3028;
  font-size: 14px;
  cursor: pointer;
  appearance: auto;
  transition: border-color 0.2s;
}

.aura-model-select:focus {
  outline: none;
  border-color: #c8a882;
  box-shadow: 0 0 0 3px rgba(200, 168, 130, 0.15);
}

/* Swatches de color */
.aura-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.aura-color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  display: inline-block;
}

.aura-color-swatch:hover {
  transform: scale(1.12);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.aura-color-swatch.selected {
  border-color: #c8a882;
  box-shadow: 0 0 0 3px rgba(200, 168, 130, 0.35);
  transform: scale(1.08);
}

.aura-color-swatch[title="Blanco"],
.aura-color-swatch[style*="rgb(255, 255, 255)"],
.aura-color-swatch[style*="#fff"],
.aura-color-swatch[style*="#ffffff"],
.aura-color-swatch[style*="#FFFFFF"] {
  border: 2px solid #d0c8be;
}

/* Botones de talla */
.aura-size-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aura-size-btn {
  padding: 6px 16px;
  border: 1px solid #d4c8bc;
  border-radius: 6px;
  background: #fff;
  color: #3a3028;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.aura-size-btn:hover {
  border-color: #c8a882;
  background: #fdf6ee;
}

.aura-size-btn.selected {
  background: #c8a882;
  border-color: #c8a882;
  color: #fff;
  font-weight: 600;
}

/* Resumen de selección */
.aura-bundle-selection-summary {
  margin-top: 10px;
  padding: 8px 12px;
  background: #f0ebe4;
  border-radius: 6px;
  font-size: 13px;
  color: #5a4a3a;
  font-weight: 500;
}

.aura-checkmark {
  color: #8aad7a;
  font-weight: 700;
  margin-right: 4px;
}

/* Estados de carga y error */
.aura-loading {
  font-size: 13px;
  color: #9a8a7a;
  font-style: italic;
}

.aura-error,
.aura-no-options {
  font-size: 13px;
  color: #b05a5a;
}

/* Mensaje de validación */
.aura-bundle-validation-message {
  margin-top: 12px;
  padding: 10px 14px;
  background: #fdf0f0;
  border: 1px solid #e8c0c0;
  border-radius: 6px;
  font-size: 14px;
  color: #8a3030;
}

/* Responsive */
@media (max-width: 480px) {
  .aura-bundle-item {
    padding: 14px 14px;
  }

  .aura-color-swatch {
    width: 28px;
    height: 28px;
  }
}
