:root{
    --black:#2c2c54;
    --orange:#ff9f1a;
  }





* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;  
  z-index: 1;
}


.more_info_cat{
  padding-top: 100px;    
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 1rem;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;

}


.p_cat{
    padding-top: 100px;    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap:15px;
    justify-content: space-around; /*center for left right*/
    align-content: stretch; /*center hveritcaly need height*/

}
.cat_h{
    grid-column: 1/-1; /*fist div start to end*/
    font-size: 1.5rem;
    padding: 1.5rem;
    width: 100vw;
    background-color: brown;
    color: bisque;

}

.item_img img{
    width: 350px;
    height: auto;
}

.item_box{
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 6px 10px rgba(0,0,0,.08), 0 0 6px rgba(0,0,0,.05);
    transition: .3s transform cubic-bezier(.155,1.105,.295,1.12),.3s box-shadow,.3s 
    -webkit-transform cubic-bezier(.155,1.105,.295,1.12);
    padding: 14px;
    cursor: pointer;
    
}

.item_box:hover{
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
  }

  .item_price{
    color:var(--black);
    font-size: 1.5rem;
    font-weight: bolder;
    padding:1rem 0;
  }

  .item_price span{
    color:var(--black);
    font-size: 1rem;
    font-weight: bolder;
    padding:1rem;
    text-decoration: line-through;
  }
.item_btn{
    display: grid;
    grid-template-columns:1fr 1fr 1fr;
    justify-items: center;
}
  .btn{
    display: inline-block;
    margin-top: 1rem;
    border-radius: .5rem;
    border:.2rem solid var(--black);
    font-weight: bolder;
    font-size: 1rem;
    color:var(--black);
    cursor: pointer;
    background:#fff;
    padding:5px;
  }
  
  .btn:hover{
    background:var(--orange);
    color:#fff;
  }

.item_box{
    display: grid;
    grid-template-columns:1fr;
    justify-content: center;
    justify-items: center;
}
.item_name{
    font-size: 1.2rem;
    font-weight: bolder;
}




/*icons*/
.item_box .icons{
    display: grid;
    grid-template-columns:1fr;
    justify-content: center;
    justify-items: center;
    
    position: absolute;
    top:.5rem; left:-10rem;
    z-index: 100;
  }

.item_box:hover .icons{
    left:1.5rem;
  }
  
.item_box .icons a{
    height:1.5rem;
    width:1.5rem;
    line-height: 1.5rem;
    font-size: 1rem;
    color:var(--black);
    border:.1rem solid var(--black);
    border-radius: .5rem;
    background:#fff;
    margin-top: .5rem;
  }
  
.item_box .icons a:hover{
    background:var(--orange);
    color:#fff;
  }


/*icons close*/


/*moreinfo items*/

.item_box_more{
    padding-top: 100px;
   
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
    grid-template-columns: 80px 360px;
    grid-gap:5px;
    justify-content: center; /*center for left right*/
    align-content: center; /*center hveritcaly need height*/
    align-items: start;
    justify-items: center;
    background-color: #ccc;    
    padding-top: 20px;
    padding-bottom: 20px;
    
}

.s_img {
    display: grid; 
    grid-template-columns: 1fr;   
    grid-gap:5px;      
    justify-items: center;
    background-color: rgb(149, 239, 239);
    padding: 5px;
    overflow-y: auto;   
    max-height: 600px;
}
.s_img img{
  width: 60px;  
  float:left;
  background-color: rgb(149, 239, 239);
}
.s_img{
  /*grid-column: 1/-1;*/
  font-size: 1.5rem;
}
.l_img{
  width: 355px;
}
.l_img img{
  width: 355px;
  
}
/*
.item_box_body{
  grid-column: 1/-1;
}*/

.more_info_header{
 grid-column: 1/-1;
  font-size: 1.5rem;
}
.item_box_body{
    display: grid;
    grid-template-columns: 1fr;
    grid-gap:15px;
    justify-content: center; /*center for left right*/
    align-content: center; /*center hveritcaly need height*/
    align-items: start;
    justify-items: center;
    background-color: rgb(203, 221, 242);
    padding: 5px;
    box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}


.s_img img:hover{
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}




/*more info close..*/




/* Screen larger than 600px? 2 column */



@media only screen and (max-width: 600px) {
  .p_cat{
    padding-top:60px;
     
}
.item_box_more{
  grid-template-columns: 80px 270px;
  grid-gap:2px;
  align-items: start;
  justify-items: start;
  padding-bottom: 20px;
}
.item_box_body{
  padding-bottom: 50px;
}
.s_img {    
    width: 70px;    
}
.s_img img{
  width: 60px;  
  
}

.l_img{
  width: 180px;
}
.l_img img{
  width: 180px;
  
}



.item_price{
  color:var(--black);
  font-size: 1rem;
  font-weight: bolder;
  padding:1rem 0;
}

#print_note{
    width:80% !important;
    border:2px solid #444;
    
}
.note_display{
    width:850px!important;
    height:auto;
    border:1px solid #333;
    display: grid;
    grid-gap:5px;
    grid-template-columns:repeat(4,200px);  
    
    
}
.note_display img {
    width:250px !important;
}

.note_display p img {
    width:250px !important;
}

}/*media*/



/* Screen larger than 600px? 2 column 
@media (min-width: 600px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
  }
  */
  /* Screen larger than 900px? 3 columns
  @media (min-width: 900px) {
    .cards { grid-template-columns: repeat(3, 1fr); }
  }
 */