@import '../helpers/helpers';

.tp-app {
  .popover-mini-basket__cards-holder {
    max-height: 312px;
    overflow-y: auto;

    @media (orientation: landscape) {
      max-height: 148px;
    }
  }

  .s7container {
    &[aria-label='Flyout viewer'] {
      .s7flyoutzoomview {
        pointer-events: none;
      }
    }
  }

  &.fixed-content {
    height: 100vh;
    overflow-y: hidden;
    width: 100%;
  }

  // sass-lint:disable no-important
  [data-namespace='s7classic'].s7fullscreenbutton {
    display: none !important;
  }
}

@include media-breakpoint-down(sm) {
  .tp-app {
    .modal-dialog {
      height: auto;
      padding-bottom: 100px;
    }

    // sass-lint:disable no-ids
    #ic_bundle_popup {
      // sass-lint:disable no-ids
      #plp_modal {
        top: 0;

        .nav_wrap_bottom {
          bottom: 20%;
        }
      }
    }

    .my-shopping-list .download-pdf {
      display: none;
    }
  }
}

@media screen and (max-width: 370px) {
  .tp-app {
    .popover-mini-basket__cards-holder {
      max-height: 200px;
    }
  }
}
