/* ГЛАВНАЯ СТРАНИЦА */

:root {
    --main-color: #0F0F0F;
    --color-text-main: #D9D9D9;
    --color-text: #ececec;
    --color-main-black: #676767;
    --color-dop-black: #232323;
}

#preloader {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Общие стили для body */
body,
html {
    font-family: "SF Pro Display", sans-serif;
    background-color: var(--main-color);
    color: #333;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: none;
}


/* Заголовок (Header) */
.header {
    justify-content: space-between;
}

.profile {
    display: flex;
    align-items: center;
}

.profile span {
    font-size: 1.5em;
    font-weight: 900;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--color-text-main);
}

.profile img {
    margin-right: .5em;
    width: 50px;
    height: 50px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    filter: grayscale(1);
    background: #D9D9D9;
}

.search-bar .input-group .form-control {
    border-radius: 15px !important;
    /* Полное закругление поля */
}

.search-bar {
    position: relative;
    width: calc(100% - 25px);
}

.search-bar input {
    width: 100%;
    padding: .75em 2.5em .75em 1.5em;
    border-radius: 20px;
    border: 2px solid #d9d9d980;
    font-weight: 500;
    font-size: 1.2em;
    box-shadow: 0 2px 5px rgb(0, 0, 0, 0.1);
    background-color: var(--color-dop-black);
    color: var(--color-text-main) !important;
}

.form-control:focus {
    color: var(--color-text-main);
    background-color: var(--color-dop-black);
    border: 2px solid #d9d9d980;
    box-shadow: 0 0 5px var(--color-text-main);
}

input.form-control::placeholder {
    color: var(--color-text-main);
    font-family: "SF Pro Display", sans-serif;
    font-weight: 400;
    font-size: 1.15em !important;
    opacity: 50%;
}

input#promo-code-input {
    font-size: 1em;
    font-family: "SF Pro Display", sans-serif;
}

.form-control:hover {
    background-color: var(--color-dop-black);
    border: 2px solid #d9d9d980;
    box-shadow: 0 0 5px var(--color-text-main);
}

.search-bar .search__magnifiler {
    position: absolute;
    top: 50%;
    right: 2.5em;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 50%;
}


/* Сетка для двух колонок на всех устройствах */
.product-grid .col-6 {
    display: flex;
    justify-content: center;
}

.product-item {
    position: relative;
    padding: 20px 10px;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgb(255 255 255 / 50%);
    text-align: center;
    background-color: var(--color-dop-black);
    max-width: 100%;
    box-sizing: border-box;
}

/* Цена на уровне изображения */
.price-overlay {
    transform: translate(12%, -475%);
    background: var(--color-dop-black);
    color: var(--color-text);
    border-radius: 15px;
    font-size: 1.25em;
    font-weight: 700;
    width: 80%;
    white-space: nowrap;
    font-family: 'SF PRO DISPLAY', sans-serif;
}

.product-item[data-name="ВОЕННОЕ | НАВСЕГДA"] .price-overlay::before {
    content: "3990 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}

.product-item[data-name="СКРЫТЫЕ КАМЕРЫ | НАВСЕГДА"] .price-overlay::before {
    content: "3990 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}

.product-item[data-name="ВСЕ ТАРИФЫ НА МЕСЯЦ"] .price-overlay::before {
    content: "3990 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}

.product-item[data-name="ГРЯЗНЫЙ ШБ | 30 дней"] .price-overlay::before {
    content: "1190 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}

.product-item[data-name="СКРЫТЫЕ КАМЕРЫ | 30 дней"] .price-overlay::before {
    content: "1190 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}


.product-item[data-name="ГРЯЗНЫЙ ШБ | НАВСЕГДА"] .price-overlay::before {
    content: "3990 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}

.product-item[data-name="КАРТЕЛЬ | НАВСЕГДА"] .price-overlay::before {
    content: "3990 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}

.product-item[data-name="СПОРТИКИ | НАВСЕГДА"] .price-overlay::before {
    content: "3990 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}

.product-item[data-name="ПРИТОН | НАВСЕГДА"] .price-overlay::before {
    content: "3990 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}

.product-item[data-name="ВХОД В АД😈 | 30 ДНЕЙ"] .price-overlay::before {
    content: "1990 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}

.product-item[data-name="ВХОД В АД😈 | НАВСЕГДА"] .price-overlay::before {
    content: "3990 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}

.product-item[data-name="1+1+1+1 | 30 дней"] .price-overlay::before {
    content: "2499 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}

.product-item[data-name="1+1+1+1 | 1 день"] .price-overlay::before {
    content: "1590 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}

.product-item[data-name="СПОРТИКИ | 30 дней"] .price-overlay::before {
    content: "1190 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}

.product-item[data-name="ВОЕННОЕ | 30 дней"] .price-overlay::before {
    content: "1190 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}

.product-item[data-name="КАРТЕЛЬ | 30 дней"] .price-overlay::before {
    content: "1190 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}

.product-item[data-name="ПРИТОН | 30 дней"] .price-overlay::before {
    content: "1190 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}

.product-item[data-name="10 МИНУТ | 1 день"] .price-overlay::before {
    content: "499 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}

.product-item[data-name="10 МИНУТ | 7 дней"] .price-overlay::before {
    content: "1299 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}

.product-item[data-name="10 МИНУТ | 3 дня"] .price-overlay::before {
    content: "699 ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.75em;
    margin-right: 5px;
    border-radius: 15px;
}

/* Изображение и адаптация */
.product-item img {
    border-radius: 15px;
    max-width: 150px;
    max-height: 150px;
    width: 150px;
    height: 150px;
    background: var(--color-text-main);
    box-shadow: 0 2px 5px 0px var(--color-text-main);
}

/* Информация о продукте */
.product-info h3 {
    margin: -1.5em 0 10px;
    font-size: calc(1rem + 0.6vw);
    font-weight: 700;
    color: var(--color-text-main);
    max-width: 100%;
}

/* Кнопка в корзину */
.product-info button {
    margin-top: 10px;
    padding: 10px;
    color: var(--color-text);
    background-color: var(--main-color);
    border-radius: 100px;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 800;
    box-shadow: 0 0 5px 0px var(--color-text-main);
    white-space: pre;
}



.product-info p {
    border-radius: 15px;
    margin: -4.75em 1.25em;
    background: linear-gradient(to right, #007bff, #0056b3);
    color: white;
    padding: 0 1vh;
    font-size: 1.1em;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif, 'Arial';
    position: absolute;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.button-added {
    color: var(--color-text) !important;
    background: var(--main-color) !important;
    border: 1px solid var(--color-main-black) !important;
}


/* Стили для категорий тарифов (Rate Items) */
.rate-scroll {
    display: flex;
    flex-wrap: nowrap;
    /* Элементы не переносятся на новую строку */
    gap: 0.5em;
    /* Промежуток между кнопками */
    overflow-x: auto;
    /* Горизонтальная прокрутка */
    padding: 0.5em 0;
}

#category-container::-webkit-scrollbar {
    display: none;
}

.rate-item {
    background-color: var(--color-dop-black);
    border-radius: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 0.5vh 0vh;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    min-width: 9em;
    color: var(--color-text);
    font-weight: 400;
    font-size: 1.2em;
}


.rate-item.active {
    background: var(--color-text);
    color: var(--color-dop-black);
    box-shadow: 0 0px 5px 0px rgba(0, 0, 0, 0.9);
}


/* Стили для блока "Мои тарифы" */
.myrate {
    border: none;
    align-self: center;
    background: #007bff;
    padding: 15px 22px;
    margin: 0 30px;
    border-radius: 15px;
    font-size: 1.05em;
    color: white;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    white-space: nowrap;
    display: none;
}

.myrate:hover {
    background: #0056b3;
}

/* Стили для VIP-блока */
.vip-entry {
    background: var(--color-dop-black);
    border: 3px dashed #d9d9d980;
    border-radius: 15px;
    text-align: center;
    width: calc(100% - 50px);
}

.vip-price-wrapper {
    display: flex;
    justify-content: flex-end;
}

.vip-price {
    background: #6c757d;
    /* как btn-secondary */
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    user-select: none;
}

.strong-text {
    font-size: 1.5em !important;
}

.vip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.vip-entry h3 {
    margin: 0;
    font-size: 2em;
    color: var(--color-text-main);
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.vip-entry p {
    margin: 5px 0;
    font-size: 1.2em;
    color: var(--color-text-main);
    text-align: left;
    opacity: 100%;
    font-weight: 400;
}

.black-text {
    font-weight: 900 !important;
}

.vip-entry button {
    background: var(--main-color);
    padding: 7px 15px;
    border-radius: 15px;
    font-size: 1.2em;
    color: var(--color-text-main);
    font-weight: 700;
    box-shadow: 0 0px 8px 0px #d9d9d94d;
    cursor: pointer;
    border: none;
}

.vip-entry button:hover {
    background-color: var(--color-dop-black);
}

/* Стили для футера корзины */

.hidden {
    display: none !important;
}

.cart-footer {
    background: var(--color-dop-black);
    color: var(--color-text);
    text-align: left;
    cursor: pointer;
    box-shadow: 0 6px 5px 5px var(--color-text-main);
    font-family: "SF Pro Display", sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    width: 100%;
    max-width: 100vw;
    left: 0;
    right: 0;
    z-index: 1000;
}

.info-text {
    width: 66%;
    text-align: center;
    font-size: 1.2em;
    font-weight: 500;
    color: var(--color-text-main);
    transform: translate(0%, 0%);
    font-family: 'SF PRO DISPLAY', sans-serif;
    opacity: 40%;
    line-height: 1.25em;
}

.infotext {
    text-align: -webkit-center;
}

#cart-label {
    font-size: 1.5em;
    font-weight: 700;
    text-transform: uppercase;
}

.cart-right {
    display: flex;
    align-items: center;
}

#cart-count {
    font-size: 1.5em;
    font-weight: 700;
    text-transform: uppercase;
}

#cart-icon {
    width: 34px;
    height: 34px;
    margin-right: .25rem;
}

/* Стили для блока промокода */
#promo-code-section {
    width: 41%;
    margin-bottom: 3em;
    position: fixed;
    bottom: 100px;
    background: var(--color-dop-black);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: inset 0 -2px 5px 0px rgba(217, 217, 217, 0.5);
    padding: 10px;
    font-family: sf pro display, sans-serif;
}

/* Центрирование блока по горизонтали */
.promo-container {
    display: flex;
    justify-content: flex-start;
    /* Блок располагается слева */
}

#promo-code-input {
    width: 100%;
    height: 2.5rem;
    color: var(--color-text-main);
    background: var(--main-color);
    box-shadow: 0 0 5px var(--color-text-main);
}



#apply-promo-code {
    width: 25%;
    background: transparent;
    border: none;
}


/* Основной стиль для модального окна */
.modal {
    display: none;
    /* Скрыть модальное окно по умолчанию */
    position: fixed;
    z-index: 1000;
    /* Убедитесь, что модальное окно поверх других элементов */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    /* Полупрозрачный фон */
    z-index: 9999;
}

.modal-footer .btn-primary {
    width: 100%;
    border-radius: 25px;
    font-family: sf pro display, sans-serif;
    font-weight: 700;
    font-size: 1.25em;
    box-shadow: 0 0 5px var(--color-text-main) !important;
    background: var(--main-color) !important;
    border: none !important;
}

.scrollable-description {
    max-height: 150px;
    overflow-y: auto;
}

.btn-primary:hover {
    border: var(--color-main-black) !important;
}

.btn:hover {
    color: var(--color-text-main) !important;
    background: var(--main-color) !important;
    box-shadow: 0 0px 5px 2px var(--color-main-black);
}

/* Стили для содержимого модального окна */
.modal-content {
    background-color: var(--color-dop-black);
    padding: 20px;
    border: none;
    box-shadow: 0 0 5px var(--color-text-main);
    max-width: 600px;
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
    position: relative;
    color: var(--color-text-main) !important;
    font-family: sf pro display, sans-serif;
}

/* Стиль для кнопки закрытия */
.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    align-self: end;
    margin-right: 0;
    margin-top: -15px;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Стиль для изображения в модальном окне */
#modal-image,
#modal-image-vip {
    width: 100%;
    border: 2px solid var(--color-main-black);
    border-radius: 15px;
    display: block;
    margin: 0 auto;
}

.modal.bottom-sheet.show {
    display: block;
    z-index: 9999;
}

.modal.bottom-sheet .modal-dialog {
    position: fixed;
    bottom: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    transition: transform 0.25s ease-out;
    transform: translateY(100%);
}

.modal.bottom-sheet.show .modal-dialog {
    transform: translateY(0);
}


/* Пример стиля для заголовка */
.modal-content h3 {
    padding: 0.5em;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif, 'Arial', sans-serif;
    font-weight: 700;
    font-size: 2em;
    align-self: center;
    color: var(--color-text-main) !important;
}

.modal-content h5 {
    font-weight: 900;
    font-size: 1.75em;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80%;
    text-wrap: nowrap;
}

/* Пример стиля для описания */
.modal-content p {
    font-family: sf pro display, sans-serif;
    font-weight: 400;
    font-size: 1.3em;
    line-height: 1.5;
    color: var(--color-text) !important;
}

#modal-price,
#vipPrice {
    font-family: sf pro display, sans-serif;
    font-weight: 700;
    font-size: 1.25em;
    background: var(--main-color);
    color: var(--color-text);
    border-radius: 15px;
    white-space: nowrap;
    box-shadow: 0 0 5px 0px var(--color-text-main);
    text-align: center;
    width: 45%;
    display: block;
    margin: 0 auto 5%;
}

#modal-price::before {
    content: attr(data-old) " ₽";
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.9em;
    margin-right: 6px;
}

#modal-price::after {
    content: attr(data-new) " ₽";
    font-weight: 700;
}

.btn-custom {
    margin-top: 10px;
    padding: 10px;
    color: var(--color-text);
    background-color: var(--main-color);
    border-radius: 100px;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 800;
    box-shadow: 0 0 5px 0px var(--color-text-main);
    white-space: pre;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.cart-item {
    display: flex;
    position: relative;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    background-color: var(--color-dop-black);
    border-radius: 25px !important;
    box-shadow: 0 0px 4px 0px var(--color-text-main);
    white-space: nowrap;
    align-items: center;
    padding: .75em;
    margin-bottom: 10px;
    max-width: 95%;
    margin-left: .5em;
}

.cart-item:last-child {
    border-bottom: none;
}

.remove-item {
    color: var(--color-text-main);
    border-radius: 50%;
    font-size: 1.25em;
    font-weight: 700;
    font-family: sf pro display, sans-serif;
    opacity: 100%;
    margin-top: -40px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin-left: 5px;
    align-self: center;
}

@media (max-width: 400px) {
    .cart-item {
        flex-direction: row;
        /* Выравниваем элементы в строку */
        padding: 10px;
    }

    .cart-name {
        font-size: 0.9em;
        /* Уменьшаем размер текста на малых экранах */
    }

    .cart-price {
        font-size: 0.9em;
        /* Уменьшаем размер цены */
        padding: 5px 8px;
    }

    .remove-item {
        font-size: 1.1em;
        /* Уменьшаем размер иконки удаления */
        margin-left: 8px;
    }
}

.cart-total {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-dop-black);
    padding: 25px;
    padding-bottom: 2rem;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1.25em;
    font-weight: 700;
    font-family: sf pro display, sans-serif;
    bottom: 3rem;
    right: 0;
    left: 0;
    color: var(--color-text);
    border-top: none !important;
}

.cart-header h1 {
    font-family: sf pro display, sans-serif;
    font-weight: 800;
    color: var(--color-text-main);
}

.cart-name {
    font-weight: 800;
    font-family: sf pro display, sans-serif;
    white-space: nowrap;
    flex-grow: 1;
    font-size: 1.25em;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 10px;
    color: var(--color-text);
}

.cart-price {
    margin-top: 2rem;
    background: var(--main-color);
    border-radius: 25px;
    font-size: 1.25em;
    font-family: sf pro display, sans-serif;
    font-weight: 700;
    color: var(--color-text);
    white-space: nowrap !important;
    max-width: 100%;
    white-space: nowrap;
    padding: 0px 10px;
    margin-right: -25px;
}

.button-checkout {
    background: var(--main-color);
    color: var(--color-text-main);
    padding: 25px;
    border: none;
    font-size: 1.35em;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 1px 5px var(--color-text-main);
    margin-top: 20px;
    display: block;
    width: 100%;
    text-align: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
}

.button-checkout:disabled {
    background-color: #6c757d;
    cursor: default;
}

.button-checkout:disabled:hover {
    background-color: #6c757d;
    cursor: default;
}

.button-checkout:hover {
    background-color: var(--main-color);
}

p {
    font-size: 1em;
    font-family: "SF Pro Display", sans-serif;
    font-weight: 800;
}

#payment-options {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 4vh 0vh;
    background-color: var(--color-dop-black);
    border: 1px solid var(--color-main-black);
    border-radius: 15px;
    box-shadow: 0 0 20px 0px var(--color-main-black);
    z-index: 1000;
    flex-direction: column;
}

#payment-options h2 {
    white-space: nowrap;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 1em;
    font-size: 1.4em;
    font-weight: 400;
}

#payment-options h5 {
    white-space: nowrap;
    color: var(--color-text);
    text-align: center;
    font-size: 0.75em;
    font-weight: 400;
    opacity: 50%;
    margin-left: 0.5em;
}

#payment-options h3 {
    color: var(--color-text);
    text-align: left;
    font-size: 1em;
    font-weight: 400;
    opacity: 50%;
    margin-left: 2em;
    margin-bottom: 0;
    width: 85%;
}

#payment-options button {
    text-align: center;
    display: flex;
    align-items: center;
    padding: .7em 1em;
    margin-left: 4vh;
    margin-right: 4vh;
    margin-bottom: .5rem;
    border: none;
    background-color: var(--main-color);
    color: var(--color-text-main);
    border-radius: 15px;
    font-family: sf pro display, sans-serif;
    font-weight: 500;
    font-size: 1.1em;
    cursor: pointer;
    white-space: nowrap;
}

#payment-options button:last-child {
    margin-top: 3vh;
    display: block;
    text-align: center;
}

#crypto-options {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 4vh 3vh;
    background-color: var(--color-dop-black);
    border: 1px solid var(--color-text-main);
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#crypto-options h2 {
    margin: 3vh 2vh;
    white-space: nowrap;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-text);
}

#crypto-options button {
    max-width: 275px;
    width: 40vh;
    text-align: center;
    display: flex;
    align-items: center;
    padding: 2.5vh 1.5vh;
    margin-bottom: .5rem;
    border: 0.0001em solid #000;
    background-color: var(--color-main-black);
    color: var(--color-text);
    border-radius: 15px;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif, 'Arial';
    font-weight: 500;
    font-size: 1.1em;
    cursor: pointer;
}

#crypto-options button:last-child {
    margin-top: 3vh;
    display: block;
    text-align: center;
}

.hidden {
    display: none;
}

.visible {
    display: flex;
}

.img-spb {
    margin-right: 2vh;
    margin-left: 1vh;
    width: 25px;
    height: 25px;
}

.img-sber {
    width: 25px;
    height: 25px;
    margin-right: 2vh;
    margin-left: 1vh;
}

.img-mir {
    width: 25px;
    height: 25px;
    margin-right: 2vh;
    margin-left: 1vh;
}


/* ОПЛАТА СТРАНИЦА */
.order-info {
    display: flex;
    flex-direction: column;
}

.info-item {
    display: flex;
    justify-content: space-between;
    /* Располагает метки и значения по краям */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.label {
    font-weight: 600;
    font-family: sf pro display, sans-serif;
    font-size: 1.25em;
    white-space: nowrap;
    color: var(--color-text-main);
}

.value {
    font-family: sf pro display, sans-serif;
    font-weight: 600;
    font-size: 1em;
    white-space: nowrap;
    display: flex;
    color: var(--color-text-main);
}

.order-info div {
    padding: 1vh 2vh;
    background-color: var(--color-dop-black);
    border-radius: 25px !important;
}

.instruction {
    font-weight: 600;
    font-family: sf pro display, sans-serif;
    text-align: left;
    opacity: 50%;
    letter-spacing: 0.3vh;
}

.sub-instruction {
    font-size: .8rem;
    font-weight: 600;
    line-height: 15px;
    letter-spacing: 0px;
    padding: 0px 24px;
    color: var(--color-text);
}

#upload-button {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    padding: 10vh 16vh !important;
    color: var(--color-text-main);
    border: 0.2em dashed var(--color-text-main) !important;
    border-radius: 15px;
    cursor: pointer;
    font-family: sf pro display, sans-serif;
    font-weight: bold;
    font-size: 1em;
    opacity: 75%;
    background-color: rgba(135, 135, 135, 0.13);
    width: 100%;
}

#upload-button:hover {
    background-color: #cccccc;
}

#submit-button {
    padding: 3vh;
    background-color: var(--main-color);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: not-allowed;
    font-family: sf pro display, sans-serif;
    font-weight: 700;
    font-size: 1.1em;
    width: 100%;
    opacity: 0;
    text-wrap: nowrap;
}

#submit-button:enabled {
    cursor: pointer;
    background: var(--color-dop-black) !important;
    color: var(--color-text-main);
    opacity: 100%;
}

#timer {
    font-size: 2em;
    color: var(--color-text-main);
    font-weight: bold;
}

#submit-button:enabled:hover {
    background-color: var(--main-color);
}

.order-number {
    font-family: sf pro display, sans-serif;
    font-weight: 900;
    letter-spacing: -1px;
    opacity: 35%;
    margin-top: -2vh;
    color: var(--color-text-main);
}

.tariff-name {
    font-family: sf pro display, sans-serif;
    font-weight: 900;
    letter-spacing: -1px;
    opacity: 35%;
    margin-bottom: 0vh;
    color: var(--color-text-main);
    display: none;
}

.upload-section {
    display: flex;
    margin-top: 20px;
    justify-content: space-around;
    margin-top: 20px;
}

.sumbit-section {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    margin-bottom: 20px;
}

.copy-icon {
    position: sticky;
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: -2px 0 -2px 10px;
    opacity: 50%;
}

/* МОИ ТАРИФЫ */
.myrate-header h1 {
    margin-left: 3vh;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif, 'Arial';
    font-weight: 700;
}

.tariff-block {
    padding: 3vh 5vh;
    border-radius: 25px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 3vh 3vh 25px;
}

.tariff-block-name {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif, 'Arial';
    font-weight: 900;
    color: black;
    font-size: 1.25em;
    text-align: center;
    margin-top: 0;
}

.tariff-block-date {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif, 'Arial';
    font-weight: 500;
    color: rgb(0, 0, 0);
    font-size: 0.8em;
    opacity: 60%;
    text-align: center;
}

.no-plans-message {
    margin-left: 2vh;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif, 'Arial';
    font-weight: 700;
}

.button-sumbit {
    background: var(--color-dop-black);
    padding: 7px 15px;
    border-radius: 10px;
    font-size: 1.05em;
    color: var(--color-text);
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    border: none;
    margin-left: 1.5vh;
    white-space: nowrap;
}

@media (max-width: 400px) {
    .button-sumbit {
        background: var(--color-dop-black);
        padding: 7px 15px;
        border-radius: 10px;
        font-size: 1.05em;
        color: var(--color-text);
        font-weight: 700;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
        cursor: pointer;
        border: none;
        margin-left: 3.2vh;
        white-space: nowrap;
    }
}

.button-sumbit:hover {
    background-color: var(--color-main-black);
}

/* Спиннер ожидания */
.spinner-border {
    display: none;
    /* Скрыт по умолчанию */
    width: 3rem;
    height: 3rem;
    border: 0.25rem solid #f3f3f3;
    border-top: 0.25rem solid var(--color-text-main);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 0.25rem solid #f3f3f3;
    border-top: 0.25rem solid var(--color-text-main);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(49, 49, 49, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#requisites {
    text-wrap: nowrap;
}

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

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 414px) {
    .price-overlay {
        transform: translate(12%, -475%);
        width: 80%;
    }
}

@media (max-width: 412px) {
    .price-overlay {
        transform: translate(10%, -475%);
        width: 80%;
    }

    #promo-code-section {
        width: 42%;
    }
}

@media (max-width: 390px) {
    .vip-entry h3 {
        font-size: 1.8em;
    }

    .price-overlay {
        transform: translate(5%, -475%);
        width: 90%;
    }

    #promo-code-section {
        width: 45%;
    }
}

@media (max-width: 375px) {
    .vip-entry h3 {
        font-size: 1.65em;
    }

    .price-overlay {
        transform: translate(5%, -500%);
        font-size: 1.2em;
    }

    #promo-code-section {
        width: 47%;
    }
}

@media (max-width: 360px) {
    .vip-entry h3 {
        font-size: 1.3em;
    }

    .price-overlay {
        transform: translate(3%, -500%);
        width: 100%;
    }
}