@import './../../../../sources/styles/include.scss';

$namespace: 'intec-universe';
$component: 'sale-basket-small';
$template: 'panel-1';
$class: #{$component};

.ns-#{$namespace}.c-#{$component}.c-#{$component}-#{$template} {
  display: block;

  .#{$class}-panel {
    display: none;
    height: 55px;
    background-color: #fff;
    @include box-shadow(0, 0, 5px, 0, rgba(0, 0 ,0, 0.15));
    @include transition(0.25s, transform, null, ease);
  }
  .#{$class}-panel-wrapper {
    height: 100%;
  }
  .#{$class}-panel-button {
    display: block;
    text-decoration: none;
    height: 100%;
    cursor: pointer;
  }
  .#{$class}-panel-button-wrapper {
    display: block;
    position: absolute;
    top: 7px;
    right: 7px;
    left: 7px;
    bottom: 7px;
  }
  .#{$class}-panel-button-counter {
    display: block;
    position: absolute;
    top: 0;
    left: 54%;
    width: 20px;
    height: 20px;
    color: #fff;
    font-weight: bold;
    font-size: 11px;
    line-height: 20px;
    font-style: normal;
    text-align: center;
    background-color: #0065ff;
    @include box-sizing(border-box);
    @include border-radius(50%);
  }
  .#{$class}-panel-button-icon-wrap {
    color: #333;
    text-align: center;
    height: 100%;
  }
  .#{$class}-panel-button-icon {
    font-size: 20px;
  }
  .#{$class}-product-quantity-wrapper {
    @include user-select(none);
  }
  
  @media all and (max-width: 768px) {
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: 75;

    .#{$class}-panel {
      display: block;
    }
    .#{$class}-panel-out {
      @include transform-translate(null, 100%);
    }
  }
  @media print {
    .#{$class}-panel {
      display: none;
    }
  }
}
