* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --white: #fff;
  --bg: #f2ecec;
  --primary: #7d6be8;
}
html {
  font-size: 62.5%;
}

.container {
  max-width: 74rem;
  margin: 0 auto;
  padding: 1.7rem 1rem;
  
}
.product-img {
  width: 100%;
  height: 40rem;
  position: relative;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  background: var(--white);
  overflow: hidden;
}
.product-img img {
  width: 55rem;
  height: 37rem;
  object-fit: contain;
  position: absolute;
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
}
.product-thumbnail-container .product-thumbnail img{ 
  
  height: 150px;
  

}
.container-description{
  display: flex;
  flex-direction: column;
  
  padding: 10px 0;
}
.title-descripcion{
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.text-descripcion{
  font-size: 15px;
  color: black;
  line-height: 22px;
  margin-top: 25px;
}
.hidden{
  display: block;
  
  
}
.rotar{
  transform: rotate(180deg);
}
.Detalleproducto{
  margin: 10px;
}
.precio{
  margin: 20px;
}
@media (max-width: 630px) {
  .product-img {
    height: 50rem;
    
  }
  .product-img img {
    width: 90%;
    height: 100%;
    padding: 1rem;
  }
}
@media (max-width: 375px) {
  .product-img {
    height: 25rem;
  }
}


.product-thumbnail-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  gap: 0.7rem;
}

.product-thumbnail {
  background: var(--white);
  border: 0.3rem solid var(--white);
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}
.product-thumbnail.active {
  border: 0.3rem solid var(--primary);
}
.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-down-animation {
  animation: down 0.5s ease;
}
@keyframes down {
  0% {
    top: -100%;
  }
  100% {
    top: 0%;
  }
}

.container_amazon{
    display: flex;
    
    margin-top: 50px;
    
}
.second-container{
    
    width: 500px;
    height: 500px;
    margin-right: 60px;
}
.descripcion-container h1{
    line-height: 30px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;

}
.precio{
    margin-top: 15px;
    font-size: medium;
}
@media (min-width: 350px) and (max-width: 700px){

    .container_amazon{
        flex-wrap: wrap;
        margin-top: 0px;
    }
       
    .hidden{
  display: none;
  
  
}
  
    .second-container{
        margin-right: 0;
        padding: 20px;
      
    }
    .product-thumbnail-container .product-thumbnail img{
        height: 100px;
    }
    

}