
  .w {
    width:90%;
    height:60vmin;
  }
  
  .ts {
    width:100%; height:100%;
    position:relative;
    --barH:20%;/*active zone height = 100% - barH*/
  }
  
  .t {
    --w:20%;
    display:block; width:var(--w); height:var(--barH);
    position:absolute; bottom:0; left:var(--l);
    transform-origin:top left;
  }
  
  .t img {
    dislay:block; width:100%; height:100%;
    object-fit:cover;
    transform:scale(0.9);
  }
  
  [type="radio"] { 
    display:none; 
  }
  
  :checked + label.t {
    left:0; bottom:var(--barH);
    height:calc(100% - var(--barH));
  }
  
  :checked + label.t img {
    object-fit:contain;
  }
  
  /* 
  optional
  */
  
  .ts {/*thumbnails bar*/
    perspective:100px;
    perspective-origin:center center;
    transform-style:preserve-3d;
    pointer-events:none;
  }
  
  /* .ts:after {
    content:"";
    display:block; width:100%; height:15px;
    position:absolute; bottom:0;
    background:linear-gradient(transparent 20%, rgba(0,0,0,0.1));
    transform:rotateX(90deg)scaleX(1.2);
    transform-origin:bottom center;
  } */
  
  :not(:checked) + .t {/*inactive labels*/
    transform:translate3d(0, 0, -5px);
    pointer-events:auto;
  }
  
  :not(:checked) + .t:hover {
    transform:translate3d(0, -7px, -5px);
    box-shadow:0 30px 30px -25px rgba(0,0,0,0.3);
    cursor:pointer;
  }
  
  :not(:checked) + .t img {
    transform:scale(0.9);/*create gaps*/
  }
  
  :checked + .t {/*active label*/
    box-shadow:0 0 0 transparent;
    animation:anim 2s 1;
  } @keyframes anim {
    from { transform:rotateY(6deg)rotateX(3deg) }
  }
  
  /* 
  transitions
  */
  .t {/*active->inactive & hover->rest*/
    transition:transform 0.5s, bottom 0.6s, left 0.6s, width 0.3s, box-shadow 1s;
  }
  .t:hover, :checked + .t {
    transition:transform 0.5s, bottom 0.6s, left 0.6s, width 0.3s, box-shadow 0s;
  }

/* BEGIN: Product */
  .product-container{
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
  }
  .product-gallery,.product-detail{
    width: 50%;
    height: auto;
    min-height: 500px;
  }

  .product-gallery{
    display: flex;
    justify-content: center;
  }

  .gallery-box{
    width: 100%;
    max-width: 600px;
  }
  .gallery-box .lslide img{
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .gallery-box .lSAction > .lSPrev{
    left: 0px;
    top: 50%;
  }

  .gallery-box .lSAction > .lSNext{
    right: 0px;
    top: 50%;
  }

  .product-detail{
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    padding: 25px 40px;
  }

  .product-desc{
    color: rgb(145, 145, 145);
    border-bottom: 1px solid rgb(206, 206, 206);
    padding-bottom: 25px;
  }

  

  .product-rate{
    display: flex;
    padding: 15px 0px 25px 0px;
  }

  .product-rate .star{
    display: flex;
    align-items: center;
  }

  .product-rate .star img{
    width: 15px;
    height: 15px;
  }

  .star{
    margin-right: 10px ;
  }

  .review{
    margin-right: 10px;
  }

  .product-price{
    width: 100% !important;
    display: flex;
    justify-content: space-between !important;
  }

  
  .price-wrap{
    display: flex;
    align-items: center;
  }

  .product-price h2{
    font-size: 3rem;
    color: var(--primary-color);
  }

  .product-price h3{
    font-size: 2rem;
  }

  .product-price img{
    width: 45px;
    height: 45px;
  }

  .discounted{
    display: flex;
    align-items: center;
    padding: 0px 10px;
  }

  .discounted h2{
    font-size: 1.5rem;
    text-decoration: line-through;
    color:rgb(156, 156, 156) ;
  }

  .discounted img{
    width: 25px;
    height: 25px;
    filter: grayscale(100);
  }

  .add-cart{
    background-color: var(--primary-color);
    border: none;
    outline: none;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-secondary);
  }

  .add-cart:hover{
    cursor: pointer;
  }

  @media screen and (max-width:850px) {
    .product-gallery,.product-detail{
      width: 100%;
      height: unset;
    }
  }

  @media screen and (max-width:441px) {
    .w {
      width: 100%;
      height:50vh;
    }
    .gallery-box{
      padding: 0rem 1rem 0rem 1rem;
    }
    .product-gallery,.product-detail{
      min-height: unset;
    }
    .product-detail{
      padding: 15px 10px;
    }
  }
/* END: Product */