.choices__item{
  text-transform: uppercase;
}
.boton-buscar {
  background-color: #FE5000;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(254, 80, 0, 0.3);
  font-weight: bold;
  letter-spacing: 0.5px;
  width: 100%;
}
.boton-quitar {
  background-color: #999;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(128, 128, 128, 0.3);
  font-weight: bold;
  letter-spacing: 0.5px;
  width: 100%;
}

.boton-buscar:hover {
  background-color: #e44800;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(254, 80, 0, 0.5);
}

.boton-buscar:active {
  transform: scale(0.98);
  box-shadow: 0 3px 8px rgba(254, 80, 0, 0.4);
}

.boton-quitar:hover {
  background-color: #009CA6;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 156, 166, 0.5);
}

.boton-quitar:active {
  transform: scale(0.98);
  box-shadow: 0 6px 14px rgba(0, 156, 166, 0.5);
}
/******/

.card-custom {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-custom:hover {
  transform: scale(1.02);
}

.image-container {
  position: relative;
  margin-bottom: 10px;
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.comuna {
    position: absolute;
    top: 138px;
    left: 10px;
    background-color: #009CA6;
    color: white;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.nombre {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
  display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
line-height: 1.5em;
max-height: 5.5em;
}

.resumen {
  font-size: 14px;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5em;
  max-height: 5.5em;
}

.ver-mas {
  background: none;
  border: none;
  color: #009CA6;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  margin-bottom: 10px;
  text-align: left;
}

.productos {
  font-size: 16px;
  font-weight: bold;
  color: #FE5000;
  margin-bottom: 14px;
  transition: transform 0.3s ease;
  line-height: 1.4;
  letter-spacing: 0.5px;
  display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
line-height: 1.5em;
max-height: 5.5em;
}

.productos:hover {
  transform: scale(1.08);
  text-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.btn-match {
  background-color: #FE5000;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.btn-match:hover {
  background-color: #d54600;
}
/*
OLD
 */
 mark{color: white;
  background-color: #dc3545;
  padding-top: 0!important;padding-bottom: 0!important;}

  h2, h3{width: 100%;}
  .contentVideo{
      width: 100%;
      height: auto;
      display: flex;
      border: 1px solid red;
  }

  .contentVideo__video{
      position: relative;
      padding-bottom: 56.25%; /* 16:9 */
      height: 0;
  }

  .contentVideo__info-title{
      margin: 0 0 0.5rem 0;
      line-height: 1.3em;
      font-size: 20px;
      color: #515151;
  }

  .contentVideo__info{
      margin: 0;
      line-height: 1.5em;
      font-size: 14px;
      color: #777;
  }

  .contentVideo__video iframe{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
  }

  .contentPopUp{
      /*width: 65vw;*/
      width: 350px;
      height: auto;
      background: #f0f0f0;
      position: fixed;
      bottom: -600px;
      right: 0;
      padding: 0 2.5rem 2rem;
      transition: all 0.3s ease-in-out;
      box-shadow: -8px -5px 20px rgb(0 0 0 / 26%);
  }

  .contentPopUp.up{
      position: fixed;
      bottom: 0;
      right: 0;
      z-index: 999;
  }

  .contentPopUp__header{
      width: 100%;
      height: 60px;
      border-bottom: 1px solid #b2b2b287;
      display: flex;
      justify-content: flex-end;
      padding: 1rem 0;
      margin: 0 0 1rem 0;
  }

  .contentPopUp__header img{
      width: 30px;
      height: auto;
      object-fit: contain;
      filter: grayscale(20%);
      opacity: 0.6;
      cursor: pointer;
      transition: all 0.3s ease-in-out;
  }

  .contentPopUp__header img:hover{
      opacity: 0.9;
  }


  @media screen and (max-width:64rem){

      .contentPopUp {
          width: 100vw;
          height: auto;
          background: #f0f0f0;
          position: fixed;
          bottom: -900px;
          right: 0;
          padding: 0 1rem 1rem;
          transition: all 0.3s ease-in-out;
          box-shadow: -8px -5px 20px rgb(0 0 0 / 26%);
      }

      .contentPopUp__header {
          width: 100%;
          height: 54px;
          border-bottom: 1px solid #b2b2b287;
          display: flex;
          justify-content: flex-end;
          padding: 0.5rem 0;
          margin: 0 0 1rem 0;
      }

      .contentVideo__info-title {
          margin: 1rem 0 0.5rem 0;
          line-height: 1.3em;
          font-size: 20px;
          color: #515151;
      }

  /*  */

  }
  .next, .prev{
    width: 60px;
    background: #000;
    color: #fff;
  }

/*CARRUSEL*/


.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 20px auto;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
  scroll-behavior: smooth;
}

.carousel-item {

  margin: 0 10px; /* Margin between cards */
  text-align: center;
  border: 1px solid #dadada; /* Border for each card */
}

.carousel-item img {
  width: 300px;
  height: 225px;
  display: block;
  margin: 0 auto;
}

.title {
  background-color: #f16131;
  color: #ffffff;
  padding: 10px;
  font-size: 18px;
  margin: 0 auto;
  width: 300px; /* Same width as the image */
}

.carousel-item p {
  margin: 10px 0;
}

.ver-mas {
  font-weight: bold;
  color: #000000;
  text-decoration: none;
}

.ver-mas:hover {
  text-decoration: underline;
}

.carousel-controls {
  text-align: center;
  margin-top: 10px;
}

.carousel-control {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  margin: 0 5px;
}

@media (max-width: 767px) {
  .carousel-item {
      min-width: 100%;
  }
  .title {
      width: 100%;
  }
}

/*FIN carrusel*/
.linea-boton {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px 0;
  gap: 20px;
}

.linea-boton span {
  flex: 1;
  height: 1px;
  background-color: #ccc; /* o #009CA6 si prefieres el color del botón */
}

.cargar-mas {
  background-color: #009CA6;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cargar-mas:hover {
  background-color: #007f86;
  transform: scale(1.05);
}
#nombre{
  padding: 0 5px 0 5px;
color: black;
font-weight: 700;
}
#texto {
    font-size: 16px;
    font-weight: bold;
    color: #FE5000;
    margin-bottom: 14px;
    transition: transform 0.3s ease;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

 .cerrar {
  right: 15px;
  top: 15px;
  font-size: 20px;
  font-weight: bold;
  color: #000;
  opacity: 0.7;
  background: none;
  border: none;
  z-index: 1051;
  transition: opacity 0.2s ease-in-out;
}

 .cerrar:hover {
  opacity: 1;
  color: #d9534f; /* rojo Bootstrap */
  cursor: pointer;
}

/*CARRUSEL*/
.carousel-match-wrapper {
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.carousel-match {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  gap: 20px;
}

.carousel-match * {
  box-sizing: border-box;
}

.carousel-match::-webkit-scrollbar {
  display: none;
}

.card-custom2 {
  flex: 0 0 auto;
  width: 80vw; /* ancho relativo para móvil */
  max-width: 300px;
  min-width: 240px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-custom2 .image-container {
  position: relative;
}



/* Navegación */
.carousel-match-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #00000080;
  color: #fff;
  border: none;
  padding: 10px 14px;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.carousel-match-btn.prev {
  left: 10px;
}
.carousel-match-btn.next {
  right: 10px;
}

/* Responsive widths */
@media (min-width: 576px) {
  .card-custom2 {
    width: 230px;
  }
}
@media (min-width: 768px) {
  .card-custom2 {
    width: 260px;
  }
}
@media (min-width: 992px) {
  .card-custom2 {
    width: 22%;
  }
}
#nombre{font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    line-height: 18px;
    margin-left: 5px;}
