/*
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;
    border-top: 5px solid $sw-color-brand-primary !important;
    overflow-x:hidden;
}

h1 {
  font-size: 3.125rem;
  line-height: 50px !important;
  font-style: italic;
}

h2 {
  font-size: 2.125rem;
  line-height: 40px !important;
  font-style: italic;
}

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

h4,
h5,
h6 {
  font-size: 1.125rem;
  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 #86B04B !important;
    border-radius: 3px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 5px 32px !important;
    &:hover {
      color: #fff !important;
    }
}

.aku-cms-factory-element,
.cms-element-text {
    .btn-outline-primary {
        background-color: $sw-color-brand-primary;
        color: #fff;
    }
}

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 {
  #dtgs-datepicker-inputfield {
    width: 308px;
    margin-bottom: 20px;
    padding-left: 10px;
  }
  #spwn-remove-date {

  }
  .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: #86b04b;
    background: #86b04b;
  }
}
#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: #86b04b;
      font-size: 16px;
      line-height: 18px;
      border: 2px solid #86b04b;
      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: #86b04b;
        color: #fff;
      }
    }
  }
}
