/**
 * user/assets/styles/product.css
 *
 * @author Pablo Rubio
 * @version 0.1
 */

article.product {
  font-size: 1.4em;
  line-height: 1.2em;
}

/*
 * The Title
 */

.product.archive .the-title {
  display: none;
}

.product.archive .the-title h1 {
  display: none;
}

/* Grid
*/

#products .columns {
  padding: 0px 0px 0px 230px;
}

.woocommerce .side-bar {
  width: 230px;
  margin: 0px 0px 0px -230px;
  padding: 20px 0px 0px 0px;
  float: left;
}

.woocommerce .side-bar .widget-area {
  padding: 0px;
  margin: 0px;
  list-style: none;
}

.woocommerce .side-bar > .status,
.woocommerce .side-bar .widget {
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.woocommerce .side-bar .widgettitle {
  background-color: #828487;
  margin: 0px;
  padding: 10px 20px;
  color: #ffffff;
  font-size: 1.2em;
  line-height: 1.4em;
}

.woocommerce .side-bar .widget ul.product-categories {
  padding: 20px;
  margin: 0px;
  list-style: none;
}

.woocommerce .side-bar .widget ul.product-categories ul {
  padding-left: 10px;
}

.woocommerce .side-bar .widget ul.product-categories li {
  padding: 0px 0px 10px 0px;
  margin: 0px;
}

.woocommerce .side-bar .widget ul.product-categories li a {
  color: #58595b;
  text-decoration: none;
  font-size: 0.9em;
  line-height: 1.4em;
  transition: color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.woocommerce .side-bar .widget ul.product-categories li.current-cat a,
.woocommerce .side-bar .widget ul.product-categories li a:hover {
  color: #f78e1e;
}

.woocommerce .side-bar .widget ul.product-categories li a:before {
  content: '\f345';
  font-family: dashicons;
  color: inherit;
  display: inline-block;
  width: 1em;
  height: 1em;
  font-size: 1em;
  line-height: 1.4em;
  position: relative;
  top: 0.15em;
}

.woocommerce .side-bar > .status {
  padding: 20px;
  margin: 0px 0px 20px 0px;
}

.woocommerce .side-bar > .status .woocommerce-result-count,
.woocommerce .side-bar > .status .woocommerce-ordering {
  float: none;
  position: relative;
}

.woocommerce .side-bar > .status .woocommerce-result-count {
  font-size: 0.9em;
  line-height: 1.2em;
  padding: 5px;
  margin: 0px 0px 10px 0px;
}

.woocommerce .side-bar > .status .woocommerce-ordering:before {
  content: '\f347';
  font-family: dashicons;
  display: inline-block;
  font-size: 12px;
  line-height: 12px;
  color: #333333;
  position: absolute;
  bottom: 7px;
  right: -14px;
  z-index: 100;
}

.woocommerce .side-bar > .status .woocommerce-ordering {
  margin: 0px;
  border-right: 20px solid rgb(248, 248, 248);
  cursor: pointer;
}

.woocommerce .side-bar > .status .woocommerce-ordering select {
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  padding: 5px;
  font-size: 0.9em;
  line-height: 1.2em;
  font-family: inherit;
}

.woocommerce .side-bar > .status .woocommerce-ordering select:focus {
  outline: none;
}

#side-bar {
  display: none;
}

@media screen and (max-width: 770px) {
  .woocommerce .side-bar {
    margin-left: 0px;
    float: none;
    position: relative;
    width: 100%;
    height: auto;
  }

  .woocommerce .side-bar #secondary {
    position: fixed;
    height: 100%;
    left: -300px;
    top: 0px;
    width: 300px;
    margin: 0px 0px 0px 0px;
    padding: 100px 20px 20px 20px;
    float: none;
    background-color: #e4e2e3;
    z-index: 1000;
    transition: left 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  [data-side-bar] .woocommerce .side-bar #secondary {
    left: 0px;
  }

  #side-bar {
    float: left;
    display: block;
    border: none;
    background-color: #ffffff;
    padding: 20px;
    margin: 0px 0px 0px 0px;
    font-size: 0.9em;
    line-height: 1em;
    transition: background-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  #side-bar:hover {
    background-color: #f78e1e;
  }

  #side-bar:before {
    content: '\f536';
    display: inline-block;
    font-size: 1em;
    line-height: 1em;
    font-family: dashicons;
    margin-right: 10px;
    vertical-align: middle;
  }

  .side-bar-close {
    display: block;
    position: fixed;
    z-index: 720;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    width: 100%;
    height: 0%;
    top: 0px;
    left: 0px;

    transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
      height 0s 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  [data-side-bar] .side-bar-close {
    opacity: 1;
    height: 100%;
    transition: opacity 0.4s 0s cubic-bezier(0.25, 0.8, 0.25, 1),
      0s 0s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .woocommerce .side-bar > .status {
    padding: 0px 20px;
    margin: 0px 0px 0px 0px;
    float: left;
    background-color: transparent;
    box-shadow: none;
  }

  .woocommerce .side-bar > .status .woocommerce-result-count,
  .woocommerce .side-bar > .status .woocommerce-ordering {
    float: left;
    position: relative;
    background-color: #ffffff;
  }

  .woocommerce .side-bar > .status .woocommerce-result-count {
    margin: 0px 20px 0px 0px;
    padding: 20px;
    font-size: 0.9em;
    line-height: 1em;
  }

  .woocommerce .side-bar > .status .woocommerce-ordering {
    margin: 0px 20px 0px 0px;
    padding: 0px;
    background-color: #ffffff;
    border-right: 20px solid #ffffff;
    transition: background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
      border-right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .woocommerce .side-bar > .status .woocommerce-ordering:hover {
    border-right: 20px solid #f78e1e;
    background-color: #f78e1e;
  }

  .woocommerce .side-bar > .status .woocommerce-ordering select {
    background-color: transparent;
    padding: 20px 0px 20px 20px;
    width: auto;
    max-width: 175px;
    font-size: 0.9em;
    line-height: 1em;
  }

  .woocommerce .side-bar > .status .woocommerce-ordering:before {
    bottom: 21px;
  }
}

@media screen and (max-width: 680px) {
  .woocommerce .side-bar > .status .woocommerce-result-count {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  .woocommerce .side-bar > .status {
    width: 100%;
  }

  .woocommerce .side-bar > .status #side-bar,
  .woocommerce .side-bar > .status .woocommerce-result-count,
  .woocommerce .side-bar > .status .woocommerce-ordering {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .woocommerce .side-bar > .status #side-bar {
    margin: 0px;
  }

  .woocommerce .side-bar > .status .woocommerce-result-count,
  .woocommerce .side-bar > .status .woocommerce-ordering {
    margin: 0px 0px 20px 0px;
  }

  .woocommerce .side-bar > .status .woocommerce-ordering select {
    width: 100%;
    max-width: 500px;
  }
}

/* Product list
*/

.woocommerce ul.products {
  float: left;
  right: -10px;
  position: relative;
  width: 100%;
  list-style: none;
  display: block;
  padding: 10px 0px 0px 0px;
  margin: 0px;
  clear: none;
}

.related.products ul.products {
  margin: 0px 0px;
  padding: 20px;
}

ul.products.empty {
  padding-top: 70px;
  padding-left: 20px;
  font-size: 0.7em;
  line-height: 1.5em;
  font-style: italic;
  opacity: 0.5;
}

ul.products li {
  float: left;
  width: 33.33%;
  padding: 10px;
  margin: 0px;
  cursor: pointer;
  text-align: center;
}

.related.products ul.products {
  padding: 0px;
  right: 0px;
}

.related.products ul.products li {
  width: 25%;
}

ul.products li .inner {
  min-height: 300px;
  position: relative;
  background-color: #ffffff;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.06);
  transform: translate(0px, 0px);
  transition: box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

ul.products li .inner:hover {
  transform: translate(0px, -2px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.06), 0 5px 5px rgba(0, 0, 0, 0.03);
}

ul.products li .thumbnail {
  width: 100%;
  height: 160px;
  position: relative;
  z-index: 50;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

ul.products li .thumbnail img {
  display: none;
}

ul.products li h3,
ul.products li div.sku,
ul.products li div.weight {
  /* position: relative;
  z-index: 150; */
}

ul.products li h3 {
  font-size: 1em;
  line-height: 1.2em;
  text-align: center;
  margin: 10px 0px;
  padding: 0px;
  height: 40px;
}

ul.products li div.sku {
  font-size: 0.9em;
  line-height: 1.4em;
}

ul.products li div.weight {
  font-size: 0.8em;
  line-height: 1.4em;
}

ul.products li a {
  position: absolute;
  top: 0px;
  left: 0px;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  opacity: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.6);
  transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

ul.products li a:hover {
  opacity: 1;
}

ul.products li a span {
  display: block;
  position: relative;
  top: 50%;
  text-align: center;
  color: #f78e1e;
  font-size: 1.2em;
  line-height: 1.4em;
  text-transform: uppercase;
  font-weight: bold;
  transform: translate(0%, -50%);
}

@media screen and (max-width: 860px) {
  ul.products li {
    width: 50%;
  }

  .related.products ul.products li {
    width: 50%;
  }
}

@media screen and (max-width: 770px) {
  html[data-side-bar],
  html[data-side-bar] body {
    overflow: hidden !important;
  }

  #products .columns {
    padding: 0px 0px 0px 0px;
  }

  .woocommerce ul.products {
    clear: both;
    float: none;
    right: 0px;
    padding: 10px;
  }
}

@media screen and (max-width: 500px) {
  ul.products li {
    width: 100%;
  }

  .related.products ul.products li {
    width: 100%;
  }
}

/* Pagination
*/

.pagination {
  clear: both;
  float: none;
  padding: 20px 0px 0px 20px;
}

.pagination .page-numbers {
  display: inline-block;
  min-width: 40px;
  height: 40px;
  padding: 10px;
  background-color: #ffffff;
  text-align: center;
  margin: 0px 10px 0px 0px;
  line-height: 20px;
  font-size: 14px;
  color: #58595b;
  text-decoration: none;
}

.pagination .page-numbers.current {
  background-color: #f78e1e;
  color: #ffffff;
}

@media screen and (max-width: 860px) {
  .pagination .page-numbers {
    min-width: 30px;
    height: 30px;
    padding: 5px;
    margin: 0px 10px 0px 0px;
    line-height: 20px;
  }
}
