.cardTour {
  width: 100%;
  min-height: 300px;
  overflow: hidden;
  padding: 1rem;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  border: solid 1px transparent;
  background: rgba(0, 0, 0, 0.05);
  user-select: none;
  img {
    aspect-ratio: 1/1 !important;
    object-fit: cover;
  }

  h3 {
    overflow: hidden !important;
    font-weight: 500 !important;
    font-size: 1.5rem !important;
    text-wrap: nowrap !important;
    width: 100% !important;
    display: block !important;
    text-overflow: ellipsis !important;
  }

  h4 {
    font-weight: 300 !important;
    font-size: 1rem !important;
    span {
      color: var(--primary) !important;
      font-weight: 700 !important;
    }
  }

  figure {
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;

    img {
      width: 100%;
      aspect-ratio: 16/9;
      object-fit: cover;
    }
  }

  a {
    background: var(--primary);
    color: #fff;
    width: fit-content;
    padding: 8px 16px;
    text-decoration: none;
    transform: scale(1);
    transition: all 0.3s linear;
    opacity: 0.7;

    &:hover {
      transform: scale(1.05);
      opacity: 1;
    }
  }
}

.containerCards {
  margin-top: 100px;
  min-height: 100dvh !important;
  padding-inline: 10% !important;
  display: grid !important;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)) !important;
}

#carrusel-recientes {
  padding-inline: 12px !important;
  position: relative !important;
}

.swiper {
  width: 100%;
  height: 100%;
}

.container_detalles {
  position: relative;
  min-height: 100dvh !important;
  width: 100% !important;
  margin: auto;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;

  main {
    width: 100% !important;
    margin: auto;
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;

    div.portada {
      height: 60dvh;
      background-repeat: no-repeat;
      background-position: bottom left;
      background-size: 100%;
      background-attachment: fixed;
      display: flex;
      justify-content: start;
      align-items: end;
      padding: 0 !important;
      position: relative;

      h1 {
        width: 100%;
        height: 100%;
        position: relative;
        margin: 0;
        padding-top: 50dvh;
        padding-bottom: 32px;
        padding-left: 32px;
        backdrop-filter: blur(2px);
        font-size: 2.5rem;
        color: #ffffff;
        text-align: start;
        background: rgba(0, 0, 0, 0.15);
      }
    }

    section {
      display: flex;
      flex-direction: column;
      gap: 16px;
      width: 90%;
      margin: auto;

      iframe {
        width: 90%;
        margin: auto;
      }

      details {
        background: #e0e1e2;
        transition: all 0.3s linear;
        padding: 16px;
        color: #000000;

        &[open] {
          background: var(--primary);

          color: #fff;
        }
        div.detallesItinerario {
          margin-top: 16px;
        }
      }
    }

    article {
      width: 90%;
      margin: auto;
      display: flex;
      flex-direction: column;
      gap: 16px;
      background: #e0e1e2;
      padding: 16px;

      h2 {
        font-size: 1rem;

        span {
          font-weight: 500;
        }
      }

      h3 {
        font-size: 1rem;

        span {
          color: var(--primary);
        }
      }

      div.precios {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 16px;

        div.sectionPrecios {
          width: 100%;
          display: flex;
          flex-direction: column;
          gap: 8px;
        }
      }
    }
  }
}

.container_incluye {
  width: 100%;
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));

  div.incluye,
  ul {
    display: flex;
    gap: 16px;
    flex-direction: column;
  }

  ul {
    list-style: none;
    margin-left: -30px;
  }
}

.hoteles {
  ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    list-style: none;

    li {
      width: fit-content;
      padding-inline: 16px;
    }
  }
}

.listOpcionales,
.notas {
  display: flex;
  gap: 16px;
  flex-direction: column;
  list-style: none;

  li.opcionalesItem {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    align-items: center;
    gap: 16px;
    background: #e0e1e2;
    padding: 16px;

    div.costoOpcionales {
      color: var(--primary);
      font-size: 1rem;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 16px;
    }
  }
}

.galeria {
  position: relative;
  .swiper-slide {
    img {
      width: 100%;
    }
  }

  .swiper-pagination {
    top: 250px !important;
  }
}

#infoTour {
  display: flex;
  justify-content: center;
  flex-direction: row;

  flex-wrap: wrap;
  article {
    width: 50% !important;
  }

  img {
    width: 400px;
    aspect-ratio: 4/3;
    object-fit: contain;
  }
}

@media (max-width: 800px) {
  .container_incluye {
    display: flex;
    flex-direction: column;
  }

  .opcionalesItem {
    display: flex !important;
    flex-direction: column !important;
  }

  div.portada {
    background-size: inherit !important;
    background-position: center top !important;
  }

  #infoTour {
    justify-content: center !important;

    article {
      width: 100% !important;
      margin: 0 !important;
    }

    img {
      width: 100% !important;
      aspect-ratio: inherit !important;
      object-fit: inherit !important;
    }
  }
}

.fl-column {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gd-2 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: center;

  h3 {
    span {
      color: var(--primary);
    }
  }
}

iframe {
  height: fit-content;
  min-height: 1000px !important;
  overflow: hidden;
  padding: 16px;
}
body {
  padding-inline: 16px;
}

select {
  padding: 8px;
  border: none;
  border-bottom: solid var(--primary) 2px;
  background: none;
  cursor: pointer;
}

#whats {
  background: green;
  width: fit-content;
  padding: 16px;
  margin: auto;
  aspect-ratio: 1/1;
  text-align: center;
  i {
    color: #fff;
  }
}
