// For prototype only, delete for production
@import 'helpers/helpers';

.header-minicart__counter {
  display: none;

  &._is-visible {
    display: block;
  }
}

[data-logged-in='true'] {
  display: none;
}

[data-logged-in='false'] {
  visibility: hidden;
}

// sass-lint:disable no-important
[data-is-logged-in='true'] {
  [data-logged-in='true'] {
    display: block;
  }

  [data-logged-in='false'] {
    display: none !important;
  }
}

[data-is-logged-in='false'] {
  [data-logged-in='true'] {
    display: none !important;
  }

  [data-logged-in='false'] {
    visibility: visible;
  }
}

.klarna-logo-img {
  height: 30px;
  width: 48px;
}

.checkout-order {
  .order-block {
    &__time-head {
      .iconHead {
        max-width: 1.3rem;
      }
    }

    &__address {
      .fa-map-marker-alt {
        max-width: .75rem;
      }
    }
  }
}

.page_checkout-confirmation-new {
  .confirmation-result {
    &__action {
      .btn .fa-map-marked-alt {
        max-width: 1.125rem;
      }
    }
  }

  .right-aside {
    .checkout-widget {
      .heading-3 .fa-info-circle {
        max-width: 1.88rem;
      }
    }
  }
}

.offer-banner__link-arrow {
  max-width: .625rem;
}

@include media-breakpoint-down(sm) {
  .cards-store-list:not(:nth-child(-n+4)) {
    display: none;
  }
}

.pdp-price__quantity-calculator {
  min-height: 38px;
  background: $white;
  border: 1px solid $gray;
  border-radius: 3px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.checkout-payment-details {
  .google__button {
    button {
      background-origin: content-box;
      background-position: center center;
      background-repeat: no-repeat;
      background-size: contain;
      border: 0;
      border-radius: 4px;
      cursor: pointer;
      height: 40px;
      min-height: 40px;
      box-shadow: none;
      padding: 9px 24px;
      background-image: url('https://www.gstatic.com/instantbuy/svg/dark/pay/en.svg');
      min-width: 150px;
    }
  }
}
