input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type='number'] {
  -moz-appearance: textfield;
}

* ::-webkit-input-placeholder {
  color: #c4c4c4 !important;
}

* ::-moz-placeholder {
  color: #c4c4c4 !important;
}

* {
  -moz-placeholder-color: #c4c4c4 !important;
}

* {
  -ms-input-placeholder-color: #c4c4c4 !important;
}

body {
  background: #ffffff;
  color: #333333;
  font-family: Montserrat;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
}

/* https://github.com/jschr/bootstrap-modal/issues/287 */
body.modal-open {
  padding-right: 0 !important;
}

*:focus, *:after, *:before, input:focus, input:after, input:before, select:focus, select:after, select:before, label:focus, label:after, label:before, button:focus, button:after, button:before, textarea:focus, textarea:after, textarea:before {
  outline: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.btn-style {
  color: #ffffff;
  font-size: 16px;
  line-height: 28px;
  font-weight: bold;
  background: linear-gradient(90.14deg, #312e81 0.03%, #004fc6 99.98%);
  border-radius: 40px;
  padding: 12px 9px;
  display: inline-block;
}

.btn-style:hover {
  background: #312e81;
  text-decoration: none;
  color: #ffffff;
}

.container {
  max-width: 1440px;
}

.scrolltop {
  display: none;
  -webkit-transition: -webkit-box-shadow 0.1s linear;
  transition: -webkit-box-shadow 0.1s linear;
  transition: box-shadow 0.1s linear;
  transition: box-shadow 0.1s linear, -webkit-box-shadow 0.1s linear;
  position: relative;
  width: 60px;
  height: 60px;
  background: #004FC6;
  position: fixed;
  bottom: 40px;
  right: 40px;
  border-radius: 50px;
  -webkit-box-shadow: 0 0 0 10px rgba(0, 79, 198, 0.6);
  box-shadow: 0 0 0 10px rgba(0, 79, 198, 0.6);
  cursor: pointer;
}

.scrolltop:hover {
  background:  #3970c3;
  -webkit-box-shadow: 0 0 0 15px rgba(0, 79, 198, 0.4);
  box-shadow: 0 0 0 15px rgba(0, 79, 198, 0.4);
}

.scrolltop::after {
  content: url("../img/arr-top.png");
  position: absolute;
  top: 15px;
  left: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 48px;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  border-radius: 10px;
  background-color: #fabd42!important;
  color: #ffffff;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color ease 0.15s, background-color ease 0.15s, color ease 0.15s;
  outline: none!important;
}
@media (hover: hover) {
  .btn:hover {
    border-color: #f8c662!important;
    background-color: #f8c662!important;
    color: #ffffff!important;
  }
}
.btn:active {
  border-color: #F4AA15!important;
  background-color: #F4AA15!important;
  color: #ffffff!important;
}
.btn:disabled, .btn [disabled=disabled] {
  background-color: #C8CADC;
  color: #ffffff;
  border-color: #C8CADC;
  cursor: auto;
}
.btn--size-56 {
  height: 56px;
}
.btn--size-52 {
  height: 52px;
}
.btn--size-48 {
  height: 48px;
}
.btn--size-36 {
  height: 36px;
  padding: 0 16px;
}
.btn--line {
  color: #65B454;
  border: 1px solid #65B454;
  background-color: #ffffff;
}
.btn--line:disabled, .btn--line [disabled=disabled] {
  color: #C8CADC;
  border-color: #C8CADC;
  background-color: #ffffff;
  cursor: auto;
}
.btn--text, .btn--text-green {
  border-color: transparent;
  background-color: transparent;
}
@media (hover: hover) {
  .btn--text:hover, .btn--text-green:hover {
    border-color: transparent;
    background-color: transparent;
    color: #85c477;
  }
}
.btn--text:active, .btn--text-green:active {
  border-color: transparent;
  background-color: transparent;
  color: #509441;
}
.btn--text:disabled, .btn--text [disabled=disabled], .btn--text-green:disabled, .btn--text-green [disabled=disabled] {
  color: #C8CADC;
  border-color: transparent;
  background-color: transparent;
}
.btn--text-green {
  color: #65B454;
}
.btn--block {
  display: flex;
  width: 100%;
}
.btn.hidden {
  display: none;
}
.checkbox--width {
  margin-right: 10px;
  width: 24px;
  height: 24px;
}
.checkbox__input {
  display: none;
}
.checkbox__input.error + .checkbox__label:before {
  border-color: red;
}
.checkbox__input:checked + .checkbox__label:after {
  opacity: 1;
}
.checkbox__input:checked + .checkbox__label:before {
  background-color: #65B454;
  border-color: #65B454;
}
@media (hover: hover) {
  .checkbox__input:checked + .checkbox__label:hover:before {
    background-color: #85c477;
    border-color: #85c477;
  }
}
.checkbox__input:checked + .checkbox__label:active:before {
  background-color: #509441;
  border-color: #509441;
}
.checkbox__label {
  position: relative;
  display: flex;
  cursor: pointer;
}
.checkbox__label:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border: 2px solid #E5E7F5;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  transition: border-color ease 0.15s, background-color ease 0.15s;
}
.checkbox__label:after {
  content: "";
  position: absolute;
  top: 4px;
  left: 8px;
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  width: 7px;
  height: 12px;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity ease 0.15s;
}
@media (hover: hover) {
  .checkbox__label:hover:before {
    border-color: #262633;
  }
}
.checkbox__label--cart-box {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 34px;
  height: 34px;
  background-color: #ffffff;
  border-radius: 10px 5px 5px 5px;
  z-index: 5;
}
.checkbox__label--cart-box:before, .checkbox__label--cart-box:after {
  position: absolute;
  top: 50%;
  left: 50%;
}
.checkbox__label--cart-box:before {
  transform: translate(-50%, -50%);
}
.checkbox__label--cart-box:after {
  transform: translate(-50%, -60%) rotate(45deg);
}
@media (max-width: 768px) {
  .checkbox__label--cart-box {
    position: absolute;
    top: -15px;
    left: -10px;
  }
}
.checkbox__text {
  padding-left: 34px;
  font-size: 14px;
  line-height: 20px;
  color: #262633;
}
.checkbox__text a {
  -webkit-text-decoration-line: underline !important;
  text-decoration-line: underline !important;
  color: #65B454;
}
.checkbox__text--text-bigger {
  font-size: 16px;
  line-height: 24px;
}
.checkbox__text--text-green a {
  color: #65B454;
}
.header-code {
  margin-top: 16px;
}
.header-code__wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  margin-bottom: 8px;
}
@media (max-width: 579px) {
  .header-code__wrapper {
    max-width: 355px;
  }
}
.header-code__wrapper.novalid .header-code__input {
  border-color: #BA2130;
}
.header-code__input {
  border: 1px solid #DCDEF2;
  padding: 0 !important;
  width: 51px !important;
  height: 48px;
  text-align: center;
  box-shadow: none !important;
  border-radius: 10px;
}
@media (max-width: 579px) {
  .header-code__input {
    width: 45px !important;
    height: 44px;
  }
}
.header-code__text {
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #8E91AF;
}
.header-code__error {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #BA2130;
}
