html, body {

}

*, *::before, *::after {
	box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-color: #ffffff;
    font-family: 'Helvetica';
    line-height: 120%;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 120%;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: #000; 
}

input[type="email"] {
    padding: 10px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    min-width: 240px;
}

.container {
    width: 1200px;
    max-width: 100%;
    margin: 20px auto;
}

.video-embed {
    display: block;
    position: relative;
    padding-top: 56%;
}

.video-embed iframe {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 15px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    background-color: #e5e5e5;
    border-radius: 0 0 1rem 1rem;
    column-gap: 10px;
}

.header a {
    font-size: 18px;
    text-decoration: none;
}

.logo__image img {
    max-height: 100px;
    max-width: 200px;
}

.header__login, 
.header__logo {
    max-width: 40vw;
}

.header__nav {
    display: flex;
    align-items: center;
    column-gap: 15px;
    row-gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 10px;
}
.header__nav a {
    text-decoration: underline;
    font-size: 18px;
}

.header__socials {
    display: flex;
    gap: 10px;
}

.header__socials .icon {
    display: block;
}

.header__socials a:hover {
    opacity: .8;
}

.icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
}
.icon-telegram {
    background-image: url(../svg/ic-telegram.svg);
}
.icon-vkontakte {
    background-image: url(../svg/ic-vkontakte.svg);
}
.icon-discord {
    background-image: url(../svg/ic-discord.svg);
}
.icon-youtube {
    background-image: url(../svg/ic-youtube.svg);
}
.icon-rutube {
    background-image: url(../svg/ic-rt.svg);
    background-size: 63%;
    background-color: #100943;
    background-position-x: 65%;
    background-position-y: 34%;
    border-radius: 50%;
}
.icon-max {
    background-image: url(../svg/ic-mx.svg), linear-gradient(73.55deg, #44CCFF 14.56%, #5533EE 63.57%, #9933DD 88.6%);
    background-size: 55%, auto;
    border-radius: 50%;
    background-position: center;
}


.header__mobile {
    display: none;
}

.toggle-menu {
    font-size: 24px;
    display: inline-block;
    cursor: pointer;
}



.header__login {
    display: flex;
    gap: 10px;
    align-items: center;
}

.h__login {
    position: relative;
}
.h__login-toggle {
    display: block;
    border: unset;
    background: unset;
    cursor: pointer;
    color: #000;
    font-size: 28px;
}

.h__login-toggle .counter {
    position: absolute;
    background: #02a100;
    font-size: 15px;
    padding: 0 7px;
    border-radius: 3px;
    top: -10px;
    right: -3px;
}
.h__login-toggle .counter[data-count="0"] {
    display: none;
}

.h__menu-frames {
    position: relative;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #393939;
}

.h__menu-mailing {
    position: absolute;
    left: 100%;
    top: 0;
    padding: 20px;
    background: #f1ebff;
    width: 100%;
    height: 100%;
}

.h__menu {
    position: absolute;
    z-index: 20;
    width: 300px;
    left: -126px;
    top: calc(100% + 40px);
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);
    border-radius: 0 0 10px 10px;
    display: none;
    transition: all 300ms;
    opacity: 0;
}

.h__login.active .h__menu {
    opacity: 1;
    top: calc(100% + 13px);
}

.h__menu-title {
    background: #393939;
    padding: 18px 10px;
    text-align: center;
    color: #fff;
    position: relative;
    border-radius: 10px 10px  0 0;
}
.h__menu-title::after {
    position: absolute;
    content: '';
    display: block;
    left: calc(50% - 10px);
    top: -20px;
    border: 10px solid transparent;
    border-bottom: 10px solid #393939;
}

.h__menu-title .h__login-lnk {
    display: inline-block;
    position: absolute;
    left: 2px;
    top: 6px;
    cursor: pointer;
    padding: 10px;
}

.h__login[data-active="menu"] .h__menu-title .h__login-lnk {
    display: none;
}


.h__login [data-frame] {
    transition: all 400ms;
}

.h__menu-basket {
    color: #000;
    position: relative;
}


.h__menu input[type="email"] {
    width: 100%;
}

.basket-empty {
    text-align: center;
    padding: 50px 15px;
    background: #fff;
}

.h__menu .empty-list-message {
    padding: 0;
    box-shadow: unset;
    transition: none;
    animation: none;
}


.basket__panel {
    padding: 0 15px 15px;
    border-top: 1px solid #e7e7e7;
    background-color: #f7f7f7;
}

.basket__panel p {
    display: flex;
    justify-content: space-between;
}

.basket__panel p.final-price .price {
    font-weight: bold;
}

.basket__panel p.discount .price {
    font-weight: bold;
    text-decoration: line-through;
    color: #bf2e2e;
}

.basket__panel .method {
    display: flex;
    flex-direction: column;
    margin: 15px 0;
    gap: 5px;
}
.basket__panel .method label {
    display: block;
    padding: 8px;
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
    border: 1px solid #e9e9e9;
}

.basket__panel .method input[type="radio"] {
    margin: 0;
    position: absolute;
    left: 10px;
    top: 10px;
}
.basket__panel .method strong {
    display: block;
}
.basket__panel .method span {
    display: block;
    color: #656565;
    font-size: 14px;
    margin-top: 2px;
}

.basket__panel .method[data-method="payment"] .label-payment, 
.basket__panel .method[data-method="balance"] .label-balance {
    background-color: #cdedd2;
    border-color: #aadfb2;
}


.basket__list {
    overflow-y: auto;
    max-height: 410px;
    padding: 15px 0 0px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.basket__list-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 10px;
    margin-bottom: 10px;
    padding-left: 15px;
    padding-right: 10px;
}
.basket__list-item:last-child {
    border-bottom: 0;
}
.basket__list-item .image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    display: block;
}
.basket__list-item .info {
    flex: auto;
    max-width: calc(100% - 100px);
}

.basket__list-item .title {
    font-weight: bold;
}

.basket__list-item .price {
    display: block;
    margin: 5px 0 5px 0;
}

.quantity {
    display: flex;
    align-items: center;
    gap: 7px;
}





.page__basket .h__menu-basket .form-basket {
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    border-radius: 10px;
    column-gap: 20px;
    align-items: flex-start;
}
.page__basket .basket__panel {
    border: 1px solid #e7e7e7;
    min-width: 280px;
    position: sticky;
    top: 20px;
}
.page__basket .basket__list {
    flex: auto;
    overflow-y: initial;
    max-height: unset;
}
.page__basket .basket__list-item .image img {
    width: 100px;
    height: 100px;
}




.single__basket {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.single__basket:not([data-count="0"]) .btn-basket.link-basket {
    display: none;
}

.single__basket[data-count="0"] .quantity,
.single__basket[data-count="0"] .btn-basket-active {
    display: none;
}


.single__basket:not([data-count="0"]) .btn-basket-active:focus,
.single__basket:not([data-count="0"]) .btn-basket-active:active,
.single__basket:not([data-count="0"]) .btn-basket-active {
    background-color: green;
    outline-color: green;
}




.h__link {
    display: inline-block;
    padding: 10px 20px;
    background: #ffffff2b;
    border-radius: 30px;
    max-width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.h__link:hover {
    opacity: .8;
}

.h__link.h__link-logout {
    background-color: #bd5050;
    padding: 8px 10px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 22px;
    color: #fff;
}


.h__cabinet {
    position: relative;
    padding: 5px 10px;
    background: #ffffff30;
    border-radius: 5px;
    display: flex;
    gap: 5px;
    align-items: center;
}

.h__cabinet .h__cabinet-balance {
    display: block;
    font-size: 12px;
    text-align: right;
    padding: 2px 0;
    line-height: 100%;
}

.h__cabinet .h__cabinet-icon {
    font-size: 30px;
}

.h__cabinet .h__cabinet-nickname {
    font-size: 14px;
    max-width: 120px;
    overflow: hidden;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
}



.logo__text {
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 24px;
}

.btn {
    background-color: #000;
    border-radius: .33rem;
    border-width: 0;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: inherit;
    padding-top: 0.6rem;
    padding-right: 1rem;
    padding-bottom: 0.6rem;
    padding-left: 1rem;
    text-decoration: none;  
    cursor: pointer;  
}

.btn:hover {
    opacity: .8;
}

.btn.active,
.btn:focus {
    background-color: #3f3f3f;
    color: #fff;
    outline-color: #000000;
    outline-offset: 2px;
    outline-style: auto;
}

.btn-detail {
    flex: auto;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-payment {
    padding: .8rem;
    font-size: 18px;
}


.gift__sbp {
    display: block;
    /* background: #fffcf2; */
    padding: 0px;
    border-radius: 10px;
    /* border: 1px solid gold; */
    position: relative;
}

.gift__sbp span {
    display: inline-block;
    line-height: 110%;
    font-size: 14px;
    color: #474747;
    max-width: calc(100% - 40px);
}

.gift__sbp::before {
    display: inline-block;
    width: 30px;
    height: 30px;
    content: '';
    background-image: url(../svg/ic-sbp.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: top;
    margin-right: 5px;
}


.gift__sbp ul {
    list-style: none;
    background-color: beige;
    padding: 10px;
    border-radius: 4px;
    width: fit-content;
    max-width: 100%;
}
.gift__sbp ul li {
    font-family: monospace;
    font-size: 14px;
    color: #1a1a1a;
}
.gift__sbp ul li::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../svg/ic-gift.svg) no-repeat;
    background-size: 100%;
    vertical-align: bottom;
    margin-right: 6px;
}



.category__list {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    background-color: #fff;
    padding: 15px;
    border-radius: .5rem;
    min-height: 68px;
}
.category__list .active {
    
}



.animated {
    background-size: 50px 50px;
    background-image: linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.2) 75%,
        transparent 75%,
        transparent
    );
    animation: btn_animate 1s linear infinite;
}

@keyframes btn_animate {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 50px;
  }
}


.loading-wait {
    background: #ffffff;
    padding: 6rem 3rem;
    text-align: center;
    border-radius: 15px;
    width: 500px;
    max-width: calc(100% - 30px);
    margin: 0 auto;
}
.loading-wait span.animated {
    display: block;
    height: 10px;
    background-color: #919191;
    border-radius: 10px;
    margin-top: 10px;
}

.products__list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}
.products__list-item {
    border-radius: 10px;
    width: calc(100% / 4 - 15px);
    background-color: #e5e5e5;
}
.products__list-item .action {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.products__list-item .image {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    position: relative;
    padding-top: 100%;
}

.shop__single .image {
    padding-top: 100%;
    position: relative;
}

.products__list-item .image img, 
.shop__single-gallery img, 
.owl-carousel .owl-item img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    object-fit: cover;
    object-position: top;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.shop__single-gallery img {
    border-radius: 10px;
}

.products__list-item[data-gift="1"] .image::after, 
.products__list-item[data-gift="1"] .image::before {
    content: '';
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../svg/ic-gift.svg);
    width: 50px;
    height: 50px;
    z-index: 1;
}
.products__list-item[data-gift="1"] .image::before { 

}
.products__list-item[data-gift="1"] .image::after {
    background-image: url(../svg/ic-sbp.svg);
    left: 14px;
    width: 42px;
    height: 35px;
    top: 32px;
    background-color: #ffffff;
    background-size: 50%;
    border: 2px solid black;
    border-radius: 0 0 5px 5px;
}

.products__list-item .title {
    font-weight: bold;
    display: block;
    padding: 0 15px;
    height: 56px;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
    border-top: 1px solid #e5e5e5;
    background-color: #fbfbfb;
    overflow: hidden;
}
.products__list-item .price {
    color: #040404;
    font-weight: 400;
    font-size: 1rem;
    background: #f7f7f7;
    padding: 0 .1rem;
    border-radius: .33rem;
    border: 1px solid #000000;
    height: 37px;
    line-height: 34px;
    width: 120px;
    text-align: center;
}





.shop__single {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 10px #00000063;
}

.shop__single h1 {
    font-size: 1.5rem;
    line-height: 110%;
    text-transform: uppercase;
    font-family: Arial, serif;
    font-weight: 600;
}

.shop__single-sidebar {
    width: 380px;
}

.shop__single-content {
    width: calc(100% - 380px - 30px);
}

.description {
    color: #3d3d3d;
    border: 1px solid #e7e7e7;
    padding: 0 15px;
    border-radius: 10px;
    background: #fafafa;
    margin: 15px 0;
    word-wrap: break-word;
}

.description p {
    margin: 15px 0;
    font-size: 16px;
    line-height: 120%;
}

.shop__single-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #e1e1e1;
}

.items__list {
    padding: 15px;
    padding-left: 32px;
    line-height: 115%;
    opacity: .8;
    background: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #e1e1e1;
    font-family: monospace;
    font-size: 16px;
    max-height: 414px;
    overflow-y: auto;
}
.items__list > li {
    margin: 5px 10px;
}

.items__list ul {
    padding-left: 0;
    list-style: none;
}
.items__list ul li {
}

.items__list > li > ul {
    padding-left: 1px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 5px;
    color: #474747;
    font-size: 12px;
    line-height: 110%;
    display: none;
}
.items__list.select_only > li > ul {
    padding-left: 34px;
}

.items__list > li.active > ul {
    display: block;
}

.items__list ul li.li-gift {
    color: #6f6d22 !important;
}

.small_desc {
    line-height: 110%; 
    font-size: 0.8rem;
    opacity: .7;
}

.small_desc a {
    color: #05329b;
}

.select_only {
    padding-left: 5px;
    list-style: none;
}
.select_only label {
    cursor: pointer;
    display: inline-block;
    padding: 3px 0;
    padding-left: 4px;
}
.select_only input[type="radio"] {
    vertical-align: text-top;
}

.payment-errors {
    color: red;
    font-size: 14px;
    line-height: 100%;
    margin-top: 10px;
}

.shop__single-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.shop__single-actions .price {
    font-size: 20px;
    color: #454545;
}


.owl-dots {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: center;
    gap: 5px;
}
.owl-dots .owl-dot {
    width: 14px;
    height: 14px;
    background: #d5d5d5 !important;
    border-radius: 50%;
}
.owl-dots .owl-dot.active {
    background: #4da0e9 !important;
}


.page__text {
    background: #fff;
    padding: 1px 20px;
    border-radius: 10px;
    line-height: 130%;
}

.page__text h1 {
    margin: 20px 0;
    line-height: 120%;
}

blockquote {
    padding: 2px 20px;
    margin: 20px 0;
    border-left: 4px solid #008cff;
    background: #eaf6ff;
}


.servers__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.servers__list-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
}
.servers__list-item .address {
    padding-left: 0;
}
.servers__list-item .title {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.dayz__orders {
    max-width: 1280px;
    width: 100%;
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(auto-fit, calc(100% / 3 - .75rem));
}
.dayz__orders.list-empty {
    display: block;
}

.dayz__orders-item {
    border: 1px solid #d5d5d5;
    padding: 1rem;
    border-radius: 1rem;
    background: white;
    position: relative;
}

.dayz__orders-item .title {
    font-size: 1rem;
    line-height: 100%;
    text-align: center;
    margin: 1rem;
    font-weight: 600;
    height: 2rem;
}

.dayz__orders-item .server {
    display: flex;
    gap: .6rem;
}

.dayz__orders-item .success,
.dayz__orders-item .error,
.dayz__orders-item .message {
    background: beige;
    display: block;
    padding: .5rem 1rem;
    text-align: center;
    border-radius: 5px;
    line-height: 24px;
    font-size: 14px;
}
.dayz__orders-item .success {
    background: #e9fff0;
}
.dayz__orders-item .error {
    background: #ffe9e9;
}

.dayz__orders-item select {
    padding: .7rem;
    border-radius: .4rem;
    border-color: lightgray;
}

.dayz__orders-item .server select {
    flex: auto;
    width: 100%;
    line-height: 24px;
}

.dayz__orders-item .price .btn {
    width: 100%;
    line-height: 22px;
    display: block;
    text-align: center;
}


.dayz__orders-item .image {
    margin: 0 auto;
    max-width: 100%;
    position: relative;
    padding-bottom: 100%;
}
.dayz__orders-item .image img {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    background: #efefef;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.dayz__orders-item .ostatok {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #3795ab;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
}

.dayz__orders-item[data-status="finished"] .ostatok {
    background-color: #00000033;
}


.command {
    color: black;
    white-space: nowrap;
    background: #fff;
    display: inline-block;
    padding: 0 7px 0 7px;
    border-radius: .3rem;
    font-family: monospace;
    cursor: pointer;
    position: relative;
    line-height: 24px;
    font-size: 14px;
}

.command:hover {
    background: #fdfdfd;
}

.command::after {
    display: inline-block;
    width: 24px;
    height: 24px;
    content: '';
    vertical-align: middle;
    margin-left: 6px;
    background-image: url(../svg/ic-copy.svg);
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center right;
    position: absolute;
}
.command.copied::after {
    background-image: url(../svg/ic-ok.svg);
}


.breadcrumbs {
    max-width: 1240px;
    margin: 20px auto;
    box-sizing: border-box;
}

.list-empty {
    padding: 0 20px;
}

/* Общий контейнер сообщения */
.empty-list-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: #ffffffeb;
    color: #000000;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin: 50px auto;
    transition: background-color 0.3s, box-shadow 0.3s;
}

/* Заголовок сообщения */
.empty-list-message h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #000000;
}

/* Текст сообщения */
.empty-list-message p {
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  text-align: center;
  max-width: 80%;
  margin-bottom: 24px;
}

/* Стиль кнопки (если есть) */
.empty-list-message button {
  padding: 12px 24px;
  background-color: #444;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.empty-list-message button:hover {
  background-color: #666;
}

/* Анимация появления */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.empty-list-message {
  animation: fadeIn 0.5s ease-in-out;
}



.profile {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.profile__side {
    width: calc(25% - 10px);
    position: sticky;
    top: 20px;
}

.profile__side .block {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
}

.profile__side .avatar {
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: 0px 4px 10px #0000008f;
}
.profile__side .nickname {
    text-align: center;
}
.profile__side .command {
    border: 1px solid #000000;
}
.profile__side .field {
    margin: 20px 0 10px 0;
}
.profile__side .field strong {
    display: block;
    margin-bottom: 10px;
}


.profile__side .menu {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}
.profile__side .menu a {
    display: block;
    padding: 15px 10px;
    background: #000000;
    text-align: center;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid #ffffff21;
    transition: all 200ms;
    position: relative;
}
.profile__side .menu a:first-child {
    border-radius: 6px 6px 0 0;
}
.profile__side .menu a:last-child {
    border-radius: 0 0 6px 6px;
    border-bottom: unset;
}
.profile__side .menu a.active {
    cursor: default;
}
.profile__side .menu a:not(.active):hover {
    opacity: .8;
}
.profile__side .menu a.active::after {
    display: inline-block;
    font-family: FontAwesome;
    font-size: 30px;
    content: "\f105";
    position: absolute;
    right: 10px;
    top: 14px;
}


.profile__content {
    width: calc(75% - 10px);
}

.window__item {
    display: none; 
}
.window__item.active {
    display: block; 
}


.form {
    padding: 20px;
    background: #fff;
    border-radius: 15px;
}

.form-field {
    margin: 15px 0;
}
.form-field:first-child {
    margin-top: 0;
}
.form-field label {
    display: block;
    font-weight: bold;
    cursor: pointer;
    padding: 7px 0;
}

.form-field-input {

}
.form-field-input input[type="number"],
.form-field-input input[type="text"] {
    padding: 10px;
    display: block;
    width: 100%;
    border: 1px solid #6d6d6d;
    border-radius: 6px;
}


.form-errors {
    color: red;
    margin-top: 15px;
}
.form-errors:empty {
    display: none;
}


.promocode-result {
    margin: 20px auto;
    line-height: 130%;
    background-color: #edf6ff;
    padding: 20px;
    box-shadow: 0 8px 10px #00000069;
}
.promocode-result:empty {
    display: none;
}


.share-btn {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #4b4b4b;
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 4px;
    cursor: pointer;
}
.share-btn.copied {
    background-color: #d7d7d7;
}
.share-btn:hover {
    opacity: .8;
}
.share-btn[data-target="link"] {
    background-image: url(../svg/ic-link.svg);
}
.share-btn.copied[data-target="link"] {
    background-image: url(../svg/ic-ok.svg);
}
.share-btn[data-target="tg"] {
    background-image: url(../svg/ic-tg.svg);
}
.share-btn[data-target="vk"] {
    background-image: url(../svg/ic-vk.svg);
}
.share-btn[data-target="ds"] {
    background-image: url(../svg/ic-ds.svg);
}
.share-btn[data-target="mx"] {
    background-image: url(../svg/ic-mx.svg);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-window {
    background-color: #fff;
    max-width: 1060px;
    width: calc(100% - 20px);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
}

.modal-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ffffff;
    font-size: 31px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    color: #555;
    transition: color 0.3s;
    display: block;
    height: 30px;
    width: 30px;
    z-index: 1;
    border: 1px solid #ffffff;
    border-radius: 4px;
    box-shadow: 0px 3px 6px #00000091;
}

.modal-close:hover {
  color: #000;
}

.loader {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 4px solid #ccc;
    border-top-color: #000;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.scroll-up { 
    text-align: center;
    display: inline-block;
    padding: 7px 10px;
    font-size: 14px;
    line-height: 17px;
    background-color: rgba(0,0,0,.5);
    color: #fff;
    border-radius: 3px;
    bottom: 30px;
    transition: bottom 2s;
    position: fixed;
    right: 30px;
    bottom: -500px;
    cursor: pointer;
    z-index: 10;
}

.scroll-up.active {
    bottom: 30px;
}

.scroll-up::before {
    content: '';
    border: 8px solid transparent;
    border-bottom: 10px solid #b7b7b7;
    display: block;
    width: 0px;
    margin: 4px auto;
    margin-top: -6px;
}

.copyright {
    text-align: center;
    opacity: .7;
}

.copyright a {
    opacity: 1;
}

footer {
    margin: 40px 0;
}


.cookie-policy {
    display: block;
    position: fixed;
    bottom: -200px;
    left: 20px;
    width: calc(100% - 40px);
    max-width: 470px;
    z-index: 999;
    color: #fff;
    background-color: hsl(0deg 0% 0% / 95%);
    box-shadow: 0 0 48px rgba(17,56,86,.2);
    padding: 12px 60px 12px 15px;
    line-height: 18px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #ffffff5c;
    transition: all 400ms;
}

.cookie-policy.cookie-policy-show {
    bottom: 20px;
}

.cookie-policy a {
    color: #ffffff;
}

.cookie-policy .cookie-accept {
    color: #000000;
    background: #fff;
    display: block;
    position: absolute;
    right: 15px;
    top: 15px;
    padding: 7px;
    border-radius: 5px;
    cursor: pointer;
}
.cookie-policy .cookie-accept:hover {
    opacity: .8;
}


.ic {
    display: inline-block;
    width: 42px;
    height: 42px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
}

.ic-coin {
    background-image: url(../svg/ic-coins.svg);
}


.b_balance {
    background-color: #0000006b;
    display: block;
    margin: 20px auto;
    width: fit-content;
    border-radius: 10px;
    padding: 0 25px;
}
.b_balance-number {
    font-size: 31px;
    line-height: 120%;
    padding: 20px 10px;
    color: #fff;
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
}

.mini__help {
    display: inline-block;
    position: relative;
}

.mini__help-text {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 7px 14px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 6px 7px #00000078;
    white-space: nowrap;
    z-index: 10;
}

/* Стрелка-подсказка (теперь смотрит вверх из блока) */
.mini__help-text::after {
    content: '';
    position: absolute;
    bottom: 100%; /* Прикрепляем к верхнему краю блока текста */
    left: 50%;
    transform: translateX(-50%);
    
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #fff transparent; /* Цвет только у верхней границы */
}

.mini__help-handler {
    width: 30px;
    height: 30px;
    display: block;
    background-color: #e3e3e3;
    text-align: center;
    line-height: 30px;
    font-size: 19px;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
}

.mini__help-handler:hover {
    filter: invert(1);
}

.mini__help:hover .mini__help-text {
    display: block;
}


.bonus__list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.bonus__list-item {
    width: calc(100% / 6 - 13px);
    background-color: #ffffffd1;
    border-radius: 10px;
    box-shadow: 0px 4px 5px #00000073;
    cursor: pointer;
    transition: background 200ms;
}
.bonus__list-item:hover {
    background-color: #fff;
}
.bonus__list-item .image {
    padding: 10px;
    padding-bottom: 0;
}
.bonus__list-item .title {
    min-height: 80px;
    text-align: center;
    padding: 10px;
}
.bonus__list-item .price {
    font-size: 20px;
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid #00000036;
    transition: border 200ms;
}
.bonus__list-item .ic-coin {
    width: 28px;
    height: 28px;
}


.profile__content .bonus__list-item {
    width: calc(100% / 4 - 12px);
}
.profile__content .b_balance {
    margin: 0px auto 20px;
}

.bonus__payment {
    text-align: center;
    padding: 40px 0;
}
.bonus__payment .title {
    font-size: 32px;
    line-height: 110%;
    max-width: 600px;
    margin: 20px auto;
}
.bonus__payment .image {
    width: 240px;
    margin: 0 auto;
}
.bonus__payment .price {
    font-size: 30px;
    line-height: 36px;
    margin: 30px 0;
}
.bonus__payment .quantity {
    justify-content: center;
    margin: 40px 0px;
}
.bonus__payment .btn-bonus {
    font-size: 20px;
    padding: 15px 30px;
}


@media (orientation: portrait) {
    .products__list {
        padding: 0 20px;
    }
    .products__list-item {
        width: 100%;
        flex: 200px;
    }

    .dayz__orders {
        grid-template-columns: repeat(auto-fit, calc(100% / 1));
        padding: 0 20px;
    }

    .category__list {
        border-radius: 0;
        gap: 7px;
        margin-top: -20px;
    }

    .header {
        border-radius: 0;
        flex-wrap: wrap;
        column-gap: 0;
    }

    .header a {
        font-size: 16px;
    }

    .h__cabinet {
        padding: 2px 7px 3px 7px;
    }

    .h__cabinet .h__cabinet-icon {
        font-size: 24px;
    }

    .logo__image img {
        max-width: 150px;
        max-height: 65px;
    }


    .header__nav {
        display: none;
        order: 4;
    }

    .header__socials {
        order: 5;
        display: none;
    }

    body.menu-active .header__nav {
        display: flex;
        flex-direction: column;
        border-top: 1px solid #ffffff42;
        width: 100%;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        margin-top: 15px;
        padding-bottom: 5px;
    }

    body.menu-active .header__socials {
        display: flex;
        margin: 20px auto 0 auto;
    }

    body.menu-active .toggle-menu .fa-bars:before {
        content: "\f00d";
    }

    .header__mobile {
        display: block;
    }
    .header__login, .header__logo {
        width: 40vw;
    }

    .header__login {
        width: 40vw;
        justify-content: flex-end;
        gap: 5px;
    }

    /*
    .header__login a.h__link {
        font-size: 30px;
        padding: 0px;
        border-radius: unset;
        background: unset;
        width: 30px;
        text-align: center;
    }
    .h__login-toggle {
        font-size: 24px;
    }
    */

    .header__login a.h__link span {
        display: none;
    }

    .h__login-toggle, 
    .header__login a.h__link {
        font-size: 20px;
        border-radius: 5px;
        padding: 5px 0px;
        background: #ffffff30;
        min-width: 40px;
        line-height: 28px;
        text-align: center;
    }

    .header__login a.h__link-login {
        padding: 5px 10px;
        font-size: 15px;
    }

    .header__login a.h__link-logout {
        background-color: #bd5050;
    }

    .h__menu {
        left: unset;
        right: -90px;
        width: calc(100vw - 22px);
        max-width: 300px;
    }
    .h__menu-title::after {
        left: calc(100% - 120px);
    }


    .modal-overlay {
        align-items: flex-start;
        padding: 20px 0;
        overflow-y: auto;
    }

    .modal-window {
        width: 470px;
        max-width: calc(100% - 30px);
        margin-top: auto;
        margin-bottom: auto;
    }

    .shop__single {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }

    .shop__single h1 {
        font-size: 1rem;
    }

    .shop__single-sidebar, 
    .shop__single-content {
        width: 100%;
    }

    .shop__single-gallery {
        width: 320px;
        max-width: 100%;
        margin: 0px auto;
    }

    .items__list {
        padding: 10px;
        padding-left: 0px;
        font-size: 14px;
        max-height: 294px;
    }

    .h__login-toggle .counter {
        font-size: 12px;
        padding: 0 5px;
        line-height: 18px;
    }

    .page__basket {
        margin-top: -20px;
    }

    .page__basket .h__menu-basket .form-basket {
        padding: 0;
        border-radius: 0;
    }
    .page__basket .basket__panel {
        top: unset;
        bottom: 0;
        width: 100%;
    }
    .page__basket .basket__list-item .info {
        max-width: calc(100% - 150px);
    }

    .profile {
        flex-direction: column;
        gap: 0;
    }

    .profile__side {
        padding: 0 20px;
    }

    .profile__side, .profile__content {
        width: 100%;
        position: unset;
    }
    .profile__content .page__basket {
        margin-top: 0;
    }
    .profile__side .field {
        text-align: center;
        clear: both;
    }

    .form {
        border-radius: 0;
    }

    .promocode-result {
        margin: 0;
    }

    .profile__side .nickname {
        text-align: left;
        padding-left: 85px;
    }

    .profile__side .avatar {
        width: 70px;
        height: 70px;
        float: left;
    }
}

@media (max-width: 480px) {
    .h__cabinet .h__cabinet-nickname {
        max-width: 90px;
    }

    .header__login a.h__link-logout {
        display: none;
    }
}

@media (max-width: 375px) {
    .h__cabinet .h__cabinet-nickname {
        max-width: 70px;
    }
}
