
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

*{padding: 0;margin: 0;border: 0; }
*,*:before,*:after{
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
    font-family: arial;
    font-size: 15px;
    font-family: "Inter", sans-serif;
}
html,body{
	font-size: 100%;
	line-height: 1;
	font-size: 14px;
	-ms-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
    display: flex;
    flex-direction: column;
}
:focus,:active{outline: none;}
a:focus,a:active{outline: none;}
nav,footer,header,aside{display: block;}
input,button,textarea{font-family:inherit;}
input::-ms-clear{display: none;}
button{cursor: pointer;}
button::-moz-focus-inner {padding:0;border:0;}
a, a:visited{text-decoration: none;}
a:hover{text-decoration: none;}
ul li{list-style: none;}
img{vertical-align: top;}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight: 400;}

:root {
    --bg-color: #F0F0F0;
    --surface-bg-color: #FFFFFF;
    --light-gray-bg-color: #F0F0F0;

    --text-color: #000000;
    --light-text-color: #FFFFFF;
    --light-gray-text-color: #9F9F9F;
    --dark-gray-text-color: #6F6F6F;

    --accent-color: #007EE5;
    --light-accent-color: #ECF5FF;
    --error-color: #E50000;
}

body, html {
    background: var(--bg-color);
    color: var(--text-color);
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-variation-settings: "slnt" 0;
    max-width: 100vw;
    min-height: 100vh;
}

input {
    font-family: "Inter", sans-serif;
}

#body {
    transition: height 0.3s;
}

.page {
    transform: translateX(0);
}

.cart {
    transform: translateX(0);
}

.page-hidden {
    transform: translateX(-100%);
}

.cart-hidden {
    transform: translateX(100%);
}

.body-static {
    height: 100vh;
    overflow: hidden !important;
}

.space-fix-3 {
    height: 800px;
}

.coin {
    cursor: pointer;
}

.header {
    width: auto;
    height: 55px;
    margin: 16px;
    display: flex;
    grid-gap: 8px;
    justify-content: space-between;
    flex: 1 1 auto;
    -webkit-user-select: none; 
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.header__left {
    display: flex;
    align-items: center;
    grid-gap: 8px;
    max-width: 48%;
    overflow: hidden;
}

.header__left > .header__user-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
}

.header__user-icon > img {
    width: 50px;
    height: 50px;
}

.header__left > .header__user-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    grid-gap: 5px;
}

.header__user-info > .user-info__name {
    font-size: 18px;
    line-height: 120%;
    font-weight: 600;
    overflow: hidden;
    text-wrap: nowrap;
    text-overflow: ellipsis;
}

.header__user-info > .user-info__coins {
    display: flex;
    align-items: center;
    grid-gap: 4px;
}

.header__user-info > .user-info__coins > span {
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 500;
    line-height: 120%;
}

.header__user-info > .user-info__coins > img {
    width: 20px;
    height: 20px;
}

.header__right {
    position: relative;
    background: var(--surface-bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-gap: 5px;
    max-width: 48%;
    border-radius: 16px;
    cursor: pointer;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.header__right > .header__region-number {
    margin: 0 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__right > .header__region-number > .region-number {
    font-size: 18px;
    line-height: 120%;
    font-weight: 600;
}

.header__right > .header__region-number > img {
    width: 16px;
    height: 16px;
    margin-left: 10px;
}

.header__right > .header__region-name {
    margin: 0 14px;
    font-size: 14px;
    line-height: 120%;
    font-weight: 400;
    color: var(--dark-gray-text-color);
    text-wrap: nowrap;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
}

.vip {
    margin: 16px;
    border-radius: 16px;
    border: 1px solid var(--accent-color);
    background: var(--light-accent-color);
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.vip > .vip__head {
    margin: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vip > .vip__body {
    margin: 16px;
    color: var(--dark-gray-text-color);
    font-size: 16px;
    line-height: 130%;
}

.vip > .vip__head > .vip__title {
    font-size: 28px; 
    font-weight: 800;
    line-height: 120%;
}

.vip > .vip__head > .vip__btn {
    height: 34px;
    background: var(--accent-color);
    color: var(--light-text-color);
    border-radius: 8px;
    display: flex;
    grid-gap: 4px;
    padding: 0 12px;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    line-height: 120%;
    font-weight: 500;
}

.search {
    display: flex;
    flex-direction: column;
    grid-gap: 8px;
}

.search > .search__input {
    margin: 0 16px 0 16px;
    height: 48px;
    border-radius: 16px;
    background: var(--surface-bg-color);
    color: var(--light-gray-text-color);
    display: flex;
    align-items: center;
    padding: 12px;
    position: relative;
    grid-gap: 10px;
}

.search > .search__input > .search-input {
    width: 100%;
    font-size: 18px;
}

.search > .search__input > img {
    width: 20px;
    height: 20px;
}

.input-cross {
    height: 40px !important;
    width: 40px !important;
    padding: 10px;
}

::placeholder {
    color: var(--light-gray-text-color);
    opacity: 1;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.search > .search__dates {
    display: flex;
    grid-gap: 8px;
    overflow-y: scroll;  
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 0 0 0 16px;
    cursor: pointer;
    align-items: center;
    max-width: 100%;
    justify-content: start;
}

.search > .search__dates::-webkit-scrollbar {
    display: none;
}

.search > .search__dates > .dates__item {
    transition: all 0.15s;
    display: flex;
    border-radius: 16px;
    font-size: 16px;
    color: var(--accent-color);
    line-height: 100%;
    font-weight: 500;
    background: var(--surface-bg-color);
    padding: 8px 16px;
    display:flex;
    flex-wrap: nowrap;
    text-wrap: nowrap;
    white-space: nowrap; 
    flex: 1 1 auto;
    max-width: fit-content;
    -webkit-flex: 1 1 auto;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.date-selected {
    background: var(--accent-color) !important;
    color: var(--light-text-color) !important;
}

.space-fix {
    min-width: 8px;
    min-height: 5px;
}

.catalog {
    position: relative;
    margin: 16px 16px 0;
    display: grid;
    grid-template-columns: calc(50% - 4px) calc(50% - 4px);
    grid-gap: 8px;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.catalog-item {
    background: var(--surface-bg-color);
    border-radius: 16px;
}

.catalog-item__head {
    margin: 8px;
    position: relative;
}

.catalog-item__head > img {
    object-fit: cover;
    height: 96px;
    background: var(--light-text-color);
    width: 100%;
    border: none;
    border-radius: 8px;
}

.catalog-item__head > .catalog-item__exam {
    position: absolute;
    top: 4px;
    left: 4px;
}

.catalog-item__head > .catalog-item__dates {
    position: absolute;
    bottom: 5px;
    left: 4px;
    margin-right: 4px;
}

.catalog-item__exam, .catalog-item__dates {
    background: var(--surface-bg-color);
    padding: 4px;
    font-size: 14px;
    line-height: 120%;
    font-weight: 500;
    border-radius: 6px;
}

.catalog-item__body {
    margin: 8px 8px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    grid-gap: 8px;
}

.catalog-item__body > .catalog-item__name {
    font-size: 20px;
    line-height: 120%;
    font-weight: 600;
    overflow: hidden;
    overflow-wrap: unset;
    word-wrap: none;
    flex-wrap: nowrap;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    max-height: 30px;
    height: 30px;
}

.catalog-item__body-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.space-fix-bottom {
    min-height: 16px;
}

.catalog-item__body-bottom > .catalog-item__price {
    font-size: 17px;
    line-height: 120%;
    font-weight: 600;
}

.catalog-item__body-bottom > .catalog-item__sale-price {
    font-size: 17px;
    line-height: 120%;
    font-weight: 600;
    color: var(--light-text-color);
    background: var(--accent-color);
    padding: 0 4px;
    border-radius: 6px;
}

.catalog-item__body-bottom > .catalog-item__coins {
    font-size: 16px;
    line-height: 120%;
    font-weight: 500;
    color: var(--accent-color);
}

.catalog-item__sale {
    margin: 0 8px;
    line-height: 120%;
    font-weight: 500;
    min-height: 20px;
}

.sale__sale {
    font-size: 10px;
    color: var(--accent-color);
}

.sale__price {
    font-size: 10px;
    text-decoration: line-through;
    color: var(--light-gray-text-color);
}

.catalog-item__btn {
    margin: 8px;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    padding: 8px 0;
    display: flex;
    justify-content: center;
    color: var(--accent-color);
    font-size: 16px;
    line-height: 120%;
    font-weight: 600;
}

.btn-accent {
    color: var(--light-text-color) !important;
    background: var(--accent-color) !important;
}

.display-none {
    display: none !important;
}

