@mixin breakpoint($point) {
  @if $point == mobile-only {
    @media (max-width: 767px) {
      @content;
    }
  } @else if $point == mobile-up {
    @media (min-width: 768px) {
      @content;
    }
  } @else if $point == big-mobile-phones {
    @media (min-height: 800px) {
      @content;
    }
  } @else if $point == before-tablet {
    @media (max-width: 960px) {
      @content;
    }
  } @else if $point == tablet {
    @media (max-width: 1222px) {
      @content;
    }
  } @else if $point == before-desktop {
    @media (max-width: 1223px) {
      @content;
    }
  } @else if $point == small-laptop-height {
    @media (max-height: 750px) {
      @content;
    }
  } @else if $point == before-laptop {
    @media (max-width: 1350px) {
      @content;
    }
  } @else if $point == before-large-screens {
    @media (max-width: 1599px) {
      @content;
    }
  }
}

$black: #000000;
$white: #ffffff;

// General styles

body {
  &.fixed {
    /*height: 100vh !important;
    overflow: hidden !important;*/
  }
}

// Header styles

#shopify-section-new-header {
  height: 105px;
  background-color:#000;

  @include breakpoint(before-desktop){
    height: 98px;
  }
}

// Search bar styles

body {
  div.snize-ac-results {
    box-shadow: none;
    background: none;
    border-radius: 0;
    overflow-y: auto;

    @include breakpoint(mobile-only){
      top: 179px !important;
      right: 25px;
      width: auto !important;
      z-index: 999;
    }

    div.snize-dropdown-arrow {
      display: none;
    }

    ul {
      padding-bottom: 30px;
      max-height: calc(100vh - 250px) !important;

      @include breakpoint(mobile-only){
        padding-top: 12px;
        height: calc(100vh - 179px);
        max-height: calc(100vh - 179px) !important;
        overflow-y: auto;
      }

      li.snize-no-products-found {
        border: none;
        margin: 20px 0 0;
        padding: 0;

        @include breakpoint(mobile-only){
          margin: 0 0 20px;
        }

        .snize-no-products-found-text {
          border-radius: 0;
        }
      }

      li.snize-label {
        font-size: 12px;
        font-weight: bold;
        letter-spacing: 1.5px;
        color: #000;
        padding: 13px 0 0 0;
        border: none;
        background: none;
        border-top: solid 1px #a3a3a3;
        margin-top: 15px;

        @include breakpoint(mobile-only){
          text-align: left;
          text-transform: capitalize;
          letter-spacing: 0.7px;
          color: #636363;
          font-weight: normal;
          margin-bottom: 20px;
          padding-top: 25px;
          margin-top: 0;
          line-height: 1.5;
        }

        &:first-child {
          padding: 0;
          margin-top: 0;

          @include breakpoint(mobile-only){
            padding-top: 10px;
          }
        }
      }

      li.snize-suggestion,
      li.snize-category,
      li.snize-page {
        font-size: 12px;
        font-weight: normal;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: #000;
        padding: 0 0 10px 0;
        background: none;

        @include breakpoint(mobile-only){
          font-size: 16px;
          font-weight: normal;
          letter-spacing: 0.9px;
          padding-bottom: 25px;
          text-transform: capitalize;
          border: none;
          margin: 0;
        }

        @include breakpoint(mobile-up){
          &:hover {
            font-weight: bold;

            a.snize-view-link {
              font-weight: bold;
            }
          }
        }

        a.snize-view-link {
          font-weight: normal;
          background: none;

          @include breakpoint(mobile-only){
            text-transform: capitalize;
          }
        }

        .snize-page-img {
          display: none;
        }
      }

      li.snize-separator {
        display: none;
      }

      li.snize-product {
        display: inline-block;
        width: calc(20% - 16px);
        padding: 20px;
        background: #fff;
        margin: 13px 8px 0;

        @include breakpoint(before-laptop){
          width: calc(25% - 16px);
        }

        @include breakpoint(mobile-only){
          padding: 0;
          margin: 0 0 15px;
          width: 100%;
          border: none;
        }

        a.snize-item {
          padding: 0;

          @include breakpoint(mobile-only){
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;

            &:before,
            &:after {
              display: none;
            }
          }

          span.snize-thumbnail {
            float: none;
            width: 100%;
            margin: 0;

            @include breakpoint(mobile-only){
              width: 75px;
            }

            img {
              max-width: 100% !important;
              max-height: none !important;
              margin-bottom: 10px;
            }
          }

          @include breakpoint(mobile-up){
            &:hover {
              span.snize-overhidden {
                span.snize-title {
                  font-weight: bold;
                }
              }
            }
          }

          span.snize-overhidden {
            text-align: center;

            @include breakpoint(mobile-only){
              width: calc(100% - 90px);
              text-align: left;
            }

            span.snize-title {
              font-size: 12px;
              font-weight: normal;
              letter-spacing: 1px;

              @include breakpoint(mobile-only){
                line-height: normal;
              }
            }

            span.snize-description {
              display: none;

              @include breakpoint(mobile-only){
                display: block;
                font-size: 12px;
                font-weight: normal;
                line-height: normal;
                letter-spacing: normal;
                color: #000;
              }
            }

            .snize-price-list {
              display: none;

              @include breakpoint(mobile-only){
                display: block;

                .snize-price {
                  font-size: 12px;
                  font-weight: bold;
                  line-height: normal;
                  letter-spacing: normal;
                  color: #000;
                }
              }
            }
          }
        }
      }
    }
  }
}

// Announcement bar styles

.announcement-bar {
  position: relative;
  z-index: 999;
  display: flex;
  width: 100%;
  height: 40px;
  overflow: hidden;

  .announcement-bar__content, .announcement-bar__slider {
    background-color: #000;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    

    @include breakpoint(before-desktop){
      padding-left: 30px;
    }
    @include breakpoint(before-tablet){
      width: 100%;
      justify-content: center;
    }
    @include breakpoint(mobile-only){
      justify-content: center;
    }

    a {
      text-decoration: underline;
    }

    .announcement-bar__main-text {
      font-size: 12px;
      font-weight: normal;
      letter-spacing: normal;
      position: relative;
      display: flex;
      align-items: center;

      @include breakpoint(mobile-only){
        display: none;
        font-weight: bold;
        text-align: center;
        margin: 0;
      }
    }

    .announcement-bar__main-text-link {
      width: 100%;
      height: 100%;
    }

    .announcement-bar__main-text--mobile {
      display: none;

      img {
        width: 65px;
        margin: 1px 0 0 5px;
      }

      @include breakpoint(mobile-only){
        display: flex;
        align-items: center;

      }
    }

    .announcement-bar__additional-text {
      display: flex;
      align-items: center;
      font-size: 12px;
      font-weight: normal;
      letter-spacing: normal;

      @include breakpoint(tablet){
        display: none;
      }

      img {
        width: 65px;
        margin: 2px 0 0 5px;
      }
      a {
        display: flex;
        align-items: center;
      }
    }
  }
  .announcement-bar__content {
    width: 100% !important;
    &:nth-child(n+2) {
      display: none !important;
    }
  }
  .slick-slide .announcement-bar__content, .announcement-bar__slider {
    display: flex !important;
    @include breakpoint(mobile-up) {
      width: calc(100% - 320px);
    }
  }

  .announcement-bar__slider {
    padding: 0 !important;

    div {
      height: 100%;
    }
  }

  .announcement-bar__links {
    display: flex;
    flex-wrap: wrap;
    width: 320px;
    background: $black;
    border-bottom: solid 1px #656565;
    margin: 0;

    @include breakpoint(mobile-only){
      display: none;
    }

    li {
      display: flex;
      width: 50%;
      height: 39px;
      border-left: solid 1px #656565;

      a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        font-size: 10px;
        font-weight: normal;
        line-height: normal;
        letter-spacing: 1.5px;
        color: $white;
        text-transform: uppercase;

        img {
          width: 10px;
          margin-right: 10px;
        }
      }
    }
  }
  .announcement-bar__country-selector {
    .flag {
      margin-right: 15px;
      margin-top: -8px;
    }
  }
}

// Region search

.region-search {
  display: none;
  position: absolute;
  top: 105px;
  left: 0;
  right: 0;
  height: 100vh;

  @include breakpoint(before-desktop) {
    top: 105px;
  }
  @include breakpoint(mobile-up) {
    top: 98px;
    &:after {
      content: '';
      position: absolute;
      width: calc(100% - 447px);
      height: 100%;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      background: #000;
      opacity: .72;
    }
  }

  .wrapper {
    max-width: 447px;
    width: 100%;
    margin-left: auto;
    padding: 30px 45px 0;
    background: rgba(255, 255, 255, 0.95);
    height: calc(100vh - 156px);
    overflow: scroll;
    display: flex;
    flex-direction: column;

    @include breakpoint(before-desktop) {
      height: calc(100vh - 107px);
    }

    @include breakpoint(mobile-only) {
      max-width: 100%;
      padding: 27px 24px 0;
      height: calc(100vh - 167px);
    }
  }
  .new-header__mobile-additional-links {
    height: 60px;
  }
}

.new-header.sticky {
  .region-search  {
    top: 95px;

    @include breakpoint(mobile-only) {
      top: 66.8px;
    }

    .wrapper {
      height: calc(100vh - 95px);

      @include breakpoint(mobile-only) {
        height: calc(100vh - 66.8px);
      }
    }
  }
}

.region-search__header {
  position: relative;

  .search-icon {
    position: absolute;
    top: 20px;
    right: 24px;
    height: 20px;
    display: flex;

    svg {
      width: 18px;
      height: 19px;
    }

    .Symbols {
      stroke: #000;
    }
  }
}

input.region-search__search {
  height: 60px;
  border: solid 1px #000000;
  font-size: 15px;
  font-weight: normal;
  letter-spacing: 1.8px;
  color: #000;
  padding: 15px 10px;
  background: none;

  &::-webkit-input-placeholder {
    font-size: 15px;
    color: #000;
  }

  &::-moz-placeholder {
    font-size: 15px;
    color: #000;
  }

  &:-ms-input-placeholder {
    font-size: 15px;
    color: #000;
  }

  &:-moz-placeholder {
    font-size: 15px;
    color: #000;
  }

  @include breakpoint(mobile-only) {
    margin-bottom: 13px;
  }
}

.region-search__clarifying-message {
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.63;
  letter-spacing: 1px;
  text-align: center;
  color: #000;
}

.region-search__countries {
  list-style-type: none;
}

.region-search__country {
  padding-left: 0;
}

.region-search__results {
  height: 100%;
  overflow: auto;
  margin-right: -15px;
  padding-right: 15px;
  margin-top: 20px;
}

.country__name {
  transition: font-weight .3s;
}

.country {
  margin-bottom: 15px;

  &:hover {
    .country__name {
      font-weight: 900;
    }
  }
}

.flag {
  width: 18px;
  height: 12px;
  background-size: cover;
  background-position: center;
  margin-right: 19px;
  margin-top: -15px;
}

.country__currency {
  margin-left: auto;
}

.country__not-found {
  text-align: center;
  margin-top: 20px;
}

.country__link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  font-family: DINOT, sans-serif;
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 2.57;
  letter-spacing: 0.9px;
  color: #000;
}
.visually-hidden {
  visibility: hidden;
}
.skip-link {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  background: white;
  margin: 0;
  padding: 10px;
  z-index: 0;

  @media screen and (max-width: 768px) {
    display: none;
  }
}
.skip-link:focus {
  opacity: 1;
  z-index: 1000;
}

.ada-hidden {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}

.announcement-bar__country-selector, .new-header__mobile-country-selector, .new-footer-bottom-bar__country-selector {
  visibility: hidden;
}
.new-header__mobile-country-selector img {
  margin-left: 2px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#maincontent {
  margin-top: -60px;
  padding-top: 60px;
}

a#product-photo-link {
  display: inline-block;
}

a#product-photo-link:focus {
  border: 1px dotted;
}

.prodThumb:focus-within {
  border: 1px dotted grey;
}


/**
  Floating label
*/
/**
  Floating label
*/
.floating-label {
  position: relative;
}

.floating-label label {
  position: absolute;
  left: 20px;
  top: 20px;
  font-size: 15px;
  letter-spacing: 1.8px;
  pointer-events: none;
  transition: all .2s ease-in-out;
}

.floating-label.is-floating label {
  top: 5px;
  font-size: 12px;
  font-weight: bold;
  opacity: 1;
}

.floating-label.has-focus label {
  color: royalblue;
  opacity: 1 !important;
}

.morphe-2-header{
  font-size: 40px; 
  font-family: butlerlight; 
  letter-spacing:.5px;
  font-weight: normal !important;
}
.swatch-wrapper fieldset {
  border: none;
}

.content-desktop {display: block;}
.content-mobile {display: none;}

@media screen and (max-width: 768px) {
  .content-desktop {display: none;}
  .content-mobile {display: block;}
}

.region__close {
  text-align: right;
  float: right;
  cursor: pointer;
  font-size: xx-large;
  font-weight: 100;
  font-family: "Times New Roman";
}

.hidden-content { display: none; }

.isin {
  outline: 1px dotted grey;
}
@media screen and (max-width: 768px) {
  .announcement-bar { height: auto; }
  .announcement-bar__main-text--mobile p { line-height: 1.8; }
}
