* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
*::after {
  box-sizing: border-box;
}
*::after {
  box-sizing: border-box;
}

.cookiebotTitle {
  font-size: 17px !important;
  margin-bottom: 8px !important;
  font-weight: bold !important;
}

html {
  text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: $ff-open-sans;

  line-height: 1.5;
  font-size: ms(0);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: $ff-didonesque;
}

a,
button {
  font-family: $ff-open-sans;
}

.noscroll {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

textarea {
  resize: vertical;
}
.ff-open {
  font-family: $ff-open-sans;
}
.ff-dido {
  font-family: $ff-didonesque;
}
.ff-poppi {
  font-family: $ff-poppins;
}

.lock-scroll {
  overflow: hidden;
}

.title-rendered {
  position: relative;
  max-width: 800px;
  padding-top: 80px;
  padding-bottom: 40px;
  margin: 0 auto;

  @media (max-width: 600px) {
    padding-top: 40px;
    padding-bottom: 20px;
  }
}

.rendered {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 80px;

  h1,
  h2,
  h3,
  h4 {
    text-align: left !important;
    line-height: 1 !important;
  }
  .Apple-tab-span {
    display: none;
  }

  br {
    display: none;
  }

  p {
    margin-top: 10px !important;
  }

  p,
  span {
    font-family: 'Open sans' !important;
  }

  @media (max-width: 500px) {
    padding-bottom: 40px;
  }

  .has-text-align-center {
    text-align: center;
  }
  iframe {
    width: 100%;
  }
  h1 {
    font-size: 58px;
    text-align: center;
    margin-bottom: 40px;
  }
  h2 {
    margin-top: 30px !important;
    margin-bottom: 15px !important;
    padding: 0 0 !important;
    line-height: 38px;
    font-size: 32px;
    font-weight: $fw-bold;
    &:first-child {
      margin-top: 0;
    }
  }
  h3 {
    margin-top: 20px !important;
    line-height: 31px;
    font-size: 26px;
    font-weight: $fw-bold;
    &:first-child {
      margin-top: 0;
    }
  }
  h4 {
    margin-top: 40px;
    line-height: 24px;
    font-size: 20px;
    font-weight: $fw-bold;
    &:first-child {
      margin-top: 0;
    }
  }
  .has-small-font-size {
    font-size: 16px;
    line-height: 1.5;
  }
  .has-extra-small-font-size {
    font-size: 14px;
    line-height: 1.5;
  }

  a {
    font-family: $ff-open-sans;
    text-decoration: underline;
  }
  ul,
  ol {
    margin-left: 20px;
    margin-top: 20px;
    font-size: 18px;
    font-weight: 300;
  }
  p {
    margin: 0px 0px;
    font-size: 17px !important;
    line-height: 32px !important;
    font-weight: 400 !important;
    text-align: left !important;
    span {
      margin: 0px 0px;
      font-size: 17px !important;
      line-height: 32px !important;
      font-weight: 400 !important;
      text-align: left !important;
    }
    @media (max-width: 600px) {
      font-size: 16px !important;
      line-height: 28px !important;
    }
  }
  .strongify {
    &::marker {
      font-weight: bold;
    }
  }
  .wp-block-table {
    margin: 20px 0px 40px 0px;
    overflow-x: scroll;
    td {
      border: 1px solid #fff;
      padding: 15px 20px;
    }
  }
}

.add-to-cart-flex {
  position: relative;
  display: flex;

  button {
    height: 50px;
  }
  @media (max-width: 500px) {
    flex-direction: column;
    button {
      margin-left: 0px;
      margin-top: 20px;
    }
  }
}

.add-to-cart-message {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 16px;
  transition: all 0.25s ease-in-out;
  opacity: 0;
  transform: translateY(-10px);

  @media (max-width: 500px) {
    position: absolute;
    margin-left: 0px;
    bottom: -56px;
  }

  &.show {
    opacity: 1;
    transform: translateY(0px);
  }

  p {
    color: #fff;
    background: #8080808c;
    border-radius: 0px;
    padding: 6px 10px;
  }
}

.password-item {
  .show {
    position: absolute;
    right: 15px;
    top: 15px;

    span {
      position: absolute;
      right: 0;
      top: 0;
    }
  }
}

.star-ratings {
  unicode-bidi: bidi-override;
  color: #ccc;
  font-size: 1.5rem;
  position: relative;
  margin: 0;
  padding: 0;
  margin-bottom: 2px;
  .fill-ratings {
    color: #e7711b;
    padding: 0;
    position: absolute;
    z-index: 1;
    display: block;
    top: 0;
    left: 0;
    overflow: hidden;

    span {
      display: inline-block;
    }
  }
  .empty-ratings {
    padding: 0;
    display: block;
    z-index: 0;
  }
}

.payment-flex {
  display: flex;
  align-items: center;
}
.payment-svg {
  width: 50px;

  @media (max-width: 360px) {
    width: 40px;
  }
}

.switch-layout {
  display: flex;
  align-items: center;
  @media (max-width: 600px) {
    display: none;
  }
}

.calling-code {
  position: relative;
  display: flex;
  align-items: center;
  &__number {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: $tertiary-color;
    font-size: 1rem;
    padding: 0px 16px;
    height: calc(100% - 2px);
    margin-left: 1px;
  }

  input {
    padding-left: 78px;
  }
}
