/*	################################################################
	SHOP ITEM STYLE IN GRID
################################################################# */

.view-shop {
  margin-bottom: 90px;
}
.product-item {
  .product-header {
    position: relative;
    overflow: hidden;
    .product-overlay {
      position: absolute;
      z-index: 99;
      bottom: -100%;
      left: 0px;
      width: 100%;
      text-align: center;
      .transition(all, 0.4s, ease-in-out);
    }
    &:hover {
      .product-overlay {
        bottom: 0;
      }
      img {
        .transition(all, 250ms, cubic-bezier(0.55, 0.085, 0.68, 0.53));
        .scale(1.1);
      }
    }
  }
  .commerce-add-to-cart {
    input[type="submit"] {
      font-size: 14px;
      padding: 0px;
      height: auto;
      width: 100%;
      padding: 10px 20px;
      line-height: 40px;
      color: #141414;
      font-weight: normal;
      background: @base_color;
      border: 0;
    }
    &:after {
      position: absolute;
      z-index: 99;
      bottom: 15px;
      right: ~"calc(50% - 70px)";
      ;
      content: '+';
      color: #141414;
      font-size: 14px;
    }
    &:hover {
      input[type="submit"] {
        color: #FFFFFF;
        background: #141414;
      }
      &:after {
        color: #FFFFFF;
      }
    }
  }
  .product-meta {
    h3 {
      font-size: 1em;
      padding: 0;
      margin: 0;
      a {
        letter-spacing: 0.1em;
        font-size: 12px;
        line-height: 60px;
        text-transform: uppercase;
        font-weight: 400;
        color: #141414;
      }
    }
  }
  .attribute-widgets {
    display: none;
  }
  .onsale {
    width: 50px;
    height: 40px;
    border: 2px solid #000;
    color: #333;
    line-height: 40px;
    text-align: center;
    position: absolute;
    top: 20px !important;
    left: 20px !important;
    right: auto !important;
    margin: 0;
    padding: 0;
    background-color: transparent;
    text-transform: uppercase;
    z-index: 10;
  }
  .sale {
    background: @base_color;
    color: #000;
    position: absolute;
    top: 0px;
    font-size: 12px;
    padding: 5px 10px;
    right: 0px;
    z-index: 9;
  }
}

/*################################################################
	SINGLE PRODUCT
################################################################# */

.shop-single {
  .shop-product-name {
    text-transform: uppercase;
    font-size: 30px;
  }
  .short-desc {
    color: #b8b8b8;
  }
  .commerce-price-rrp-your-price {
    .webprice-total,
    .rrp-total {
      font-size: 36px;
    }
  }
  .commerce-add-to-cart {
    input[type="submit"] {
      background-color: @base_color;
      color: #fff;
      border-color: @base_color;
      text-transform: uppercase;
      &:hover {
        color: #fcc403;
        background-color: transparent;
      }
    }
  }
  .bx-wrapper {
    margin-bottom: 10px;
    .bx-viewport {
      img {
        width: 100%;
        height: auto;
      }
    }
  }
  #dexp-bxslide-pager-custom {
    a {
      display: inline-block;
      overflow: hidden;
      padding: 5px;
      &:first-child {
        padding-left: 0;
      }
    }
  }
  .sharethis-buttons {
    margin-top: 50px;
  }
  .rating {
    display: block;
    margin-top: -30px;
    i {
      color: @base_color;
      margin-left: 3px;
    }
  }
  .product-details-wrap {
    &.dexp_tab_wrapper {
      border: 0;
      &.vertical {
        .tab-content {
          margin-left: 260px;
          border: 1px solid #ebebeb;
          padding: 30px;
        }
        .nav-tabs {
          li {
            margin-bottom: 20px;
            a {
              display: inline-block;
              width: 100%;
              padding: 20px 20px;
              font-size: 12px;
              border: none;
              background: #ececec;
              color: #6f6f6f;
              border-radius: 0px;
              text-align: center;
              letter-spacing: 2px;
              i {
                margin-top: 3px;
                float: left;
              }
            }
            &.active {
              &:after {
                background: none;
              }
              a {
                background: @base_color;
                color: #FFFFFF;
              }
            }
            &:hover {
              a {
                background: @base_color;
                color: #FFFFFF;
              }
            }
          }
        }
      }
    }
  }
  .comment-wrapper {
    .media-list {
      li {
        border-bottom: 1px solid #ebebeb;
        padding-bottom: 20px;
        padding-top: 20px;
        .comment-avatar {
          float: left;
          img {
            .border-radius(50%, 50%, 50%, 50%);
            width: 75px;
            margin-right: 15px
          }
        }
        .comment-content {
          margin-left: 100px;
          color: #b8b8b8;
          font-style: italic;
        }
      }
    }
    .comment-form {
      input[type="text"],
      select {
        width: 100%;
        height: 30px;
      }
      input[type="submit"] {
        border: 0;
        background: @base_color;
      }
    }
  }
}
.product-details-wrap {
  margin: 30px 0 90px 0;
}
.flag-wishlist {
  border: 0 none;
  background-color: @base_color;
  color: #fff;
  display: inline-block;
  text-transform: uppercase;
  padding: 6px 15px;
  .transition(all, 0.3s, ease-in-out);
  &:hover {
    background-color: #FFF;
    border-color: @base_color;
    color: @base_color;
    .transition(all, 0.3s, ease-in-out);
    a,
    span {
      color: @base_color;
    }
  }
  a,
  span,
  i {
    color: #FFF;
  }
}
.view-related-products {
  padding-top: 20px;
  .view-content {
    padding-top: 20px;
  }
}

/*################################################################
	STYLE COMMON REUSE IN SHOP ITEM AND SHOP SINGLE
################################################################# */

.btn-products {
  margin-top: 20px;
  .add-to-wishlist {
    display: inline-block;
    a {
      color: #282828;
      font-weight: 500;
    }
    i {
      padding-right: 5px;
    }
  }
  .field-name-field-product {
    display: inline-block;
    .form-submit {
      margin-top: -3px;
    }
  }
}
.attribute-widgets {
  label {
    display: none;
  }
  .form-type-radio {
    display: inline-block;
  }
}
.form-item-quantity {
  display: inline;
  margin-right: 25px;
}
.product-price {
  font-size: 18px;
}
.commerce-price-rrp-your-price {
  width: 100%;
  font-family: 'Crimson Text';
  tbody {
    border-top: 0 none;
  }
  tr,
  td {
    display: inline-block;
    padding: 0;
  }
  .rrp-title,
  .webprice-title {
    display: none;
  }
  .webprice-total {
    color: #141414 !important;
    font-size: 18px;
    font-style: italic;
  }
  .rrp-total {
    padding-right: 10px;
    font-size: 16px;
    color: #6f6f6f;
    font-style: italic;
    letter-spacing: 0.1em;
  }
}
.commerce-add-to-cart {
  input[type="text"] {
    color: #333333;
    height: 34px;
    line-height: 30px;
    margin: 0;
    padding: 5px;
    width: 50px;
  }
  label {
    display: none;
  }
}
#comments_wrapper .comment-avatar img {
  background-color: #FFFFFF;
  border: 1px solid #EFEFEF;
  border-radius: 0;
  display: inline-block;
  height: auto;
  line-height: 1.42857;
  max-width: 100%;
  padding: 9px;
  .transition(all, 0.2s, ease-in-out);
}

/*################################################################
	CART PAGE
################################################################# */

.page-cart {
  .view-commerce-cart-form {
    table {
      width: 100%;
      border: 0;
      tbody {
        border-color: #ececec;
      }
      tr {
        &.odd,
        &.even {
          background: none;
        }
        td {
          vertical-align: middle;
          border: 0;
          padding: 30px 30px 30px 0;
          border-bottom: 1px solid #ececec;
        }
      }
    }
    i:hover {
      color: @base_color;
    }
    .views-field-line-item-title {
      a {
        color: #333333;
        &:hover {
          color: @base_color;
        }
      }
    }
    .views-field-edit-delete {
      text-align: center;
      .delete-line-item {
        background: transparent;
        display: inline-block;
        height: 18px;
        margin-left: -15px;
        padding-left: 0 !important;
        text-indent: -9999px;
        width: 18px;
        border: 0 none;
      }
      .fa-remove {
        font-size: 12px;
        padding-top: 2px;
        padding-left: 3px;
        height: 20px;
        width: 20px;
        text-align: center;
        border-radius: 100%;
        color: red;
        text-decoration: none;
        border: 0;
        &:hover {
          color: #FFFFFF;
          background: red;
        }
      }
    }
    .commerce-line-item-actions {
      margin: 30px 0;
      .form-submit {
        background: transparent;
        text-transform: uppercase;
        color: #000;
        &:hover {
          color: #FFF;
          background: @base_color;
          border-color: @base_color;
        }
      }
    }
    #edit-submit {
      margin-right: 10px;
    }
  }
}

/*################################################################
	PRODUCT WIDGETS SIDEBAR
################################################################# */

.view-top-products-rating,
.view-products-sale {
  ul {
    list-style: none;
    li {
      list-style-type: none;
      margin: 0 0 20px 0;
    }
  }
  .valign {
    > div {
      display: table-cell;
      vertical-align: top;
    }
    .recent_post_img {
      img {
        width: 75px;
        height: auto;
        margin: 0 10px 0 0;
        .transition(opacity, 0.2s, ease-in-out);
        &:hover {
          -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
          filter: alpha(opacity=60);
          -moz-opacity: 0.6;
          -khtml-opacity: 0.6;
          opacity: 0.6;
        }
      }
    }
    h4 {
      font-size: 14px !important;
      margin-bottom: 3px !important;
      padding-bottom: 0 !important;
      a {
        color: #83939C;
        text-transform: uppercase;
      }
    }
    .rating {
      text-align: left;
    }
  }
  .webprice-total {
    font-size: 15px;
  }
}
.view-bestsellers {
  ul {
    list-style: none;
    li {
      list-style-type: none;
      margin-left: 0;
      clear: left;
      min-height: 120px;
      img {
        float: left;
        width: 75px;
        margin: 0 10px 0 0;
        .transition(opacity, 0.2s, ease-in-out);
        &:hover {
          -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
          filter: alpha(opacity=60);
          -moz-opacity: 0.6;
          -khtml-opacity: 0.6;
          opacity: 0.6;
        }
      }
      h4.title {
        margin-bottom: 3px;
      }
      a {
        font-size: 14px;
        font-weight: 600;
        color: #83939C;
        text-transform: uppercase;
      }
      .views-field-commerce-price {
        font-size: 15px;
        color: @base_color;
      }
      .views-field-field-rating {
        display: inline-block;
      }
    }
  }
}
.view-wishlist,
.view-commerce-cart-summary,
.view-commerce-cart-form {
  thead {
    > tr >th {
      padding: 25px 0px;
      border: 0;
      text-transform: uppercase;
    }
  }
}

/*################################################################
	CHECKOUT PAGE
################################################################# */

.views-table {
  width: 100%;
  border: 1px solid #DDDDDD;
  tr,
  th {
    background: none;
    td {
      padding: 8px;
      border: 1px solid #DDDDDD;
    }
  }
}
#commerce-checkout-form-checkout,
#commerce-shipping-service-ajax-wrapper {
  fieldset.collapsed {
    height: 60px !important;
    margin-bottom: 20px;
  }
  legend {
    border-top: 2px solid @base_color;
    padding: 16px;
    background: #f7f6f7;
    span,
    a {
      color: #515151;
      &:hover {
        color: @base_color;
      }
    }
    &:hover {
      border-color: @base_color;
    }
  }
  .form-item {
    width: 100%;
  }
  .form-text,
  select {
    color: #656565;
    display: block;
    font-size: 12px;
    height: 34px;
    line-height: 1.42857;
    margin-bottom: 10px;
    padding: 6px 12px;
    .transition(border-color, 0.15s, ease-in-out);
    .transition(box-shadow, 0.15s, ease-in-out);
    vertical-align: middle;
    width: 100%;
  }
  table.commerce-price-formatted-components {
    margin-bottom: 10px;
    tbody {
      border: none;
    }
    tr {
      border: none;
      background: none;
    }
  }
}
table.checkout-review {
  width: 100%;
  tbody {
    border: none;
  }
  tr {
    border: none;
    background: none;
  }
}
.checkout-buttons {
  text-align: right;
  margin-bottom: 40px;
  .button-operator {
    display: none;
  }
  .checkout-continue,
  .checkout-cancel {
    background: @base_color;
    color: #FFF;
    text-transform: uppercase;
    border: 0;
  }
  .checkout-cancel {
    display: inline-block;
    color: #FFF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 10px 15px;
    position: relative;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
    margin-left: 10px;
    background: @base_color;
    text-decoration: none !important;
  }
}

/*#################################################################
	QUANTITY PRODUCT
################################################################# */

input[id^=edit-quantity],
input[id^=edit-edit-quantity] {
  border: 2px solid #e4e4e4;
  height: 34px;
  text-align: center;
}
.commerce-quantity-plusminus-link-decrease,
.commerce-quantity-plusminus-link-increase {
  a {
    background-color: buttonface;
    box-shadow: none;
    color: #666;
    cursor: pointer;
    float: left;
    font-size: 18px;
    font-weight: bold;
    padding: 0 !important;
    height: 34px;
    line-height: 34px;
    text-align: center;
    width: 34px;
    border-radius: 0 !important;
    background-color: buttonface;
    &:hover {
      background: @base_color !important;
      color: #FFF;
    }
  }
}

/*#################################################################
	FACET BLOCKS
################################################################# */

.block-search-api-sorts {
  float: left;
  margin-bottom: 20px;
  .form-item-sort-by {
    margin-top: 0;
  }
}
.view-shop-fullwidth,
.view-products {
  .view-filters {
    position: absolute;
    top: 0px;
    left: 190px;
  }
  label {
    display: none;
  }
  .views-widget-per-page {
    padding: 0;
  }
}
.result-found {
  margin-top: 15px;
}
.block-facetapi {
  ul:not(.contextual-links) {
    padding-left: 30px;
    margin-top: 10px;
    li {
      list-style: none;
      line-height: 40px;
      margin: 0;
      input[type="checkbox"] {
        margin-right: 10px !important;
      }
      a {
        color: #6f6f6f;
        font-size: 13px;
        display: inline-block;
        &:hover {
          color: @base_color;
        }
      }
    }
  }
  select {
    width: 100%;
  }
}
.search-api-ranges-widget {
  .ui-slider-horizontal {
    height: .3em;
  }
  .ui-slider-horizontal .ui-slider-handle {
    top: -0.5em;
    border-radius: 50%;
  }
  .ui-widget-header {
    background: #909090 !important;
  }
  .ui-state-default,
  .ui-widget-content .ui-state-default,
  .ui-widget-header .ui-state-default {
    background: @base_color !important;
    cursor: pointer;
  }
  .btn {
    background: none;
    border: 2px solid #ececec;
    &:hover {
      background: 2px solid #ececec;
      border: 0;
    }
  }
  label {
    display: block;
  }
  input[type="text"] {
    width: 100%;
    padding-left: 10px;
  }
  .text-range {
    display: none;
  }
}
.block-current-search {
  margin-bottom: 20px;
  .current-search-item {
    ul {
      margin: 0;
      padding: 0;
      li {
        list-style: none;
        font-size: 16px;
        display: inline;
        padding-right: 20px;
        margin: 0;
      }
    }
  }
}

/*#################################################################
	WISHLIST PAGE
################################################################# */

.view-wishlist {
  margin-bottom: 40px;
  i {
    padding-right: 5px;
  }
}
#block-dc-ajax-add-cart-ajax-shopping-cart {
  margin-bottom: 20px;
  .ajax-shopping-cart-wrapper {
    width: 100%;
  }
}
.banner-image img {
  width: 100%;
}
.margin-top1 {
  margin-top: 6px;
}
.magnifier:hover .buttons {
  opacity: 1;
  visibility: visible;
  .scale(1);
}
.entry:hover .magnifier {
  opacity: 1;
  visibility: visible;
}
.entry {
  display: block;
  overflow: hidden;
  position: relative;
}
.magnifier {
  position: absolute;
  background-color: #03acdc;
  text-align: center;
  top: 0;
  left: 0;
  cursor: pointer;
  z-index: 998;
  bottom: 0;
  right: 0;
  opacity: 0;
  .transition(all, .3s, ease-in-out, 0);
  .scale(1);
}
.entry img {
  zoom: 1;
  filter: alpha(opacity=100);
  opacity: 1;
  .transition(all, 0.9s, ease, 0s);
}
.entry:hover img {
  zoom: 1;
  filter: alpha(opacity=50);
  opacity: 0.5;
}
.magnifier .buttons {
  visibility: hidden;
  position: absolute;
  cursor: pointer;
  width: 100%;
  top: 53%;
  left: 0;
  right: 0;
  margin-top: -22px;
  opacity: 0;
  .scale(0.2);
  .transition(all, .3s, ease, 0);
}
.magnifier .buttons h3 {
  color: #fff;
  font-size: 21px;
}
.st_facebook_custom,
.st_twitter_custom,
.st_linkedin_custom,
.st_pinterest_custom,
.st_googleplus_custom {
  border-radius: 50%;
  background: #f9f9f9;
  height: 42px;
  width: 42px;
  display: inline-block;
  text-align: center;
  line-height: 42px;
  font-size: 14px;
  color: #141414;
  &:hover {
    background: @base_color;
    color: #FFF;
    cursor: pointer;
  }
}
.st_facebook_custom {
  &:before {
    content: "\f09a";
    font-family: FontAwesome;
  }
}
.st_twitter_custom {
  &:before {
    content: "\f099";
    font-family: FontAwesome;
  }
}
.st_linkedin_custom {
  &:before {
    content: "\f0e1";
    font-family: FontAwesome;
  }
}
.st_pinterest_custom {
  &:before {
    content: "\f231";
    font-family: FontAwesome;
  }
}
.st_googleplus_custom {
  &:before {
    content: "\f0d5";
    font-family: FontAwesome;
  }
}
.shop-image-box {
  position: relative;
  overflow: hidden;
  &:hover {
    img {
      .scale(1.1);
      .transition(all, 250ms, cubic-bezier(0.55, 0.085, 0.68, 0.53));
    }
  }
  .position-center-center {
    .middle-center();
  }
  .heading-border {
    width: 80%;
    margin: 0 auto;
    h3 {
      padding: 10px 30px;
      border: 4px solid #fff;
      color: #fff;
      font-size: 30px;
    }
  }
  span.large {
    font-size: 65px;
    color: #fff;
    font-weight: bold;
    line-height: 70px;
  }
  .width-100 {
    width: 100% !important;
  }
  a.link-full {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0px;
    top: 0px;
    z-index: 999;
    cursor: pointer;
  }
}
a.cart-header {
  color: #000;
  .transition(all, 0.3s);
  #section-header.fixed-transition &,
  body.header-overlay & {
    color: #FFF;
  }
  span {
    opacity: 0;
    position: absolute;
    color: #fff;
    background-color: @base_color;
    .border-radius(100%, 100%, 100%, 100%);
    .transition(all, 0.3s, ease);
    display: block;
    font-size: 11px;
    height: 18px;
    line-height: 18px;
    right: -5px;
    text-align: center;
    top: -10px;
    width: 18px;
  }
  i {
    font-size: 14px;
    margin: 0px;
    height: 32px;
    width: 32px;
    color: #fff;
    text-align: center;
    padding-top: 10px;
    border-radius: 50%;
  }
  &:hover {
    i {
      background: #141414;
    }
    span {
      opacity: 1;
    }
  }
}
