/***  product-list  ***/
.products-list{
  display: grid;
  grid-gap: 10px;
  column-gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(160px,1fr));
  justify-content:center;
}

.pagination>li{display:inline-block}
.product>.panel {
  border: 1px solid #b1b1b1;
}
.product-body {
  height:100%;
  padding-bottom: 54px;
}
.product-price {
  font-weight: bold;
  color: #ff4545;
  font-size: 1.2em;
  padding:6px;
}
.product-title {
  padding:6px;
  font-family: var(--hfont);
  color: var(--hcolor)
}
.product-description {
  padding:6px;
  font-family: var(--bfont);
  color: var(--bcolor)
}
.product-footer {
  position:relative;
  bottom:0;
  padding:6px;
  margin-top:-56px;
  text-align: center;
}
.product-out-of-stock {
  color:white;
  background:#000000AA;
  padding:6px 10px;
  position:absolute;
  transform:translate(-50%,-50%);
  top:50%;
  left:50%;
  text-transform: uppercase;
  font-size:18px;
}
.product--attributes{
  margin:1.5em 0;
}
.sidebar{
  display: none;
}
/* no grid css support*/
.products-list{
  margin:0 auto auto auto;
}
.product {
  display: inline-block;
  max-width:260px;
	display: inline-block;
	vertical-align: top;
  background: white;
  text-align:center;
  width:100%;
  margin-bottom:1em;
}

.product img{
  max-width:100%;
  max-height:240px;
  height: auto;
  margin:auto;
}

.shop-list {
  display:grid;
  grid-template-columns: 20px 0px 1fr 20px;
  grid-template-areas:'. productlist productlist .''. pagin pagin.'
}
@media (min-width:540px) {
  .products-list{
    grid-template-columns: repeat(auto-fit, minmax(180px,250px));
  }
}
@media (min-width:800px) {
  .sidebar{
    display: inline-block;
  }
  .shop-list {
    grid-template-columns: 20px minmax(240px,280px) minmax(560px,1fr) 20px;
    grid-template-areas:'. sidebar productlist .''. pagin pagin.'
  }

}

/***   product  ***/
#imgZoom{
  margin:auto;
  margin-top:0;
  max-height: 600px;
}
#overlay{
  width:300px;
  height:300px;
  position:absolute;
  display:none;
  background-repeat:no-repeat;
  z-index:999999;
  background-color: rgba(200,200,200,0.9);
  border: 1px solid #ccc;
}
.thumbs>img{
  border:2px solid rgba(1,1,1,0.1);
}
.thumbs>img.tmb-selected{
  border:2px solid steelblue;
  max-height: 160px;
}
.product-view {
  display:grid;
  grid-gap:20px;
  background:white;
  grid-template-columns: 1fr;
  margin-top: 20px;
}
.product-img {
  display:grid;
  grid-gap:20px;
  grid-template-columns: 1fr;
}
.product-img .thumbs img{
  max-width: 60px;
}

#overlay {
  visibility: hidden;
}

@media (min-width:600px) {
  .product-img {
    grid-template-columns: 80px 1fr;
  }
  .product-img .thumbs img{
    max-width: 100px;
  }
}
@media (min-width:900px) {
  .product-view {
    grid-template-columns: 1fr 1fr;
  }
  .product-img {
    grid-template-columns: 100px 1fr;
  }
  #overlay {
    visibility: visible;
  }
}

.widget-category-list ul,
.widget-shop-category-list ul{
  list-style: none;
  display: block;
  margin: auto;
  font: 18px Arial;
  line-height: 1.2;
  padding:0;
}
.widget-category-list ul li a,
.widget-shop-category-list ul li a{
  width:100%;
  margin:0;
  text-decoration: none;
}
.widget-category-list ul li,
.widget-shop-category-list ul li{
  padding: 8px;
}


#shop-cart-icon{display:none}
@media (max-width: 755px) { 
    #shop-cart-icon{
      display: inline-block;
      border-radius: 50%;
      box-shadow: 0px 0px 4px #888;
      padding: 1em 0.8em;
      position: fixed;
      right: 10px;
      top: 10px;
      background: var(--header-bgcolor);
      color: var(--menu-color);
      z-index: 1000;
    }
    #shop-cart-btn{display:none}
}
