@import url('https://fonts.googleapis.com/css?family=Pacifico|Roboto&display=swap');

body{
    margin:0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size:12px;
    color:#999;
    display: flex;
    flex-direction: column;
}

header{
    width:100vw;
    height:15vh;
    font-size:30px;
    color: #999;
}

.search-button {
    position: absolute; 
    background: dodgerblue;
    color: white;
    min-width: 50px;
    text-align: center;
    max-width:10px;
    height:18px;
    font-size: 1rem;
    padding:10px; 
    right:0px;
    top: 3px;
    cursor: pointer;
}

#search_term{
    width: 90%;
    height:33px;
    outline: none;
    font-size:20px;
    color: #666;
}

.search_term_label{
    text-transform:capitalize;
}

.input-container{
    position: relative;
    display:inline-block;
    margin: 20px;
    width: 90vw;
    max-width: 400px;
}

#main{
    width:100vw;
    height:85vh;
    background-color:#EEE;
}

#catalog-header{
    width: 100%;
    height: 100px;
    display: flex; 
    flex-direction: row;
    flex-wrap: wrap;
    overflow: visible;
}

.title{
    font-family: 'Pacifico', cursive;
    font-size:26px;
    color: tomato;
    display:flex;
    justify-content: center;
    align-items: center;
}

.filter-option{
    margin-top:10px;
    margin-bottom:10px;
    margin-right:30px;
    padding-left:30px;
    border-left:2px solid #DDD;
}

.product-category{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    min-width:130px;
}

.customer-category-options{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.customer-category{
    padding-top:15px;
    min-width:180px;
}

.customer-category-options img{
    width:30px;
}

.icon{
    margin:5px;
    cursor: pointer;
}

.icon2{
    font-size:24px;
}

.price-range{
    display:flex;
    justify-content: center;
    flex-direction: column;
    text-transform: uppercase;
    min-width:250px;  
}

.range-labels{
    position:relative;
}

.range-1{
    position:absolute;
    left:0px;
}
.range-2{
    position:absolute;
    left:55px;
}
.range-3{
    position:absolute;
    left:110px;
}
.range-4{
    position:absolute;
    right:50px;
}
.range-5{
    position:absolute;
    right:0px;
    text-transform: capitalize
}


#products{
    width: 100%;
    height: 80%;
    display:flex;
    justify-content: center;
    align-items: center;
}

#product-container{
    position: relative;
    overflow: hidden;
    max-width: 100%;
    height:100%;
    flex:1;
    margin-left:30px;
    margin-right:30px;
    min-width: 200px;
    min-height: 160px;
}

#product-list{
    position:absolute;
    display:grid;
    grid-gap: 2px;
    background-color: #EEE;
    transition: 0.5s;
}

.product{
    width: 150px;
    height: 150px;
    margin: 2px;
    background-color: white;
    display:flex;
    flex-direction: column;
}

.product-img{
    display: flex;
    justify-content: center;
    align-items: center;
    flex:1;
}

.product-details-1{
    height: 20px;
    font-size: 11px;
    color:gray;
    align-self: flex-start;
    padding: 10px;
}

.product-details-1 .price-1{
    font-weight: bold;
}

.product img{
    max-width: 100px;
    max-height: 100px;
}

#price_range{
    width:100%;
}

.page-slider{
    width: 30px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #CCC;
    color:#BBB;
    font-size: 50px;
    cursor:pointer;
}

.page-slider img{
    max-width: 15px;
}

.page-slider .left{
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}


.product-zoom{
    position:absolute;
    left:-500px;
    width: 250px;
    height: 320px;
    background-color: white;
    display:flex;
    flex-direction: column;
    border:2px solid #666;
    z-index: 1000;

}

.product-zoom .product-img{
    display: flex;
    justify-content: center;
    align-items: center;
    flex:1;
}

.product-zoom .product-details-1{
    height: 50px;
    font-size: 12px;
    color:gray;
    align-self: flex-start;
    padding: 10px;
}

.product-zoom .product-details-1 .price-1{
    font-weight: bold;
}

.product-zoom .product-details-1 .discount{
    color: #BBB;
    text-decoration: line-through;
}

.product-zoom .product-details-1 .store{
    color: #81c395;
}

.product-zoom  img{
    max-width: 200px;
    max-height: 250px;
}

.product-zoom .zoom-footer{
    padding-left:10px;
    padding-bottom:7px;
    padding-top:7px;
    background-color: #666;
    color:#FFF;
}

.show{
    opacity: 1;
}

.hide{
    opacity: 0;
}


/* The container must be positioned relative: */
.custom-select {
    position: relative;
    font-family: Arial;
    font-size:14px;
    font-weight: bold;
  }
  
  .custom-select select {
    display: none; /*hide original SELECT element: */
  }
  
  .select-selected {
    background-color: #EEE;
  }
  
  /* Style the arrow inside the select element: */
  .select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #999 transparent transparent transparent;
  }
  
  /* Point the arrow upwards when the select box is open (active): */
  .select-selected.select-arrow-active:after {
    border-color: transparent transparent #999 transparent;
    top: 7px;
  }
  
  /* style the items (options), including the selected item: */
  .select-items div,.select-selected {
    color: #666;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
  }
  
  /* Style items (options): */
  .select-items {
    position: absolute;
    background-color: #EEE;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1001;
  }
  
  /* Hide the items when the select box is closed: */
  .select-hide {
    display: none;
  }
  
  .select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
  }