.nova-offcanvas {
  display: flex;
  flex-direction: column;
  padding: rem-calc(30);
  h2.title {
    font-size: rem-calc(20);
    text-transform: uppercase;
    padding-bottom: rem-calc(25);
    border-bottom: solid 1px v(site-border-color);
    .count-item-canvas {
      position: relative;
      top: -4px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: rem-calc(30);
      height: rem-calc(30);
      margin-left: rem-calc(10);
      background: v(site-accent-color);
      color: #fff;
      font-size: rem-calc(14);
      border-radius: 50%;
    }
  }
  &__content {
    flex: 1;

  }
  &.position-right {
    top: 0;
    right: 0;
    width: 470px;
    height: 100%;
    transform: translateX(470px);
    position: fixed;
    z-index: 99999;
    transition: transform 0.5s ease;
    backface-visibility: hidden;
    @include breakpoint(medium down) {
      width: 100%;
      transform: translateX(100%);
    }
  }

  &.is-open {
    transform: translateX(0);
  }

  .close-button {
    font-size: 0;
    position: absolute;
    right: 30px;
    top: 35px;
    left: auto;
    background-color: transparent;
    color: v(dropdown-text-color);
    padding: 0;
    @include rotate_close_btn();

    svg {
      width: 15px;
      height: 15px;
    }
  }
}
.off-canvas-wrapper {
  text-align: left;
  @import '../wc/product/tabs/additional_information';
  @import '../wc/product/tabs/reviews_tab';
}
.js-off-canvas-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;

  &.is-visible {
    opacity: 1;
    visibility: visible;
  }

  &.is-closable {
    cursor: pointer;
  }

  &.is-overlay-fixed {
    position: fixed;
  }
}
.admin-bar .nova-offcanvas {
	@include breakpoint(large up)
	{
		margin-top:32px;
	}
	@include breakpoint(medium down)
	{
		margin-top:0;
	}
}
.sizeguide-canvas {
  &.position-right {
    width: 650px;
    transform: translateX(650px);
    @include breakpoint(medium down) {
      width: 100%;
      transform: translateX(100%);
    }
    &.is-open {
      transform: translateX(0);
    }
  }
}
.minicart-canvas {
  .add_ajax_loading {
    height: 0;
    visibility: hidden;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 -5%;
    overflow: hidden;
    background-color: v(dropdown-bg-color);
    @include global_transition;

    span {
      &:after {
        display: block;
        content: " ";
        position: absolute;
        width: 16px;
        height: 16px;
        margin: -8px 0 0 -8px;
        background-color: v(site-accent-color);
        background-image: none;
        border-radius: 100%;
        -webkit-animation: dotPulse .65s 0s infinite cubic-bezier(.21, .53, .56, .8);
        animation: dotPulse .65s 0s infinite cubic-bezier(.21, .53, .56, .8);
      }
    }

    &.visible {
      height: auto;
      padding: 2rem 0;
      visibility: visible;
    }
  }
  .widget_shopping_cart {
    margin-top: rem-calc(30);
    border: none;
    .widgettitle {
      display: none;
    }
  }
}
