* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

section {
  width: 100%;
}

.size {
  display: flex;
  align-items: center; /* centra verticalmente */
  gap: 6px; /* espacio entre icono y texto */
}

.size i svg {
  display: block; /* evita espacios raros */
}

/* --- SECCIÓN GALERÍA --- */
.furniture-section {
  padding: 40px 10px;
}

.furniture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 15px;
}

.furniture-card {
  position: relative;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: -3px 3px 10px #c4c3fc3d;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;

  /* Estado inicial para la animación de entrada */
  transform: scale(1.08);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.furniture-card.visible {
  transform: scale(1);
  opacity: 1;
}

.furniture-card.visible:hover {
  transform: scale(0.98);
}

.furniture-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.furniture-card.visible:hover img {
  transform: scale(1.05);
}

.furniture-card h4 {
  padding: 15px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  margin: 0;
}

/* Media Queries */
@media (max-width: 2560px) {
  .furniture-grid { grid-template-columns: repeat(3, 1fr); }
  .furniture-card img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  }
}
@media (max-width: 1440px) {
  .furniture-grid { grid-template-columns: repeat(3, 1fr); }
  .furniture-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  }
}
@media (max-width: 769px) {
  .furniture-grid { grid-template-columns: repeat(2, 1fr); }
  .furniture-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }
}
@media (max-width: 480px) {
  .furniture-grid { grid-template-columns: repeat(2, 1fr); }
  .furniture-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }
}

/* --- CONTENEDOR FORMULARIO --- */
.form-details-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 300px;
}

.form-details-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

input, select, button {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

button {
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
}

button:hover {
  background-color: #0056b3;
}

/* ===================================================
   SELECT CUSTOM: METODOS DE PAGO (DISEÑO DEGRADADO)
   =================================================== */

.custom-select {
  width: 100%;
  position: relative;
  font-family: Poppins, sans-serif;
}

/* TRIGGER (BOTÓN PRINCIPAL) */
.select-trigger {
  /* background: linear-gradient(135deg, #7f39fb 0%, #1d9bf0 100%); */
  /* background: linear-gradient(135deg, #c275159e 0%, #1d9bf0 100%); */
  background: linear-gradient(135deg, #ffffff1c 0%, #969ca14d 100%);
  border: none;
  border-radius: 16px;
  /* box-shadow: 0 10px 25px rgba(29, 155, 240, 0.4),
              0 10px 25px rgba(127, 57, 251, 0.2); */
  box-shadow: 0 10px 25px rgb(255 255 255 / 40%), 0 10px 25px rgb(0 0 0 / 20%);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgb(104, 104, 104);
  cursor: pointer;
  transition: all 0.3s ease;
}

.select-trigger:hover {
  transform: translateY(-2px);
  /* box-shadow: 0 14px 30px rgba(29, 155, 240, 0.5),
              0 14px 30px rgba(127, 57, 251, 0.3); */
  box-shadow: 0 14px 30px rgb(0 0 0 / 50%), 0 14px 30px rgb(255 255 255 / 30%)
}

/* LISTA DESPLEGABLE (OPCIONES OCULTAS POR DEFECTO) */
.select-options {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  z-index: 10;
  /* background: linear-gradient(135deg, #c275159e 0%, #1d9bf0 100%); */
  background: linear-gradient(135deg, #ffffff 0%, #969ca1 100%);
  border: none;
  border-radius: 16px;
  margin-top: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

  /* Control del estado oculto con transición suave */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all .3s ease;
}

/* CUANDO EL SELECT TIENE LA CLASE .open */
.custom-select.open .select-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ELEMENTO OPCIÓN INDIVIDUAL */
.option {
  padding: 12px 15px;
  /* color: #ffffff; */
  color: rgb(104, 104, 104);
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.option:hover {
  background: rgba(255, 255, 255, 0.18); /* Hover sutil dentro del degradado */
}

.selected-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

/* ELEMENTOS INTERNOS DE LAS OPCIONES */
.option img {
  z-index: 2;
  width: 40px;
  height: 40px;
  border: solid 1px white;
  border-radius: 50%;
  object-fit: cover;
}

.option span.method-name,
.option span.method-name-select {
  flex: 1;
  font-weight: 500;
}

.option span.badge {
  background: #1562c2;
  color: #f2e088;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* FLECHA */
.arrow {
  font-size: 14px;
  transition: transform .3s ease;
}

.custom-select.open .arrow {
  transform: rotate(180deg);
}

/* WRAPPERS EXTRA Y DECORACIONES */
.selected-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.selected-wrapper img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.selected-wrapper .method-name {
  font-weight: 500;
}

.selected-wrapper .badge {
  background: #1562c2;
  color: #f2e088;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* EFECTOS DINÁMICOS DE FONDO */
.background_transferencia {
  background: linear-gradient(to left, rgb(32, 30, 32) 20%, rgba(156, 101, 156, 0) 100%);
}
.background_cashea { background-color: #fdfa3e; }
.background_zelle { background-color: #8027dd; }
.background_binance { background-color: #231910; }

.method-body {
  position: absolute;
  height: 40px;
  align-content: center;
  color: white;
  width: 90%;
  border-radius: 10px;
  left: 7%;
}


/* ===================================================
   CSS SELECT LOCATIONS
   =================================================== */

#locationSelect {
  width: 100%;
  position: relative;
  font-family: Poppins, sans-serif;
  margin-top: 0px;
}

#locationSelect .selected-option {
  flex: 1;
}

#locationSelect .selected-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

#locationSelect .selected-wrapper img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

#locationSelect .selected-wrapper .method-name {
  font-weight: 500;
}

#locationSelect .arrow {
  font-size: 14px;
  transition: transform .3s ease;
}

#locationSelect.open .arrow {
  transform: rotate(180deg);
}

/* #locationSelect .select-options {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 2px solid #444444bf;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all .3s ease;
  z-index: 10;
}

#locationSelect.open .select-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#locationSelect .option {
  padding: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  color: initial; /* Resetea el color para que no herede el blanco si no está en degradado
}

#locationSelect .option img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

#locationSelect .option:hover {
  background: #f0f0f0; /* Un gris sutil para diferenciar el hover en fondo blanco
} */

#locationSelect {
  width: 100%;
  position: relative;
  font-family: Poppins, sans-serif;
}

#locationSelect .option img,
#locationSelect .selected-wrapper img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.5); /* Le da un borde fino blanco muy limpio */
}
