body {
  margin: 0;
  padding: 0%;
  box-sizing: border-box;
  font-family: sans-serif;
  background: #fff;
  /* background: #ccc; */
}

.contenedor {
  display: flex;
  gap: 20px;
  height: 100vh;
}

.aside {
  width: 313px;
  margin: 10px;
  padding: 20px;
  margin-left: 10px;
  border-radius: 20px;
  background: #ece8e8;
  border-color: 1px solid #000;
  /* width: 40%; */
  display: flex;
  justify-content: center;
  align-items: start;
  padding-top: 50px;
  height: 900px;
}

.vista {
  /* background: #fff; */
  background: #ece8e8;
  /* background-color: crimson; */
  border-radius: 20px;
  margin: 10px;
  padding: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* border-color: 3px solid #000; */
  border-radius: 2px solid #000;
}

.color-selector {
  position: relative;
  width: 280px;
}

.selector-header {
  background: #000;
  color: #fff;
  border-radius: 25px;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.miboton {
  background: #000;
  color: #fff;
  border-radius: 25px;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.mibotond {
  width: 200px;
  background: #879643;
  color: #fff;
  border-radius: 25px;
  padding: 10px 15px;
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  cursor: pointer;
}

.selector-header .arrow {
  transition: transform 0.2s ease;
}

.selector-header.active .arrow {
  transform: rotate(180deg);
}

.color-grid {
  display: none;
  grid-template-columns: repeat(5, 40px);
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  margin-top: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.color-grid.active {
  display: grid;
}

.color-option {
  width: 35px;
  height: 35px;
  border-radius: 5px;
  cursor: pointer;
  border: 2px solid transparent;
}

.color-option:hover {
  border: 2px solid #000;
}

.color-option.selected {
  border: 2px solid #000;
}

.polo img {
  max-width: 300px;
  transition: all 0.3s ease;
}

.herramientas {
  /* background-color: crimson; */
  position: absolute;
  margin-top: 180px;
}

.a {
  background-color: purple;
}

.lienzo {
  /* background-color: aquamarine; */
  /* margin-right: 300px; */
  margin-top: 20px;
  position: absolute;
  left: 400px;
}

.descri {
  width: 380px;
  height: 40px;
  position: absolute;
  top: 380px;
  right: 40px;
  /* background-color: tomato; */
}

/*  */

.number-input {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  font-family: sans-serif;
}

.number-input button {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s;
}

.number-input button:hover {
  background: #f0f0f0;
}

.number-input input[type="number"] {
  width: 60px;
  height: 40px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 16px;
  -moz-appearance: textfield;
}

.number-input input::-webkit-outer-spin-button,
.number-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


/*  */

.btn-cotiza {
  background-color: #8b9a45; /* verde oliva */
  color: white;
  border: none;
  border-radius: 9999px; /* totalmente redondo */
  padding: 12px 28px;
  font-size: 16px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* cursor: pointer; */
  display: inline-flex;
  align-items: center;
  gap: 8px; /* espacio entre texto y flecha */
  transition: background-color 0.3s, transform 0.2s;
}

.btn-cotiza .arrow {
  font-size: 18px;
  transition: transform 0.2s;
}

.btn-cotiza:hover {
  background-color: #7a883d; /* tono más oscuro al pasar el mouse */
  transform: scale(1.03);
}

.btn-cotiza:hover .arrow {
  transform: translateX(4px);
}


/* */

.precio {
    position: absolute;
    top: 320px;
    right: 310px;
    text-align: center;
    color: #7a7a7a;
  }

  .precio strong {
    font-size: 48px;
    font-weight: bold;
    color: #777;
    display: block;
    line-height: 1;
  }

  .precio span {
    font-size: 16px;
    color: #9b9b9b;
  }

  .lps {
  position: absolute;
  top: 250px;
  right: 280px;
}

.textocolor {
  display: flex;
  gap: 20px;
}

.back {
  position: absolute;
  top: 40px;
  right: 650px;
}

.selectprenda {
    width: 100%;
    height: 285px;
    background-color: #ece8e8;
    border-radius: 20px;
    border: 2px solid black;
    margin: 60px;
    position: relative;
    /* left: -60px; */
    /* Esto compensa el margen izquierdo */
}

.contenedor-main {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contenedor-prenda {
  width: calc(100% - 40px); /* 20px margen por cada lado */
  /* height: calc(100vh - 40px); 20px margen superior e inferior */
  height: 340px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 20px;
}

.titulo {
  color: #0d4ea0;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.flecha {
  font-size: 16px;
}

.opciones-prendas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 150px;
  flex-wrap: wrap;
}

.prenda img {
  height: 200px;
  /* filter: brightness(0) saturate(100%) invert(12%) sepia(3%) saturate(1437%) hue-rotate(161deg) brightness(92%) contrast(91%); */
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  padding-bottom: 60px;
}

.prenda img:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

 .panel {
    width: 280px;
  }

  .section {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
  }

  .section h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
    margin: 0;
  }

  .options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
  }

  .option {
    text-align: center;
    cursor: pointer;
    border-radius: 10px;
    padding: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }

  .option img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 5px;
  }

  .option span {
    display: block;
    font-size: 14px;
  }

  .option.selected {
    border: 2px solid #007bff;
    background: #eaf2ff;
  }

  .dropdown-icon {
    font-weight: bold;
    transition: transform 0.3s ease;
  }

  .collapsed .dropdown-icon {
    transform: rotate(-90deg);
  }

  .collapsed .options {
    display: none;
  }