*{
    padding: 0;
    margin: 0;
    font-family: 'poppins', sans-serif;
    box-sizing: border-box;
}

.container{
    width: 100%;
    min-height: 100vh;
    background: #d0eaff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product{
    width: 90%;
    max-width: 750px;
    display: flex;
}

.gallery{
    flex-basis: 47%;
    background: #241e20;
    transform: scale(1.08);
    box-shadow: -10px 5px 10px 10px rgba(0, 0, 0, 0.1);
}

.gallery img{
    width: 100%;
    display: block;
    padding-top: 100px;
}

.details{
    flex-basis: 53%;
    background: white;
    padding: 40px;
    padding-left: 60px;
    box-shadow: -10px 5px 10px 10px rgba(0, 0, 0, 0.1);
    font-size: 13px;
    font-weight: 500;
    color: #777;
}

.details h1{
    color: #333;
    font-size: 35px;
}

.details h2{
    color: #555;
    font-size: 30px;
    font-weight: 600;
}

.details h3{
    color: red;
    margin-bottom: 20px;
}

.details form{
    font-size: 15px;
    font-weight: 400;
}

.size-select{
    display: flex;
    align-items: center;
    margin-top: 50px;
}

.size-select p{
    width: 70px;
}

.size-select input:checked + span{
    color: blue;
    font-weight: 600;
}

.size-select input{
    display: none;
}

.size-select span{
    padding: 5px;
    margin-right: 10px;
    cursor: pointer;
}
.color-select{
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.color-select p{
    width: 75px;
}

.color-select span{
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 15px;
    cursor: pointer;
}

.color-1{
    background: red;
}

.color-2{
    background: green;
}

.color-3{
    background:blue;
}

.color-4{
    background: pink;
}

.colr-select input{
    display: none;
}

.color-select input:checked + span{
    transform: scale(0.7);
    box-shadow: 0 0 0 4px white, 0 0 0 6px black;
}

.quantity-select{
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.quantity-select p{
    width: 75px;
}

.quantity-select input{
    background: #eee;
    border: 0;
    outline: 0;
    padding: 2px 2px 2px 15px;
    width: 50px;
    border-radius: 12px;
}

form button{
    background: #553ff0;
    color: #fff;
    font-size: 17px;
    width: 100%;
    padding: 10px;
    border-radius: 30px;
    border: 0;
    outline: 0;
    margin-top: 50px;
    box-shadow: 0 10px 10px rgba(85, 63, 240, 0.25);
    cursor: pointer;
}

.controls{
    position: absolute;
    bottom: 40px;
    right: 20px;
}

.btn{
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgb(255, 255, 255, 0.5);
    margin: 10px;
    cursor: pointer;
}

.btn.active{
    background: blue;
}


@media (max-width: 992px) {
  .product {
    flex-direction: column;
    align-items: center;
  }

  .gallery {
    width: 100%;
    transform: scale(1);
    box-shadow: none;
    padding: 20px 0;
  }

  .details {
    width: 100%;
    padding: 30px;
    padding-left: 30px;
    box-shadow: none;
    font-size: 14px;
  }

  .details h1 {
    font-size: 28px;
  }

  .details h2 {
    font-size: 24px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 10px;
  }

  .details {
    padding: 20px;
    font-size: 13px;
  }

  .details h1 {
    font-size: 24px;
  }

  .details h2 {
    font-size: 20px;
  }

  .gallery img {
    padding-top: 40px;
  }

  .controls {
    position: static;
    display: flex;
    justify-content: center;
    margin-top: 15px;
  }

  .btn {
    display: inline-block;
    margin: 0 5px;
  }

  form button {
    font-size: 16px;
    padding: 10px;
    margin-top: 30px;
  }

  .size-select,
  .color-select,
  .quantity-select {
    flex-direction: column;
    align-items: flex-start;
  }

  .size-select p,
  .color-select p,
  .quantity-select p {
    width: auto;
    margin-bottom: 5px;
  }
}