﻿@charset "UTF-8";
/* Following media queries are based on Bootstrap 3.x breakpoints */
/* @extend */
.toggle-compare {
  position: fixed;
  bottom: 0;
  display: block;
  width: 200px;
  background-color: #d8582b;
  right: 60px;
  z-index: 1000;
  color: #fff;
  font-size: 1.1em;
  cursor: pointer;
  border-radius: 34px 34px 0 0;
  transform: translateY(0);
  transition: transform .2s;
  box-shadow: 0 -4px 4px rgba(0, 0, 0, 0.15); }
  .toggle-compare:before {
    content: "مقایسه (" attr(data-count) " مورد)";
    height: 34px;
    line-height: 34px;
    text-align: center;
    display: block; }
  .toggle-compare:after {
    border-right: 2px solid #eee;
    border-bottom: 2px solid #eee;
    transform: rotate(45deg);
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    left: 25px;
    top: 13px;
    transition: transform .2s; }
  .toggle-compare + div {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    padding: 15px 0;
    z-index: 999;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    transform: translate3d(0, 0, 0);
    transform: translateY(100%);
    transition: transform .2s;
    height: 220px;
    overflow: auto; }
    .toggle-compare + div img {
      max-height: 140px; }
    .toggle-compare + div a {
      margin-bottom: 10px;
      background-color: #1d4486;
      color: #fff;
      display: block;
      width: 100px;
      height: 32px;
      line-height: 30px;
      text-align: center;
      color: #fff; }
      .toggle-compare + div a:hover {
        background-color: #1d4486;
        text-decoration: none; }
  .toggle-compare.active {
    transform: translateY(-220px); }
    .toggle-compare.active:after {
      transform: rotate(-135deg); }
    .toggle-compare.active + div {
      transform: translateY(0); }

#compare__handlebars-results figure {
  position: relative; }

#compare__handlebars-results figcaption {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 6px;
  font-size: 90%; }

#compare__handlebars-results img {
  border: 1px solid #ddd; }

#compare__handlebars-results i {
  position: absolute;
  top: -10px;
  right: -10px;
  cursor: pointer; }
  #compare__handlebars-results i:before {
    content: 'X';
    font-size: 15px;
    font-style: normal;
    cursor: pointer;
    background-color: #eee;
    width: 30px;
    display: block;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px; }
  #compare__handlebars-results i:hover:before {
    background-color: #ff6b6b;
    color: #fff; }

.product-list .product-box__item:hover .product-box__compare-label {
  display: block !important; }

.product-list .product-box__item.compare__selected .product-box__compare-label {
  display: block !important; }

.compare__list .fa-times {
  position: absolute;
  right: -5px;
  top: -5px;
  font-size: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #ddd;
  line-height: 22px;
  cursor: pointer; }

@media (max-width: 767px) {
  #Body .compare-preview a {
    margin-top: 0;
    position: relative;
    top: -4px;
    right: -10px; }
  #Body #compare__handlebars-results figure {
    height: 30px; }
    #Body #compare__handlebars-results figure img {
      display: none; }
    #Body #compare__handlebars-results figure i {
      top: -2px; }
    #Body #compare__handlebars-results figure figcaption {
      text-align: right;
      padding-right: 30px; } }

html[lang=en-us] .toggle-compare:before {
  content: "Compare (" attr(data-count) " Items)"; }

body.ltr .toggle-compare {
  right: initial;
  left: 60px; }
  body.ltr .toggle-compare:after {
    left: initial;
    right: 17px; }

body.ltr #compare__handlebars-results i {
  right: initial;
  left: -10px; }

body.ltr .compare__list .fa-times {
  right: initial;
  left: -5px; }

@media (max-width: 767px) {
  body.ltr #Body .compare-preview a {
    right: initial;
    left: -10px; }
  body.ltr #Body #compare__handlebars-results figure figcaption {
    padding-right: initial;
    padding-left: 30px; } }
