/* ============================================================
   🧩 RenderFront Select Buttons — v1.0
   ------------------------------------------------------------
   Estilo de botones tipo “radio animado” para selección visual.
   Uso: selección de alto / fondo / ancho en el configurador.
   ============================================================ */

/* === CONTENEDOR GENERAL === */
.rf-select-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 2rem;
  background: #f5f5f5;
  border-radius: 0rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.15);
  max-width: 50rem;
  margin: 2rem auto;
}

.rf-select-container h3 {
  margin-bottom: 2rem;
  font-weight: 500;
  color: #111;
  text-align: center;
}

/* === GRID DE OPCIONES === */
.rf-select-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 40rem;
}

/* === CADA OPCIÓN === */
.rf-option {
  position: relative;
  display: grid;
  grid-template-rows: 1fr;
}

/* Ocultamos el input */
.rf-option input[type="radio"] {
  visibility: hidden;
  position: absolute;
  cursor: pointer;
}

/* === LABEL === */
.rf-option label {
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  background: #e8e8e8;
  text-align: center;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 0rem;
  border: 1px solid #ccc;
  transition: all 0.2s ease-in-out;
  z-index: 1;
  font-weight: 600;
  color: #111;
  margin-right:10px;
  margin-left:10px;
}

.rf-option label:hover {
  background: #d8d8d8;
}

/* === ICONO / EMOJI === */
.rf-option .rf-icon {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  z-index: 0;
  pointer-events: none;
  transform: scale(0.5);
}

/* === ESTADO SELECCIONADO === */
.rf-option input[type="radio"]:checked ~ label {
  background: #000000;
  color: #fff;
  box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.3);
  transform: scale(1.15);
  border: 1px solid #3e9143;
  z-index: 5;
  transition: all 0.2s ease-in-out;
}

.rf-option input[type="radio"]:checked ~ .rf-icon {
  top: -1.5rem;
  transition: all 0.2s ease-in-out;
  transform: scale(1.2);
}

/* === ANIMACIÓN OPCIONAL === */
@keyframes rf-checked {
  0% { transform: scale(0.5); }
  100% { transform: scale(1.15); }
}

.rotate-90 {
    
    transform: rotate(90deg);
}


