/*
Override variable defaults
==================================================
This file is used to override default SCSS variables from the Shopware Storefront or Bootstrap.

Because of the !default flags, theme variable overrides have to be declared beforehand.
https://getbootstrap.com/docs/4.0/getting-started/theming/#variable-defaults
*/

html {
  //scroll-behavior: smooth;
}

body {
  background: #fff;
  overflow-x: hidden;
}

h1 {
  font-size: 60px;
  line-height: 54px !important;
}

h2 {
  font-size: 44px;
  line-height: 44px !important;
}

h3 {
  font-size: 22px;
  line-height: 24px;
  font-weight: 500 !important;
  font-family: $sw-font-family-base !important;
}

h4,
h5,
h6 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500 !important;
  font-family: $sw-font-family-base !important;
}

.breadcrumb-container {
  display: none;
}

.cms-block {
  .category {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1.6px;
    line-height: 18px;
    text-transform: uppercase;
  ;
  }
}

.sv-vbadge-vb3fx {
  z-index: 999 !important;
}

.product-image.is-standard {
  object-fit: cover !important;
  font-family: "object-fit: cover;" !important;
}

.btn-outline-primary {
  border: 2px solid #33548C !important;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 32px !important;
}

input.custom-number[type=number] {
  border-bottom: 2px solid $sw-color-brand-primary;
}

.product-wishlist .icon-wishlist svg {
  color: $sw-color-brand-primary;
}

@media (min-width: 992px) {
  .is-act-confirmpage {
    .checkout {
      .checkout-main {
        margin-left: 0 !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
      }
      .checkout-additional {
        margin-left: 0 !important;
        flex: 0 0 66.6666666667% !important;
        max-width: 66.6666666667% !important;
      }
    }
  }
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 800px !important;
  }
}


/* Wunschliefertermin Datepicker */
.confirm-delivery-date {
  .spwn-date-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
    align-items: center;
  }
  #spwn-dp-input,
  #dtgs-datepicker-inputfield {
    width: 308px;
    padding-left: 10px;
  }
  #dtgs-datepicker-inputfield {
    display: none;
  }
  .flatpickr-time {
    display: none;
  }
  #spwn-remove-date {
    margin-left: 10px;
    cursor: pointer;
    position: relative;
    width: 16px;
    height: 16px;
    display: block;
    &:before,
    &:after {
      content: "";
      position: absolute;
      left: 0;
      top: 8px;
      width: 16px;
      height: 2px;
      background: #33548c;
    }
    &:before {
      transform: rotate(-45deg);
    }
    &:after {
      transform: rotate(45deg);
    }
  }
  .flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay {
    border-color: #33548c;
    background: #33548c;
  }
}

#spwn-delivery {
  padding: 0 0 40px 0;
  .spwn-delivery--time {
    display: flex;
    justify-content: flex-start;
    span {
      cursor: pointer;
      display: inline-block;
      margin: 0 20px 0 0;
      color: #33548c;
      font-size: 16px;
      line-height: 18px;
      border: 2px solid #33548c;
      text-align: center;
      vertical-align: middle;
      border-radius: 3px;
      text-transform: uppercase;
      letter-spacing: 1px;
      padding: 14px 30px;
      font-weight: 600;
      white-space: nowrap;
      transition: all .15s ease-in-out;
      &:hover,
      &.active {
        background: #33548c;
        color: #fff;
      }
    }
  }
}

.confirm-delivery-date.do-not-show,
#spwn-delivery.do-not-show {
  display: none !important;
}

.swag-custom-notification-banner {
  padding: 3px 6px !important;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin: 0 -50vw 0px -50vw;
  .swag-custom-notification-banner-text {
    font-size: 18px;
  }
}

.modal.spwn-swag-custom-notification-info {
  .modal-header {
    .close {
      opacity: 1;
    }
    .icon {
      color: #fff;
    }
  }
  @media (min-width: 576px) {
    .modal-dialog {
      max-width: 600px !important;
    }
  }
  .modal-content {
    background: transparent;
    box-shadow: none;
  }
}

.swag-custom-notification-info-modal__content {
  padding-bottom: 40px;
  .row {
    align-items: center;
    .col-md-6 {
      flex: 0 0 100%;
      max-width: 100%;
      text-align: center;
    }
    h3 {
      font-family: $sw-font-family-headline !important;
      font-size: 44px;
      font-weight: 700 !important;
      margin-bottom: 30px;
      display: none;
    }
    p {
      display: none;
    }
    img {
      width: 100%;
      max-width: 450px;
    }
  }
}