/*======BUTTONS======*/
.custom-btn,
.custom-btn:focus,
.custom-btn:active,
.custom-btn:visited {
  position: relative;
  display: block;
  min-width: 150px;
  max-width: 250px;
  padding: 12px 15px;
  border-radius: 25px;
  font-family: Roboto;
  @include fluid-type(320px, 768px, 12px, 14px);
  text-align: center;
  @include transition2(all, 0.3s, ease-in-out);
  overflow: hidden;
  span {
    position: relative;
    display: block;
    width: 100%;
    z-index: 2;
    line-height: 1;
  }
  &:before {
    content: "";
    position: absolute;
    width: 0;
    height: 110%;
    right: 0;
    border-radius: 25px;
    z-index: 1;
    @include transition2(width, 0.5s, ease-in-out);
    transition-delay: 0.01s;
  }
  &:hover {
    cursor: pointer;
    &:before {
      width: 110%;
      left: 0;
      right: auto;
    }
  }
  &.big,
  .big:focus,
  .big:active,
  .big:visited {
    height: 40px;
  }
  &.small,
  .small:focus,
  .small:visited,
  .small:active {
    height: 40px;
  }
  &.map,
  .map:focus,
  .map:visited,
  .map:active {
    font-size: 12px;
    margin-top: 5px;
    height: 30px;
  }
  &.white {
    border: 1px solid $white;
    background-color: $white;
    color: $color01;
    &:before {
      background: $color01;
    }
    &:hover {
      color: $white;
      span {
        color: $white;
      }
    }
  }
  &.rose {
    border: 1px solid $color01;
    background-color: transparent;
    color: $color01;

    &:before {
      background: $color01;
    }
    &:hover {
      color: $white;
      span {
        color: $white;
      }
    }
  }
  &.rose-background {
    border: 1px solid $color01;
    background-color: $color01;
    color: $white;

    svg {
      position: relative;
      z-index: 1;

      path {
        fill: $white;
        @include transition;
      }
    }
    &:before {
      background: $white;
    }
    &:hover {
      color: $color01;
      span {
        color: $color01;
      }

      svg {
        path {
          fill: $color01;
        }
      }
    }
  }
  &.purple {
    border: 1px solid $color02;
    background-color: transparent;
    color: $color02;
    &:before {
      background: $color02;
    }
    &:hover {
      color: $white;
      span {
        color: $white;
      }
    }
  }
  &.grey-light-02 {
    border: 1px solid $grey-clear02;
    background-color: $grey-clear02;
    color: $black-clear02;

    &.grey-light-border {
      background-color: $grey-clear01;
      font-family: Roboto;
    }

    svg {
      position: relative;
      z-index: 1;

      path {
        fill: $black-clear02;
        @include transition;
      }
    }

    &:before {
      background: $black-clear02;
    }
    &:hover {
      color: $white;
      span {
        color: $white;
      }

      svg {
        path {
          fill: $white;
        }
      }
    }
    &.active {
      border: 1px solid $color01;
      background-color: $color01;
      color: $white;
      pointer-events: none;
      font-family: Roboto;
      &:before {
        background: $color01;
        width: 100%;
      }
    }
  }
}

.filters-btn-search,
.filters-btn-search:focus,
.filters-btn-search:visited,
.filters-btn-search:active {
  width: 50px;
  height: 50px;
  opacity: 1;
  cursor: pointer;
  border-radius: 100%;
  background-color: $color01;
  @include transition;
  svg {
    width: 15px;
    height: 15px;
    path {
      fill: $white;
    }
  }
  &:hover {
    background-color: rgba($color01, 0.5);
  }
}

.filters-btn-products,
.filters-btn-products:focus,
.filters-btn-products:visited,
.filters-btn-products:active {
  border: 1px solid $color02;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  opacity: 1;
  span {
    position: relative;
    display: inline-block;
    font-size: 14px;
    font-family: Roboto;
    color: $color02;
    line-height: 1;
    z-index: 2;
    margin: 0 0 0 5px;
  }
  cursor: pointer;
  @include transition;
  svg {
    position: relative;
    z-index: 2;
    width: 15px;
    height: 15px;
    path {
      fill: $color02;
    }
  }
}

.btn-share,
.btn-share:focus,
.btn-share:visited,
.btn-share:active {
  width: auto;
  height: 40px;
  opacity: 1;
  span {
    position: relative;
    display: none;
    font-size: 14px;
    font-family: Roboto;
    color: $white;
    line-height: 1;
    z-index: 2;
    margin: 0 0 0 5px;
    @media (min-width: 1680px) {
      display: inline-block;
    }
  }
  cursor: pointer;
  @include transition;
  svg {
    position: relative;
    z-index: 2;
    width: 18px;
    height: auto;
    path {
      stroke: $white;
    }
  }
  &:hover {
    opacity: 0.5;
  }
}

.btn-save,
.btn-save:focus,
.btn-save:visited,
.btn-save:active,
.btn-save:focus {
  width: auto;
  height: 40px;
  opacity: 1;
  span {
    position: relative;
    display: none;
    font-size: 14px;
    font-family: Roboto;
    color: $white;
    line-height: 1;
    z-index: 2;
    margin: 0 0 0 5px;
    @media (min-width: 1680px) {
      display: inline-block;
    }
  }
  cursor: pointer;
  @include transition;
  svg {
    position: relative;
    z-index: 2;
    width: 18px;
    height: auto;
    path {
      fill: transparent;
      stroke: $white;
    }
  }
  &:hover {
    opacity: 0.5;
  }
  &.active {
    svg {
      path {
        fill: $white;
      }
    }
  }
}

.filters-btn,
.filters-btn:focus,
.filters-btn:visited,
.filters-btn:active {
  width: 40px;
  height: 40px;
  opacity: 1;
  cursor: pointer;
  @include transition;
  svg {
    width: 30px;
    height: 30px;
  }
  &:hover {
    opacity: 0.5;
  }
}

.clear-filters-btn,
.clear-filters-btn:active,
.clear-filters-btn:visited,
.clear-filters-btn:focus {
  position: relative;
  display: inline-block;
  width: auto;

  font-family: Roboto;
  font-size: 12px;
  text-align: center;
  color: $black-clear02;
  cursor: pointer;
  padding: 0;
  margin: 0;
  line-height: 1;
  @include transition;
  &:hover {
    opacity: 0.7;
  }
}

/*
.back-btn-wrapper,
.back-btn-wrapper:focus,
.back-btn-wrapper:visited,
.back-btn-wrapper:active {
  position: relative;
  @include inline-flex;
  @include align-items(center);
  @include transition2(all, 0.5s, ease-in-out);
  .text {
    //font-family: $CormorantLight;
    @include fluid-type(768px, 1680px, 16px, 20px);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: $black-clear;
    margin-left: 20px;
  }
  .icon {
    @include flexbox;
    @include align-items(center);
    @include justify-content(center);
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid $beige;
    border-radius: 100%;
    svg {
      width: 16px;
      height: 18px;
      path {
        fill: $black-clear;
      }
    }
    &:before {
      content: "";
      display: block;
      position: absolute;
      left: -100vw;
      top: 50%;
      width: 100vw;
      height: 1px;
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
      background: $beige;
    }
  }
  &:hover {
    .icon {
      background: $beige;
      svg {
        path {
          fill: $white;
        }
      }
    }
  }
  &.white {
    .text {
      color: $white;
    }
    .icon {
      border: 1px solid $white;
      svg {
        path {
          fill: $white;
        }
      }
      &:before {
        content: "";
        display: block;
        position: absolute;
        left: -100vw;
        top: 50%;
        width: 100vw;
        height: 1px;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        background: $white;
      }
    }
    &:hover {
      .icon {
        background: $white;
        svg {
          path {
            fill: $black-clear;
          }
        }
      }
    }
  }
}

.share-btn-wrapper {
  @include inline-flex;
  @include align-items(center);
  position: relative;
  cursor: pointer;
  .text {
    display: none;
    //font-family: $WorkSansMedium;
    @include fluid-type(768px, 1680px, 14px, 16px);
    color: $black-clear;
    text-transform: uppercase;
    margin-right: 20px;
  }

  .icon {
    display: none;
    @include flexbox;
    @include align-items(center);
    @include justify-content(center);
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid $beige;
    border-radius: 100%;

    svg {
      width: 16px;
      height: 18px;

      path {
        stroke: $black-clear;
      }
    }
  }
  &:hover {
    .icon {
      background: $black-clear;
      svg {
        path {
          stroke: $white;
        }
      }
    }
  }
  &.white {
    .text {
      color: $white;
    }

    .icon {
      border: 1px solid $white;
      svg {
        path {
          stroke: $white;
        }
      }
    }
    &:hover {
      .icon {
        background: $white;
        svg {
          path {
            stroke: $black-clear;
          }
        }
      }
    }
  }
}*/

.btn-back,
.btn-back:focus,
.btn-back:visited {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background-color: $white;
  cursor: pointer;
  svg {
    width: 10px;
    height: 10px;
    path {
      fill: $black-clear01;
      @include transition;
    }
  }
  &:hover {
    background-color: $black-clear01;
    svg {
      path {
        fill: $white;
      }
    }
  }
}

.btn-contact-info,
.btn-contact-info:focus,
.btn-contact-info:visited {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background-color: $white;
  cursor: pointer;
  svg {
    width: 20px;
    height: 20px;
    path {
      fill: $black-clear01;
      @include transition;
    }
  }
  &:hover {
    background-color: $black-clear01;
    svg {
      path {
        fill: $white;
      }
    }
  }
  &.rose {
    background-color: $color01;
    svg {
      path {
        fill: $white;
        @include transition;
      }
    }
    &:hover {
      background-color: $white;
      svg {
        path {
          fill: $color01;
        }
      }
    }
  }
}

@media (min-width: 768px) {
  .share-btn-wrapper {
    .text {
      display: block;
      margin-right: 30px;
    }
  }
  .filters-btn-products,
  .filters-btn-products:focus,
  .filters-btn-products:visited,
  .filters-btn-products:active {
    position: relative;
    width: auto;
    min-width: 145px;
    padding: 12px 25px;
    margin: 0 10px 0 0;
    border-radius: 25px;
    overflow: hidden;
    &:before {
      content: "";
      position: absolute;
      width: 0;
      height: 110%;
      right: 0;
      border-radius: 25px;
      z-index: 1;
      background-color: $color02;
      @include transition2(width, 0.5s, ease-in-out);
      transition-delay: 0.01s;
    }
    &:hover {
      cursor: pointer;
      span {
        color: $white;
      }
      svg {
        path {
          fill: $white;
        }
      }
      &:before {
        width: 110%;
        left: 0;
        right: auto;
      }
    }
  }
}

@media (min-width: 992px) {
  .custom-btn,
  .custom-btn:focus,
  .custom-btn:active,
  .custom-btn:visited {
    &.big,
    .big:focus,
    .big:active,
    .big:visited {
      height: 50px;
    }
  }
}

@media (min-width: 1199px) {
}

@media (min-width: 1680px) {
}
