/* Inter */
@font-face {
  font-family: 'Inter';
  src: local('Inter'),
    url('../fonts/Inter-LightBETA.ttf') format('truetype');
  font-weight: 300;
  font-style: light;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: local('Inter'),
    url('../fonts/Inter-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: local('Inter'),
    url('../fonts/Inter-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: medium;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: local('Inter'),
    url('../fonts/Inter-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: semibold;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: local('Inter'),
    url('../fonts/Inter-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: bold;
  font-display: swap;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
  color: var(--color-blue-gray);
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
 color: var(--color-blue-gray);
 opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
 color: var(--color-blue-gray);
 opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
 color: var(--color-blue-gray);
}
::-ms-input-placeholder { /* Microsoft Edge */
 color: var(--color-blue-gray);
}
::placeholder { /* Most modern browsers support this now. */
 color: var(--color-blue-gray);
}

::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-button {
  background-repeat: no-repeat;
  width: 4px;
  height: 0;
}
::-webkit-scrollbar-track {
  -webkit-box-shadow: none;
  border-radius: 4px;
  background-color: var(--color-white);
}
::-webkit-scrollbar-track-piece {
  background-color: var(--color-white);
}
::-webkit-scrollbar-thumb {
  border-radius: 4px;
  -webkit-box-shadow: none;
  background-color: var(--color-blue-gray);
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-blue-gray);
}
.popup-cart-wrap::-webkit-scrollbar-track {
  background-color: var(--color-blue-gray);
}
.popup-cart-wrap::-webkit-scrollbar-track-piece {
  background-color: var(--color-blue-gray);
}
.popup-cart-wrap::-webkit-scrollbar-thumb {
  background-color: var(--color-white);
}
.popup-cart-wrap::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-white);
}

body {
  line-height: 1.4;
  font-weight: normal;
  font-size: var(--fz-responsive);
  font-family: 'Inter', Arial, Helvetica, sans-serif;
}
body.dfx {
  row-gap: 0;
}

body, main {
  --flex-gap: 64px;
  --flex-column-gap: 32px;
}
@media screen and (max-width: 1410px) {
  body, main {
    --flex-gap: 40px;
    --flex-column-gap: 24px;
  }
}

main, footer {
  margin-top: var(--flex-column-gap);
}

.hide {
  display: none;
}

.container {
  width: var(--maxwidth);
  margin: 0 auto;
  max-width: calc(100% - var(--maxoffset));
}
@media screen and (max-width: 1410px) {
  .container {
    --maxwidth: 1000px;
    /* width: 1000px; */
  }
}
@media screen and (max-width: 640px) {
  .container {
    --maxwidth: 400px;
    /* width: 400px; */
  }
}

.page {
  margin-bottom: auto;
}

main {
  position: relative;
  z-index: 1;
}
main a {
  color: var(--color-blue);
}
main a:hover {
  color: var(--color-blue-hover);
  border-color: var(--color-blue-hover);
}
/* main .link {
  color: var(--color-blue-wrap);
}
main a.link {
  color: var(--color-primary);
} */
main .link--dashed {
  border-bottom: 1px dashed var(--color-primary);
}

p {
  margin-top: 24px;
  margin-bottom: 24px;
  width: 100%;
}
@media screen and (max-width: 1410px) {
  p {
    margin-top: 14px;
    margin-bottom: 14px;
  }
}

ul, ol {
  margin-top: 30px;
  margin-bottom: 30px;
}
ul li + li, ol li + li {
  margin-top: 16px;
}
@media screen and (max-width: 1410px) {
  ul li + li, ol li + li {
  margin-top: 8px;
  }
}
@media screen and (max-width: 744px) {
  ol {
    margin-left: 0;
  }
  ul, ol {
    margin-top: 16px;
    margin-bottom: 16px;
  }
  ol > li::before {
    position: relative;
    right: auto;
    font-weight: 400;
  }
}

.sticky {
  position: sticky;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
}

i.icon {
  /* display: block; */
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 140px;
  max-height: 140px;
}
/* i.icon path {
  fill: var(--fill);
} */

/* ALERT */
.alert {
  background: var(--gradient-blue-red);
  border-radius: var(--bd-radius-max);
  padding: 44px 62px 48px;
}
.alert__text {
  font-size: 32px;
  color: var(--color-white-plus);
}

@media screen and (max-width: 1410px) {
  .alert {
    padding: 32px;
  }
  .alert__text {
    font-size: 22px;
    text-align: center;
    line-height: 1.2;
  }
}
@media screen and (max-width: 744px) {
  .alert {
    padding: 20px;
  }
  .alert__text {
    font-size: 18px;
    text-align: left;
  }
}

/* DISPLAY FLEX */
.dfx {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: var(--flex-gap);
}
.dfx--wrap {
  flex-wrap: wrap;
}
.dfx--between {
  justify-content: space-between;
}
.dfx--center {
  justify-content: center;
}
.dfx--right {
  justify-content: flex-end;
}
.dfx--base {
  align-items: baseline;
}
.dfx--column {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--flex-column-gap);
}
.dfx--top {
  align-items: flex-start;
}
.dfx--end {
  align-items: flex-end;
}
.dfx--middle {
  align-items: center;
}
.dfx--stretch {
  align-items: stretch;
}
@media screen and (max-width: 1200px) {
  .dfx--lg-center {
    justify-content: center;
  }
}
@media screen and (max-width: 1024px) {
  .dfx--md-center {
    justify-content: center;
  }
  .dfx--md-column {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--flex-column-gap);
  }
  .dfx--md-end {
    align-items: flex-end;
  }
}
@media screen and (max-width: 768px) {
  .dfx--sm {
    flex-direction: column;
    align-items: flex-start;
  }
  .dfx--sm-column {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--flex-column-gap);
  }
  .dfx--sm-rows {
    flex-direction: row;
  }
}
@media screen and (max-width: 520px) {
  .dfx--xs {
    flex-direction: column;
    align-items: flex-start;
  }
  .dfx--xs-column {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--flex-column-gap);
  }
  .dfx--xs-start {
    justify-content: flex-start;
  }
}

.pull-right {
  margin-left: auto;
}