:root {
  --swiper-navigation-color: #fff;
}

.TDetalle__header-image {
  width: 100%;
}

.TDetalle__header-image img {
  width: 100%;
  min-height: 200px;
  object-fit: cover;
  object-position: center;
}

.TDetalle__header-description {
  max-width: 600px;
  flex-flow: column;
  margin: 0 auto;
  display: flex;
}

.TDetalle__header-description h1 {
  letter-spacing: .1rem;
  font-size: calc(.8rem + .6vw);
  font-weight: 400;
}

.TDetalle__header-description p {
  font-size: 1rem;
  font-weight: 300;
}

.TDetalle__gallery {
  flex-flow: wrap;
  align-items: stretch;
  display: flex;
  justify-content: center;
}

.TDetalle__gallery-item {
  width: 100%;
  max-height: 300px;
  flex: 1 0 30%;
  margin: .5rem;
}

.TDetalle__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.TDetalle__gallery-item--full {
  width: 100%;
  flex: 1 0 30%;
  margin: .5rem;
}

.TDetalle__gallery-item--full video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.TDetalle__return {
  text-align: center;
  color: #242a33;
  font-size: 1rem;
  cursor: pointer;
}

.TDetalle__return:hover {
  color: #529f4c;
}

.TDetalle-wrapper-modal {
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: scroll;
  min-height: 100vh;
  padding-top: 96.58px;
}

.TDetalle__modal {
  width: 100%;
  background-color: rgba(0, 0, 0, .8);
  align-content: center;
  justify-content: center;
  display: grid;
  padding-top: 100px;
}

.TDetalle__modal-section {
  display: none;
}

.modal {
  display: block !important;
}

.TDetalle__modal .swiper {
  max-width: 70%;
  max-height: 80vh;
}

img.close-modal {
  width: 35px;
  height: 35px;
  z-index: 100;
  position: absolute;
  top: 1rem;
  right: 4.2rem;
}

.TDetalle__modal-slide img,
.TDetalle__modal-slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.TDetalle__modal .swiper-slide {
  padding: 0 3.5rem;
}

@media screen and (max-width: 768px) {
  .TDetalle__modal .swiper {
    max-width: 95%;
  }

  .TDetalle__modal .swiper-slide {
    padding: 0 3rem;
  }

  .TDetalle__gallery-item {
    flex: 50%;
  }

  .TDetalle__modal .swiper-button-prev,
  .TDetalle__modal .swiper-button-next {
    color: #fff;
  }
}

@media screen and (max-width: 500px) {
  .TDetalle__header-image img {
    width: 500px;
    min-height: 130px;
    object-fit: cover;
    object-position: center;
  }

  .TDetalle__image--right img {
    object-position: right;
  }

  .TDetalle__image--left img {
    object-position: left;
  }
}

@media screen and (min-width: 768px) {
  .TDetalle-container {
    width: 65%;
  }
}

body.scroll-lock {
  overflow: hidden;
}