/* ═══════════════════════════════════════════════════════════════════════════
   ГЛАВНАЯ СТРАНИЦА - ЧЁРНАЯ ТЕМА
   Стили для главной страницы с абсолютно чёрным дизайном
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   ПРОМО СЕКЦИЯ
   ───────────────────────────────────────────────────────────────────────────── */
.promo-section {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 20px;
    margin-bottom: 60px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   СЛАЙДЕР (левый блок)
   ───────────────────────────────────────────────────────────────────────────── */
#slider.promo-slider {
    border-radius: 28px;
    overflow: hidden;
    min-height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#slider.promo-slider:after {
    display: none;
}

#slider.promo-slider > .slider-wrapper {
    overflow: hidden;
}

#slider.promo-slider > .slider-wrapper > .slider-slide {
    padding: 36px;
    display: flex;
    align-items: flex-start;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

/* Слайд с таймером */
#slider.promo-slider > .slider-wrapper > .slider-slide-timer {
    padding: 0;
    align-items: center;
    justify-content: center;
    background: transparent;
}

#slider.promo-slider:hover > .slider-wrapper > .slider-slide {
    background-size: cover;
}

#slider.promo-slider > .slider-wrapper > .slider-slide .slide-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 50%;
}

#slider.promo-slider > .slider-wrapper > .slider-slide h1 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

#slider.promo-slider > .slider-wrapper > .slider-slide .slide-description {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 0;
    margin: 0 0 auto 0;
}

#slider.promo-slider > .slider-wrapper > .slider-slide .slide-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-top: 24px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

#slider.promo-slider > .slider-wrapper > .slider-slide .slide-arrow svg {
    width: 20px;
    height: 20px;
}

#slider.promo-slider:hover > .slider-wrapper > .slider-slide .slide-arrow {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateX(6px);
}

#slider.promo-slider > .slider-control {
    bottom: 24px;
    right: 36px;
    left: auto;
    display: flex;
    gap: 8px;
}

#slider.promo-slider > .slider-control > .slider-control-label {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0;
    box-shadow: none;
    transition: all 0.3s ease;
}

#slider.promo-slider > .slider-control > .slider-control-label:before,
#slider.promo-slider > .slider-control > .slider-control-label:after {
    display: none;
}

#slider.promo-slider > .slider-control > .slider-control-label:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

#slider.promo-slider > .slider-control > .slider-control-label.active {
    background-color: #ffffff;
    width: 24px;
    border-radius: 4px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ПРОМО БЛОК (правый)
   ───────────────────────────────────────────────────────────────────────────── */
.promo-block {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    min-height: 280px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.promo-block:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(124, 58, 237, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Маленький блок - Liquid Glass фиолетовый */
.promo-block-small {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.7) 0%, rgba(168, 85, 247, 0.5) 50%, rgba(109, 40, 217, 0.6) 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

/* Telegram блок - Liquid Glass синий */
.promo-block-telegram {
    background: linear-gradient(135deg, rgba(0, 111, 255, 0.85) 0%, rgba(0, 85, 204, 0.9) 100%);
}

.promo-block-telegram:hover {
    transform: none;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(0, 111, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Фоновый логотип Telegram */
.promo-telegram-bg {
    position: absolute;
    right: -30px;
    bottom: -40px;
    font-size: 260px;
    color: rgba(255, 255, 255, 0.15);
    pointer-events: none;
    z-index: 0;
    line-height: 1;
    transition: all 0.3s ease;
}

.promo-block-telegram:hover .promo-telegram-bg {
    color: rgba(255, 255, 255, 0.22);
    transform: scale(1.05);
}

/* Узор на фоне */
.promo-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2;
    pointer-events: none;
    background-image: 
        radial-gradient(ellipse at 100% 0%, rgba(168, 85, 247, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 100%, rgba(139, 92, 246, 0.3) 0%, transparent 60%);
}

/* Контент блока */
.promo-content {
    position: relative;
    z-index: 2;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
}

.promo-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.promo-description {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 280px;
}

/* Стрелочка - Liquid Glass */
.promo-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-top: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-block:hover .promo-arrow {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateX(6px);
}

.promo-arrow svg {
    width: 20px;
    height: 20px;
}

/* Изображение */
.promo-image {
    position: absolute;
    right: -10%;
    bottom: 0;
    width: 80%;
    height: 100%;
    background-size: contain;
    background-position: right bottom;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   АДАПТИВ
   ───────────────────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .promo-section {
        display: none;
    }
    
    .category-tabs {
        flex-direction: column;
    }
    
    .category-tab {
        width: 100%;
    }
    
    #slider.promo-slider,
    .promo-block {
        min-height: 240px;
    }
    
    #slider.promo-slider > .slider-wrapper > .slider-slide h1 {
        font-size: 24px;
    }
    
    .promo-title {
        font-size: 24px;
    }
}

@media (max-width: 640px) {
    #slider.promo-slider,
    .promo-block {
        min-height: 200px;
    }
    
    #slider.promo-slider > .slider-wrapper > .slider-slide {
        padding: 24px;
    }
    
    #slider.promo-slider > .slider-wrapper > .slider-slide .slide-content {
        max-width: 70%;
    }
    
    #slider.promo-slider > .slider-wrapper > .slider-slide h1 {
        font-size: 20px;
    }
    
    #slider.promo-slider > .slider-control {
        right: 24px;
        bottom: 16px;
    }
    
    .promo-content {
        padding: 24px;
    }
    
    .promo-title {
        font-size: 20px;
    }
    
    .promo-description {
        font-size: 13px;
    }
    
    .promo-arrow,
    #slider.promo-slider > .slider-wrapper > .slider-slide .slide-arrow {
        width: 40px;
        height: 40px;
    }
    
    .promo-image {
        opacity: 0.6;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   MAIN CONTAINER
   ───────────────────────────────────────────────────────────────────────────── */
.main {
    padding-top: 40px;
}

.main .pagename {
    display: block;
    padding-top: 68px;
    padding-bottom: 29px;
    font-weight: 700;
    font-size: 41px;
    line-height: 48px;
    color: #ffffff;
}

.main .page-description {
    width: 975px;
    max-width: 100%;
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    color: #999999;
    padding-bottom: 68px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ТАБЫ КАТЕГОРИЙ
   ───────────────────────────────────────────────────────────────────────────── */
.main .custom-tabs {
    padding-bottom: 80px;
}

.category-tabs {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}

.category-fast-link {
    margin-left: auto;
    min-width: 190px;
    height: 60px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(0, 111, 255, 0.48) 0%, rgba(91, 78, 255, 0.34) 100%);
    border: 1px solid rgba(118, 164, 255, 0.38);
    box-shadow: 0 8px 24px rgba(61, 97, 213, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-fast-link span {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.category-fast-link:hover {
    transform: translateY(-2px);
    border-color: rgba(132, 183, 255, 0.62);
    box-shadow: 0 12px 30px rgba(61, 97, 213, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.category-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    min-width: 180px;
    height: 60px;
    border-radius: 20px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.category-tab::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.category-tab:hover::before {
    left: 100%;
}

.category-tab.active {
    background: linear-gradient(135deg, rgba(0, 111, 255, 0.6) 0%, rgba(0, 85, 204, 0.4) 100%);
    border: 1px solid rgba(0, 111, 255, 0.5);
    box-shadow: 
        0 4px 20px rgba(0, 111, 255, 0.2),
        0 0 30px rgba(0, 111, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.category-tab-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    transform: scale(1);
}

.category-tab:hover .category-tab-bg {
    transform: scale(1.15);
    opacity: 0.25;
}

.category-tab.active .category-tab-bg {
    opacity: 0.35;
    transform: scale(1.1);
}

.category-tab-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.category-tab-content i {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.2) !important;
}

.category-tab.active .category-tab-content i {
    color: rgba(255, 255, 255, 0.35) !important;
}

.category-tab-content i svg,
.category-tab-content i path {
    fill: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.2);
}

.category-tab.active .category-tab-content i svg,
.category-tab.active .category-tab-content i path {
    fill: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.35);
}

.category-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

.category-tab-arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.category-tab-arrow svg {
    width: 10px;
    height: 10px;
}

.category-tab.active .category-tab-arrow {
    background-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.category-tab:hover .category-tab-arrow {
    transform: translateX(4px);
    background-color: rgba(255, 255, 255, 0.2);
}

.category-tab:not(.active):hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}


/* ─────────────────────────────────────────────────────────────────────────────
   ОБЁРТКА ТАБОВ
   ───────────────────────────────────────────────────────────────────────────── */
.main .custom-tabs > .tabs-wrapper {
    background-color: transparent;
    padding: 0 0 48px 0;
    display: flex;
    align-items: stretch;
}

/* Контейнер списка товаров - Liquid Glass */
.main .custom-tabs > .tabs-wrapper > .items {
    width: 520px;
    max-width: 100%;
    flex-shrink: 0;
    align-self: flex-start;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0.1) 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(0, 111, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 200px);
    position: relative;
}

/* Эффект свечения сверху */
.main .custom-tabs > .tabs-wrapper > .items::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    pointer-events: none;
    z-index: 10;
}

/* Заголовок списка товаров - Liquid Glass */
.items-header {
    background: linear-gradient(135deg, rgba(0, 111, 255, 0.7) 0%, rgba(0, 85, 204, 0.5) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Декоративные элементы - блики (та же анимация что и у "Покупка товара") */
.items-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 35%),
        radial-gradient(ellipse at 70% 80%, rgba(51, 136, 255, 0.15) 0%, transparent 40%);
    pointer-events: none;
    animation: liquidGlassShimmer 10s ease-in-out infinite;
}

.items-header-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

/* Стрелка - Liquid Glass */
.items-header-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #006FFF;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.items-header-arrow:hover {
    transform: translateY(2px);
}

.items-header-arrow svg {
    width: 18px;
    height: 18px;
}

/* Список товаров */
.main .custom-tabs > .tabs-wrapper > .items > .item-list {
    display: none;
    width: 100%;
    flex: 1;
    overflow-y: scroll;
    padding: 32px 16px 16px 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.05);
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list::-webkit-scrollbar {
    width: 6px;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list.active {
    display: block;
}

/* Карточка товара - Liquid Glass */
.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id {
    border-radius: 18px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    display: flex;
    padding: 14px 18px;
    margin-bottom: 10px;
    position: relative;
    align-items: center;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Блик на карточке */
.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 18px 18px 0 0;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id:last-child {
    margin-bottom: 0;
}

/* Эффекты для состояний - Liquid Glass hover */
.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id:not(.active):not(.disabled):hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 111, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id * {
    font-family: 'Montserrat', sans-serif;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id:after {
    display: none;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id.active {
    background: linear-gradient(135deg, rgba(0, 111, 255, 0.25) 0%, rgba(0, 85, 204, 0.15) 100%);
    border-color: rgba(0, 111, 255, 0.4);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id.item-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    position: relative;
    filter: grayscale(0.6);
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id.item-disabled::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    pointer-events: none;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id.item-disabled:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id .stock-unavailable {
    color: #ef4444 !important;
    font-weight: 600;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id .stock-remaining {
    color: #10b981 !important;
    font-weight: 600;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id .data {
    display: none;
}

/* Иконка товара - Liquid Glass */
.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id > .image {
    width: 56px;
    height: 56px;
    background-size: 105%;
    background-repeat: no-repeat;
    background-position: center 40%;
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id:hover > .image {
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 6px 20px rgba(0, 0, 0, 0.25);
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id > .block-info {
    margin-left: 16px;
    flex: 1;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id > .block-info > .title {
    font-weight: 600;
    font-size: 18px;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id.active > .block-info > .title {
    font-family: 'Montserrat', sans-serif;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id > .block-info > .subinfo {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #666666;
    display: block;
    margin-top: 4px;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id > .block-info > .subinfo:empty {
    display: none;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id.active > .block-info > .subinfo {
    color: rgba(255, 255, 255, 0.63);
}

/* Стили для информации о лимите товара */
.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id > .block-info > .subinfo.stock-unavailable {
    color: #ef4444 !important;
    font-weight: 600;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id > .block-info > .subinfo.stock-remaining {
    color: #10b981 !important;
    font-weight: 600;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id.active > .block-info > .subinfo.stock-unavailable {
    color: #ef4444 !important;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id.active > .block-info > .subinfo.stock-remaining {
    color: #10b981 !important;
}

/* Цена */
.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id > .block-price {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id > .block-price > .price {
    text-align: right;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id > .block-price > .price > .current-price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id > .block-price > .price > .current-price::after {
    content: "₽ ›";
    margin-left: 2px;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id > .block-price > .discount {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    text-align: right;
    color: #006FFF;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id > .block-price > .discount:empty {
    display: none;
}

.main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id.active > .block-price > .discount {
    color: #3388FF;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ДЕТАЛИ ТОВАРА
   ───────────────────────────────────────────────────────────────────────────── */
.main .custom-tabs > .tabs-wrapper > .item {
    flex: 1;
    min-width: 0;
    margin-left: 32px;
    position: relative;
}

.main .custom-tabs > .tabs-wrapper > .item > .close-item {
    width: 100%;
    height: 40px;
    background-color: #1a1a1a;
    text-align: center;
    color: #fff;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 11;
    font-size: 32px;
    display: none;
}

/* ─── Заголовок товара (шапка) - Liquid Glass ─── */
.main .custom-tabs > .tabs-wrapper > .item > .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    background: linear-gradient(135deg, rgba(0, 111, 255, 0.6) 0%, rgba(0, 85, 204, 0.4) 50%, rgba(0, 128, 192, 0.5) 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    background-size: 200% 200%;
    animation: title-bg-flow 8s ease infinite;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 15px 40px rgba(0, 111, 255, 0.25),
        0 0 80px rgba(0, 111, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Анимация фона */
@keyframes title-bg-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Декоративные блики - Liquid Glass */
.main .custom-tabs > .tabs-wrapper > .item > .title::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 35%),
        radial-gradient(ellipse at 70% 80%, rgba(51, 136, 255, 0.15) 0%, transparent 40%);
    pointer-events: none;
    animation: liquidGlassShimmer 10s ease-in-out infinite;
}

@keyframes liquidGlassShimmer {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
    33% { transform: translate(10px, 10px) rotate(2deg); opacity: 0.8; }
    66% { transform: translate(-5px, 5px) rotate(-1deg); opacity: 0.9; }
}

/* Левая часть - текст */
.main .custom-tabs > .tabs-wrapper > .item > .title > .title-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.main .custom-tabs > .tabs-wrapper > .item > .title > .title-left > .title-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main .custom-tabs > .tabs-wrapper > .item > .title .title-wrapper {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

/* Иконка товара справа */
.main .custom-tabs > .tabs-wrapper > .item > .title > .title-icon {
    position: relative;
    z-index: 1;
}

.main .custom-tabs > .tabs-wrapper > .item > .title > .title-icon .product-icon {
    width: 68px;
    height: 68px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 18px;
    background-size: 105%;
    background-position: center 40%;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.main .custom-tabs > .tabs-wrapper > .item > .title > .discount {
    display: none;
}

/* ─── Описание товара - Liquid Glass ─── */
.main .custom-tabs > .tabs-wrapper > .item > .description {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0.05) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 28px;
    margin-top: 16px;
    position: relative;
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.main .custom-tabs > .tabs-wrapper > .item > .description::-webkit-scrollbar {
    width: 6px;
}

.main .custom-tabs > .tabs-wrapper > .item > .description::-webkit-scrollbar-track {
    background: transparent;
}

.main .custom-tabs > .tabs-wrapper > .item > .description::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.main .custom-tabs > .tabs-wrapper > .item > .description::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.main .custom-tabs > .tabs-wrapper > .item > .description:empty {
    display: none;
}

/* ─── Заглушка когда товар не выбран - Liquid Glass ─── */
.main .custom-tabs > .tabs-wrapper > .item > .item-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 50px;
    margin-top: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0.05) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-placeholder .placeholder-icon {
    color: #333;
    margin-bottom: 24px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-placeholder .placeholder-icon svg {
    width: 80px;
    height: 80px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-placeholder .placeholder-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-placeholder .placeholder-hint {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    max-width: 300px;
}

/* Скрываем заглушку когда товар выбран */
.main .custom-tabs > .tabs-wrapper > .item.has-item > .item-placeholder {
    display: none;
}

/* Скрываем контент когда товар НЕ выбран */
.main .custom-tabs > .tabs-wrapper > .item:not(.has-item) > .description,
.main .custom-tabs > .tabs-wrapper > .item:not(.has-item) > .username-block,
.main .custom-tabs > .tabs-wrapper > .item:not(.has-item) > .item-wrapper {
    display: none;
}

/* Заголовок h3 */
.main .custom-tabs > .tabs-wrapper > .item > .description h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main .custom-tabs > .tabs-wrapper > .item > .description h3::before {
    content: "⭐";
    font-size: 14px;
}

/* Второй и последующие h3 - отступ сверху */
.main .custom-tabs > .tabs-wrapper > .item > .description h3:not(:first-child) {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.main .custom-tabs > .tabs-wrapper > .item > .description h2 {
    display: none;
}

/* Список возможностей */
.main .custom-tabs > .tabs-wrapper > .item > .description ul,
.main .custom-tabs > .tabs-wrapper > .item > .description ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.main .custom-tabs > .tabs-wrapper > .item > .description ul li,
.main .custom-tabs > .tabs-wrapper > .item > .description ol li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
}

.main .custom-tabs > .tabs-wrapper > .item > .description ul li:last-child,
.main .custom-tabs > .tabs-wrapper > .item > .description ol li:last-child {
    border-bottom: none;
}

.main .custom-tabs > .tabs-wrapper > .item > .description ul li:hover,
.main .custom-tabs > .tabs-wrapper > .item > .description ol li:hover {
    background: rgba(255, 255, 255, 0.02);
    margin: 0 -16px;
    padding: 16px;
    border-radius: 8px;
}

/* Точка перед элементом */
.main .custom-tabs > .tabs-wrapper > .item > .description ul li::before,
.main .custom-tabs > .tabs-wrapper > .item > .description ol li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #f97316;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 14px;
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.5);
}

/* Текст слева (span) */
.main .custom-tabs > .tabs-wrapper > .item > .description ul li span,
.main .custom-tabs > .tabs-wrapper > .item > .description ol li span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    flex: 1;
}

/* Значение справа (strong) */
.main .custom-tabs > .tabs-wrapper > .item > .description ul li strong,
.main .custom-tabs > .tabs-wrapper > .item > .description ol li strong {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #ffffff;
    text-align: right;
    margin-left: 20px;
}

/* Примечание .note */
.main .custom-tabs > .tabs-wrapper > .item > .description .note,
.main .custom-tabs > .tabs-wrapper > .item > .description p.note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 14px 18px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #22c55e;
}

/* Обычный параграф (не .note) */
.main .custom-tabs > .tabs-wrapper > .item > .description p:not(.note) {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 16px 0 0 0;
}

.main .custom-tabs > .tabs-wrapper > .item > [type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 291px;
    height: 72px;
    line-height: 72px;
    color: #fff;
    background-color: #006FFF;
    border: 0;
    outline: none;
    border-radius: 10px;
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(0, 111, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.main .custom-tabs > .tabs-wrapper > .item > [type="submit"]:hover {
    background-color: #3388FF;
    box-shadow: 0 6px 30px rgba(0, 111, 255, 0.4);
    transform: translateY(-2px);
}

.main .custom-tabs > .tabs-wrapper > .item > [type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper {
    display: none;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper.active {
    display: block;
}

/* ─────────────────────────────────────────────────────────────────────────────
   БЛОК ВВОДА НИКА
   ───────────────────────────────────────────────────────────────────────────── */
.main .custom-tabs > .tabs-wrapper > .item > .username-block {
    margin-top: 16px;
}

.main .custom-tabs > .tabs-wrapper > .item > .username-block .username-input {
    padding: 0;
}

.main .custom-tabs > .tabs-wrapper > .item > .username-block .username-input input {
    width: 100%;
    height: 60px;
    padding: 0 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.main .custom-tabs > .tabs-wrapper > .item > .username-block .username-input input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.main .custom-tabs > .tabs-wrapper > .item > .username-block .username-input input:focus {
    outline: none;
    border-color: rgba(0, 111, 255, 0.5);
    background: linear-gradient(135deg, rgba(0, 111, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    box-shadow: 
        0 8px 25px rgba(0, 111, 255, 0.15),
        0 0 40px rgba(0, 111, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.main .custom-tabs > .tabs-wrapper > .item > .username-block .username-input .input-error {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #ef4444;
    margin-top: 8px;
    display: none;
}

.main .custom-tabs > .tabs-wrapper > .item > .username-block .username-input .input-success {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #22c55e;
    margin-top: 8px;
    display: none;
}

/* Скрываем глобальный username-block для типов с количеством */
/* Скрываем старый username-block - теперь ник внутри checkout-wrapper */
.main .custom-tabs > .tabs-wrapper > .item > .username-block {
    display: none !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   БЛОК ВВОДА НИКА (внутри item-wrapper)
   ───────────────────────────────────────────────────────────────────────────── */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .username-block-inner {
    margin-top: 16px;
    position: relative;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .username-block-inner input {
    width: 100%;
    height: 60px;
    padding: 0 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .username-block-inner input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .username-block-inner input:focus {
    outline: none;
    border-color: rgba(0, 111, 255, 0.5);
    background: linear-gradient(135deg, rgba(0, 111, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    box-shadow: 
        0 8px 25px rgba(0, 111, 255, 0.15),
        0 0 40px rgba(0, 111, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .username-block-inner .input-error {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #ef4444;
    margin-top: 8px;
    display: none;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .username-block-inner .input-success {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #22c55e;
    margin-top: 8px;
    display: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CHECKOUT WRAPPER (НИК + ЦЕНА + КНОПКА) - Liquid Glass
   ───────────────────────────────────────────────────────────────────────────── */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .checkout-wrapper {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0.05) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    margin-top: 16px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .checkout-wrapper .username-block-inner {
    margin-top: 0;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .checkout-wrapper .username-block-inner input {
    height: 52px;
    border-radius: 14px;
    box-shadow: none;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .checkout-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .checkout-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .checkout-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .checkout-icon svg {
    width: 24px;
    height: 24px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .checkout-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .checkout-price .purchase-amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .checkout-price .purchase-discount {
    display: none;
    padding: 5px 10px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #22c55e;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .checkout-price .purchase-discount:not(:empty) {
    display: inline-flex;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .checkout-wrapper .purchase-btn {
    min-width: 140px;
    height: 52px;
    padding: 0 28px;
}

/* Все типы теперь используют checkout-wrapper */

/* ─────────────────────────────────────────────────────────────────────────────
   БЛОК ПОКУПКИ (ЦЕНА + КНОПКА)
   ───────────────────────────────────────────────────────────────────────────── */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .purchase-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0.05) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px 28px;
    margin-top: 16px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .purchase-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Скидка в блоке покупки */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .purchase-discount {
    display: none;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #22c55e;
    margin-left: 12px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .purchase-discount:not(:empty) {
    display: inline-block;
}

/* Скрываем скидку в шапке */
.main .custom-tabs > .tabs-wrapper > .item > .title > .discount {
    display: none !important;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .purchase-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .purchase-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .purchase-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper .purchase-amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

/* ─────────────────────────────────────────────────────────────────────────────
   КНОПКА ПРИОБРЕСТИ
   ───────────────────────────────────────────────────────────────────────────── */
.main .custom-tabs > .tabs-wrapper > .item .purchase-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 200px;
    height: 60px;
    padding: 0 40px;
    color: #fff;
    background: linear-gradient(135deg, #006FFF 0%, #0055CC 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    outline: none;
    border-radius: 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.3px;
    box-shadow: 
        0 4px 15px rgba(0, 85, 204, 0.25),
        0 0 30px rgba(0, 85, 204, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Блик на кнопке */
.main .custom-tabs > .tabs-wrapper > .item .purchase-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
}

.main .custom-tabs > .tabs-wrapper > .item .purchase-btn:hover::before {
    left: 100%;
}

/* Стрелка */
.main .custom-tabs > .tabs-wrapper > .item .purchase-btn::after {
    content: "›";
    font-size: 22px;
    font-weight: 400;
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.main .custom-tabs > .tabs-wrapper > .item .purchase-btn:hover::after {
    transform: translateX(3px);
}

.main .custom-tabs > .tabs-wrapper > .item .purchase-btn:hover {
    background: linear-gradient(135deg, #006FFF 0%, #0055CC 100%);
    box-shadow: 
        0 6px 20px rgba(0, 85, 204, 0.3),
        0 0 40px rgba(0, 85, 204, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.main .custom-tabs > .tabs-wrapper > .item .purchase-btn:active {
    filter: brightness(0.95);
    box-shadow: 
        0 2px 8px rgba(0, 85, 204, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.main .custom-tabs > .tabs-wrapper > .item .purchase-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: linear-gradient(135deg, #3a3f4b 0%, #2d3139 100%);
    box-shadow: none;
    filter: none;
}

.main .custom-tabs > .tabs-wrapper > .item .purchase-btn:disabled::before {
    display: none;
}

.main .custom-tabs > .tabs-wrapper > .item .purchase-btn:disabled:hover {
    filter: none;
}

.main .custom-tabs > .tabs-wrapper > .item .purchase-btn:disabled:hover::after {
    transform: none;
}

/* Скрываем старую кнопку */
.main .custom-tabs > .tabs-wrapper > .item > [type="submit"] {
    display: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ТИП: CASES
   ───────────────────────────────────────────────────────────────────────────── */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] > .amount {
    position: relative;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] > .amount-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 26px;
    color: #ffffff;
    padding-top: 56px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] > .amount-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 25px;
    color: #999999;
    padding-top: 27px;
    padding-bottom: 54px;
}

/* Новый макет для кейсов */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] > .cases-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

/* Блок выбора количества - Liquid Glass */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-selector {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0.05) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

/* Блик сверху */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-selector::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    pointer-events: none;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-selector-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-selector-hint {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

/* Блок количества с новым слайдером */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-amount {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 8px;
}

/* Слайдер - стилизованный range input */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-slider {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    height: 8px;
    background: linear-gradient(90deg, rgba(0, 111, 255, 0.3) 0%, rgba(0, 111, 255, 0.1) 100%);
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Трек для Webkit (Chrome, Safari, Edge) */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-slider::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 10px;
    background: transparent;
}

/* Ползунок для Webkit */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #3388FF 0%, #006FFF 100%);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 
        0 4px 15px rgba(0, 111, 255, 0.5),
        0 0 20px rgba(0, 111, 255, 0.3);
    margin-top: -10px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 
        0 6px 20px rgba(0, 111, 255, 0.6),
        0 0 30px rgba(0, 111, 255, 0.4);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-slider::-webkit-slider-thumb:active {
    transform: scale(1.05);
}

/* Трек для Firefox */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-slider::-moz-range-track {
    height: 8px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(0, 111, 255, 0.3) 0%, rgba(0, 111, 255, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ползунок для Firefox */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #3388FF 0%, #006FFF 100%);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 
        0 4px 15px rgba(0, 111, 255, 0.5),
        0 0 20px rgba(0, 111, 255, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
}

/* Блок с отображением значения */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-slider-info {
    display: flex;
    align-items: baseline;
    gap: 4px;
    min-width: 70px;
    justify-content: flex-end;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-slider-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-slider-suffix {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

/* Линейка под слайдером */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-slider-scale {
    display: flex;
    justify-content: space-between;
    padding: 8px 2px 0;
    margin-right: 90px;
    position: relative;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-slider-scale::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.2) 0px,
        rgba(255, 255, 255, 0.2) 1px,
        transparent 1px,
        transparent 10px
    );
    border-radius: 2px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-slider-scale span {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    position: relative;
    cursor: pointer;
    transition: color 0.2s ease;
    padding-top: 4px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-slider-scale span::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-slider-scale span:hover {
    color: rgba(255, 255, 255, 0.8);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-slider-scale span:first-child {
    transform: translateX(-2px);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-slider-scale span:last-child {
    transform: translateX(2px);
}

/* Блок результата - Liquid Glass */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-result {
    background: linear-gradient(135deg, rgba(0, 111, 255, 0.6) 0%, rgba(0, 85, 204, 0.4) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 15px 40px rgba(0, 111, 255, 0.3),
        0 0 60px rgba(0, 111, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Анимация блика */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-result::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 35%),
        radial-gradient(ellipse at 70% 80%, rgba(51, 136, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
    animation: liquidGlassShimmer 10s ease-in-out infinite;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-result-icon .image {
    width: 56px;
    height: 56px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-result-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-result-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-result-info .result {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-result-info .discount {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] .cases-result-info .discount:empty {
    display: none;
}

/* Скрываем старые элементы кейсов */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] > .amount-title,
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] > .amount-description,
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] > .amount,
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] > .results-wrapper {
    display: none;
}

/* Адаптив для кейсов */
@media (max-width: 600px) {
    .main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] > .cases-grid {
        grid-template-columns: 1fr;
}
}

/* Скрываем дублирующееся поле ника - используем общее поле username-block */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] > .form-wrapper,
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] > .form-wrapper,
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="other"] > .form-wrapper {
    display: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ТИП: MONEY (новый макет)
   ───────────────────────────────────────────────────────────────────────────── */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] > .money-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

/* Блок ввода количества - Liquid Glass */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] .money-input-block {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0.05) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

/* Блик сверху */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] .money-input-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    pointer-events: none;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] .money-input-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] .money-input-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] .money-input-hint {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] .money-input-field {
    position: relative;
    display: flex;
    align-items: center;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] .money-input-field input {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 0 100px 0 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] .money-input-field input:focus {
    border-color: rgba(0, 111, 255, 0.5);
    background: linear-gradient(135deg, rgba(0, 111, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    box-shadow: 
        0 8px 25px rgba(0, 111, 255, 0.15),
        0 0 40px rgba(0, 111, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] .money-input-field input::placeholder {
    color: #444;
    font-weight: 400;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] .money-input-suffix {
    position: absolute;
    right: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] .money-input-block .result-error {
    margin-top: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #ef4444;
}

/* Блок результата - Liquid Glass */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] .money-result {
    background: linear-gradient(135deg, rgba(0, 111, 255, 0.6) 0%, rgba(0, 85, 204, 0.4) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 15px 40px rgba(0, 111, 255, 0.3),
        0 0 60px rgba(0, 111, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Анимация блика */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] .money-result::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 35%),
        radial-gradient(ellipse at 70% 80%, rgba(51, 136, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
    animation: liquidGlassShimmer 10s ease-in-out infinite;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] .money-result-icon .image {
    width: 56px;
    height: 56px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] .money-result-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] .money-result-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] .money-result-info .result {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
}

/* Скрываем старые элементы */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] > .amount-title,
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] > .results-wrapper {
    display: none;
}

/* Адаптив для money */
@media (max-width: 600px) {
    .main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] > .money-grid {
        grid-template-columns: 1fr;
    }
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] > .results-wrapper > .result-price input.error {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] > .results-wrapper > .result-error {
    position: absolute;
    top: 100%;
    left: 0;
    line-height: 32px;
    color: #ef4444;
    font-size: 12px;
    display: none;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] > .form-wrapper {
    width: 292px;
    max-width: 100%;
    padding-top: 32px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ТИП: OTHER
   ───────────────────────────────────────────────────────────────────────────── */
.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="other"] > .amount-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 26px;
    color: #ffffff;
    padding-top: 50px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="other"] > .results-wrapper {
    display: flex;
    align-items: start;
    padding-top: 54px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="other"] > .results-wrapper > .result-amount {
    background-color: #006FFF;
    border-radius: 9px;
    height: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 408px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(0, 111, 255, 0.3);
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="other"] > .results-wrapper > .result-amount > .image {
    width: 37px;
    height: 37px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 17px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="other"] > .results-wrapper > .result-amount > .result {
    width: 143px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
    color: #fff;
    text-align: center;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="other"] > .results-wrapper > .result-price {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 405px;
    margin-left: -10px;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="other"] > .results-wrapper > .result-price input {
    border-radius: 9px;
    height: 115px;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 20px;
    text-align: center;
    color: #ffffff;
    background-color: #0a0a0a;
    border: 1px solid #1a1a1a;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="other"] > .results-wrapper > .result-price input:not(:focus) {
    border-color: #1a1a1a;
}

.main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="other"] > .form-wrapper {
    width: 292px;
    max-width: 100%;
    padding-top: 32px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   МОДАЛЬНЫЕ ОКНА
   ───────────────────────────────────────────────────────────────────────────── */
.modal > .wrapper > .modal-content .input-block {
    padding-bottom: 17px;
}

.modal > .wrapper > .modal-content .input-block.hidden {
    display: none;
}

.input-block input.invalid,
.custom-select-render.invalid > .select-wrapper {
    border: 1px solid #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.05) !important;
}

.input-block .input-error,
.input-block .input-success {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    display: none;
    color: #ef4444;
    line-height: 16px;
    padding-top: 14px;
    width: 479px;
}

.input-block .input-success {
    color: #006FFF;
}

/* ─────────────────────────────────────────────────────────────────────────────
   МОДАЛЬНОЕ ОКНО: BUY (новый дизайн)
   ───────────────────────────────────────────────────────────────────────────── */
.modal[data-id="buy"] > .wrapper {
    width: 580px;
    max-width: 95%;
}

.modal[data-id="buy"] > .wrapper > .modal-content {
    padding: 0;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.95) 0%, rgba(15, 15, 15, 0.98) 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(0, 111, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Шапка - Liquid Glass */
.modal[data-id="buy"] .modal-header-new {
    background: linear-gradient(135deg, rgba(0, 111, 255, 0.6) 0%, rgba(0, 85, 204, 0.4) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 32px 36px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal[data-id="buy"] .modal-header-new::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 35%),
        radial-gradient(ellipse at 70% 80%, rgba(51, 136, 255, 0.15) 0%, transparent 40%);
    pointer-events: none;
    animation: liquidGlassShimmer 10s ease-in-out infinite;
}

.modal[data-id="buy"] .modal-header-new .modal-header-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
}

.modal[data-id="buy"] .modal-header-new .modal-header-title {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

/* Тело модалки */
.modal[data-id="buy"] > .wrapper > .modal-content > .modal-body {
    padding: 32px 36px 0;
}

.modal[data-id="buy"] .modal-body .input-block {
    margin-bottom: 12px;
}

.modal[data-id="buy"] .modal-body .input-block:last-child {
    margin-bottom: 0;
}

.modal[data-id="buy"] .modal-body .input-block.hidden {
    display: none;
}

.modal[data-id="buy"] .modal-body input[type="text"],
.modal[data-id="buy"] .modal-body input[type="email"] {
    width: 100%;
    height: 64px;
    padding: 0 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.modal[data-id="buy"] .modal-body input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.modal[data-id="buy"] .modal-body input:focus {
    outline: none;
    background: linear-gradient(135deg, rgba(0, 111, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(0, 111, 255, 0.5);
    box-shadow: 
        0 0 30px rgba(0, 111, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Футер с ценой и кнопкой - Liquid Glass */
.modal[data-id="buy"] .modal-footer-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 36px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modal[data-id="buy"] .modal-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.modal[data-id="buy"] .modal-price-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

.modal[data-id="buy"] .modal-price-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
}

.modal[data-id="buy"] .btn-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 200px;
    height: 60px;
    padding: 0 40px;
    color: #fff;
    background: linear-gradient(135deg, #006FFF 0%, #0055CC 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    outline: none;
    border-radius: 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.3px;
    box-shadow: 
        0 4px 15px rgba(0, 85, 204, 0.25),
        0 0 30px rgba(0, 85, 204, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Блик на кнопке */
.modal[data-id="buy"] .btn-check::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
}

.modal[data-id="buy"] .btn-check:hover::before {
    left: 100%;
}

/* Стрелка */
.modal[data-id="buy"] .btn-check::after {
    content: "›";
    font-size: 22px;
    font-weight: 400;
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.modal[data-id="buy"] .btn-check:hover::after {
    transform: translateX(3px);
}

.modal[data-id="buy"] .btn-check:hover {
    background: linear-gradient(135deg, #006FFF 0%, #0055CC 100%);
    box-shadow: 
        0 6px 20px rgba(0, 85, 204, 0.3),
        0 0 40px rgba(0, 85, 204, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.modal[data-id="buy"] .btn-check:active {
    filter: brightness(0.95);
    box-shadow: 
        0 2px 8px rgba(0, 85, 204, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.modal[data-id="buy"] .btn-check:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: linear-gradient(135deg, #3a3f4b 0%, #2d3139 100%);
    box-shadow: none;
    filter: none;
}

.modal[data-id="buy"] .btn-check:disabled::before {
    display: none;
}

.modal[data-id="buy"] .btn-check:disabled:hover {
    filter: none;
}

.modal[data-id="buy"] .btn-check:disabled:hover::after {
    transform: none;
}

/* Текст соглашения */
.modal[data-id="buy"] .modal-subinfo-new {
    padding: 24px 36px 32px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.modal[data-id="buy"] .modal-subinfo-new .accent {
    color: #006FFF;
}

.modal[data-id="buy"] .modal-subinfo-new a {
    color: #006FFF;
    text-decoration: none;
}

.modal[data-id="buy"] .modal-subinfo-new a:hover {
    text-decoration: underline;
}

/* Кнопка закрытия - Liquid Glass */
.modal[data-id="buy"] > .wrapper > .modal-content > .close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff !important;
    text-decoration: none;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.modal[data-id="buy"] > .wrapper > .modal-content > .close-modal svg {
    width: 18px;
    height: 18px;
}

.modal[data-id="buy"] > .wrapper > .modal-content > .close-modal:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
}

.modal[data-id="buy"] .input-block .input-error,
.modal[data-id="buy"] .input-block .input-success {
    width: 100%;
    font-size: 12px;
    margin-top: 6px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   МОДАЛЬНОЕ ОКНО: CONFIRM-USERNAME
   ───────────────────────────────────────────────────────────────────────────── */
.modal[data-id="confirm-username"] > .wrapper > .modal-content > .modal-body {
    width: 292px;
    max-width: 100%;
    margin: auto;
    padding: 0;
}

.modal[data-id="confirm-username"] > .wrapper > .modal-content .confirm-parts {
    display: grid;
    grid-gap: 40px;
    grid-template-columns: 100%;
}

.modal[data-id="confirm-username"] > .wrapper > .modal-content [type="submit"] {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #006FFF;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(0, 111, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.modal[data-id="confirm-username"] > .wrapper > .modal-content [type="submit"]:hover {
    background: #3388FF;
    box-shadow: 0 6px 30px rgba(0, 111, 255, 0.4);
    transform: translateY(-2px);
}

.modal[data-id="confirm-username"] > .wrapper > .modal-content [type="submit"]:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.modal[data-id="confirm-username"] > .wrapper > .modal-content [type="submit"]:after {
    display: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   МОДАЛЬНОЕ ОКНО: CONFIRM
   ───────────────────────────────────────────────────────────────────────────── */
.modal[data-id="confirm"] > .wrapper > .modal-content > .modal-body {
    padding: 40px 0 0 0;
}

.modal[data-id="confirm"] .parts {
    display: grid;
    grid-gap: 40px;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.modal[data-id="confirm"] .parts #confirm-choice,
.modal[data-id="confirm"] .parts #alter-choice {
    height: 200px;
    background-color: #1a1a1a;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    padding: 40px;
    background-origin: content-box;
    box-sizing: border-box;
    display: block;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    background-image: url("/uploads/template/img/methods/qiwi.svg");
    border: 1px solid #1a1a1a;
}

.modal[data-id="confirm"] .parts #alter-choice {
    height: 160px;
    width: 100%;
    padding: 20px;
    background-image: url("/uploads/template/img/methods/card.svg");
}

.modal[data-id="confirm"] .parts #confirm-choice:hover,
.modal[data-id="confirm"] .parts #alter-choice:hover {
    border-color: #006FFF;
    box-shadow: 0 4px 20px rgba(0, 111, 255, 0.2);
}

.modal[data-id="confirm"] .parts #confirm-choice > .price,
.modal[data-id="confirm"] .parts #alter-choice > .price {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 40px;
    color: #ffffff;
}

.modal[data-id="confirm"] .parts .text {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: #1a1a1a;
    text-align: center;
    width: 100%;
    border-radius: 10px;
    height: 32px;
    margin-top: 8px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   МОДАЛЬНОЕ ОКНО: COMMISSION
   ───────────────────────────────────────────────────────────────────────────── */
.modal[data-id="commission"] .btn {
    height: 60px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    max-width: 100%;
    background: #006FFF;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(0, 111, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.modal[data-id="commission"] .btn:hover {
    background: #3388FF;
    box-shadow: 0 6px 30px rgba(0, 111, 255, 0.4);
    transform: translateY(-2px);
}

.modal[data-id="commission"] .btn.btn-transparent {
    background-color: transparent;
    border: 1px solid #1a1a1a;
    color: #999999;
    box-shadow: none;
}

.modal[data-id="commission"] .btn.btn-transparent:hover {
    border-color: #006FFF;
    color: #ffffff;
}

.modal[data-id="commission"] .btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.modal[data-id="commission"] .btn:after {
    display: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   МОДАЛЬНОЕ ОКНО: METHOD
   ───────────────────────────────────────────────────────────────────────────── */
.modal[data-id="method"] {
    background-color: transparent;
}

.modal[data-id="method"] > .wrapper {
    width: 680px;
    max-width: 95%;
}

.modal[data-id="method"] > .wrapper > .modal-content {
    padding: 0;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.95) 0%, rgba(15, 15, 15, 0.98) 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(0, 111, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.modal[data-id="method"] > .wrapper > .modal-content > .modal-header {
    background: linear-gradient(135deg, rgba(0, 111, 255, 0.6) 0%, rgba(0, 85, 204, 0.4) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 32px 36px;
    margin: 0;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.modal[data-id="method"] > .wrapper > .modal-content > .modal-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 35%),
        radial-gradient(ellipse at 70% 80%, rgba(51, 136, 255, 0.15) 0%, transparent 40%);
    pointer-events: none;
    animation: liquidGlassShimmer 10s ease-in-out infinite;
}

.modal[data-id="method"] > .wrapper > .modal-content > .close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff !important;
    text-decoration: none;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.modal[data-id="method"] > .wrapper > .modal-content > .close-modal:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
}

.modal[data-id="method"] > .wrapper > .modal-content > .modal-body {
    padding: 28px 36px 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal[data-id="method"] .methods {
    display: grid;
    grid-gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    align-items: start;
}

.modal[data-id="method"] .methods > li {
    list-style: none;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 18px 14px;
    display: flex;
    gap: 10px;
    flex-direction: column;
    font-size: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.modal[data-id="method"] .methods > li * {
    font-family: 'Montserrat', sans-serif;
}

.modal[data-id="method"] .methods > li:hover {
    border-color: rgba(0, 111, 255, 0.5);
    background: linear-gradient(135deg, rgba(0, 111, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: 
        0 8px 30px rgba(0, 111, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.modal[data-id="method"] .methods > li > .block-top {
    display: grid;
    grid-gap: 12px;
    grid-template-columns: 52px 1fr;
    align-items: center;
    font-weight: 600;
}

.modal[data-id="method"] .methods > li > .block-top > .image {
    width: 52px;
    height: 52px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.modal[data-id="method"] .methods > li > .block-top > .subtext {
    text-align: left;
    display: flex;
    gap: 2px;
    flex-direction: column;
    justify-content: center;
    font-size: 13px;
}

.modal[data-id="method"] .methods > li > .block-footer {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.modal[data-id="method"] .methods > li > .block-footer > .commission {
    text-align: right;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.modal[data-id="method"] .methods > li > .block-footer > .icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
}

.modal[data-id="method"] .methods > li[data-crypto="false"] {
    display: none;
}

.modal[data-id="method"] .methods > li:not(.crypto-all):after {
    display: none;
    content: "✔";
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    color: #006FFF;
    top: 12px;
    right: 12px;
    font-size: 14px;
}

.modal[data-id="method"] .methods > li.active:after,
.modal[data-id="method"] .methods > li:active:after {
    display: flex;
}

/* Payment method icons */
.modal[data-id="method"] .methods > li .image[data-icon="card"] {
    background-image: url("/uploads/template/img/methods/card.svg");
    padding: 16px;
}

.modal[data-id="method"] .methods > li .image[data-icon="cards"] {
    background-image: url("/uploads/template/img/methods/card.svg");
    padding: 16px;
}

.modal[data-id="method"] .methods > li .image[data-icon="card3"] {
    background-image: url("/uploads/template/img/methods/card3.svg");
    padding: 16px;
}

.modal[data-id="method"] .methods > li .image[data-icon="yandex"] {
    background-image: url("/uploads/template/img/methods/yandexpay.svg?1");
}

.modal[data-id="method"] .methods > li .image[data-icon="tinkoff"] {
    background-image: url("/uploads/template/img/methods/tinkoff.svg?1");
}

.modal[data-id="method"] .methods > li .image[data-icon="sbp"] {
    width: 72px;
    background-image: url("/uploads/template/img/methods/sbp.svg");
}

.modal[data-id="method"] .methods > li .image[data-icon="crypto"] {
    background-image: url("/uploads/template/img/methods/crypto.svg");
}

.modal[data-id="method"] .methods > li .image[data-icon="bitcoin"] {
    background-image: url("/uploads/template/img/methods/bitcoin.svg");
}

.modal[data-id="method"] .methods > li .image[data-icon="ton"] {
    background-image: url("/uploads/template/img/methods/ton.svg");
}

.modal[data-id="method"] .methods > li .image[data-icon="split"] {
    background-image: url("/uploads/template/img/methods/split.png");
}

.modal[data-id="method"] .methods > li .image[data-icon="ethereum"] {
    background-image: url("/uploads/template/img/methods/ethereum.svg");
}

.modal[data-id="method"] .methods > li .image[data-icon="binance"] {
    background-image: url("/uploads/template/img/methods/binance.svg");
}

.modal[data-id="method"] .methods > li .image[data-icon="bitcoin-cash"] {
    background-image: url("/uploads/template/img/methods/bitcoin-cash.svg");
}

.modal[data-id="method"] .methods > li .image[data-icon="litecoin"] {
    background-image: url("/uploads/template/img/methods/litecoin.svg");
}

.modal[data-id="method"] .methods > li .image[data-icon="dash"] {
    background-image: url("/uploads/template/img/methods/dash.svg");
}

.modal[data-id="method"] .methods > li .image[data-icon="zcash"] {
    background-image: url("/uploads/template/img/methods/zcash.svg");
}

.modal[data-id="method"] .methods > li .image[data-icon="dogecoin"] {
    background-image: url("/uploads/template/img/methods/dogecoin.svg");
}

.modal[data-id="method"] .methods > li .image[data-icon="usdt"] {
    background-image: url("/uploads/template/img/methods/usdt.svg");
}

.modal[data-id="method"] .methods > li .image[data-icon="monero"] {
    background-image: url("/uploads/template/img/methods/monero.svg");
}

.modal[data-id="method"] .methods > li .image[data-icon="tron"] {
    background-image: url("/uploads/template/img/methods/tron.svg");
}

.modal[data-id="method"] .methods > li .image[data-icon="steampay"] {
    background-image: url("/uploads/template/img/methods/steam.svg");
}

.modal[data-id="method"] .methods > li .image[data-icon="beeline"] {
    background-image: url("/uploads/template/img/methods/beeline.svg?2");
}

.modal[data-id="method"] .methods > li .image[data-icon="mts"] {
    background-image: url("/uploads/template/img/methods/mts.svg?1");
}

.modal[data-id="method"] .methods > li .image[data-icon="megafon"] {
    background-image: url("/uploads/template/img/methods/megafon.svg?1");
}

.modal[data-id="method"] .methods > li .image[data-icon="tele2"] {
    background-image: url("/uploads/template/img/methods/tele2.svg?2");
}

/* ─────────────────────────────────────────────────────────────────────────────
   МОДАЛЬНОЕ ОКНО: RESTORE
   ───────────────────────────────────────────────────────────────────────────── */
.modal[data-id="restore"] > .wrapper {
    width: 1024px;
}

.modal[data-id="restore"] > .wrapper > .modal-content > .modal-description {
    text-align: left;
}

.modal[data-id="restore"] > .wrapper > .modal-content > .modal-body {
    padding: 0;
}

.modal[data-id="restore"] .form-wrapper {
    display: grid;
    grid-gap: 17px;
    align-items: start;
    grid-template-columns: repeat(2, 1fr);
}

.modal[data-id="restore"] [type="submit"] {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 292px;
    margin: auto;
    max-width: 100%;
    background: #006FFF;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(0, 111, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.modal[data-id="restore"] [type="submit"]:hover {
    background: #3388FF;
    box-shadow: 0 6px 30px rgba(0, 111, 255, 0.4);
    transform: translateY(-2px);
}

.modal[data-id="restore"] [type="submit"]:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.modal[data-id="restore"] [type="submit"]:after {
    display: none;
}

.modal[data-id="restore"] .attachments {
    display: grid;
    grid-gap: 17px;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
}

.modal[data-id="restore"] .input-block-file {
    display: block;
    box-sizing: border-box;
    width: 100%;
}

.modal[data-id="restore"] .input-block-file > .btn {
    border: 1px solid #1a1a1a;
    box-shadow: none;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    background-color: transparent;
    border-radius: 10px;
    font-size: 16px;
    color: #999999;
    padding: 0 20px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modal[data-id="restore"] .input-block-file > .btn:hover {
    border-color: #006FFF;
    color: #ffffff;
}

.modal[data-id="restore"] .input-block-file > .btn svg {
    margin-right: 8px;
}

.modal[data-id="restore"] .input-block-file > .btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.modal[data-id="restore"] .input-block-file > .btn:after {
    display: none;
}

.modal[data-id="restore"] .warn {
    padding-top: 17px;
    color: #ef4444;
}

.modal[data-id="restore"] > .wrapper > .modal-content .want-receipt {
    display: inline-block;
    padding: 7px 0;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 25px;
    color: #999999;
    transition: color 0.3s ease;
}

.modal[data-id="restore"] > .wrapper > .modal-content .want-receipt:hover {
    color: #ffffff;
    text-decoration: underline;
}

.modal[data-id="restore"] > .wrapper > .modal-content .email-wrapper {
    padding-top: 17px;
    padding-bottom: 13px;
}

.modal[data-id="restore"] > .wrapper > .modal-content .email-wrapper {
    display: none;
}

.modal[data-id="restore"] > .wrapper > .modal-content .email-wrapper > .input-block:last-child {
    padding-bottom: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   АНИМАЦИИ
   ───────────────────────────────────────────────────────────────────────────── */
@keyframes animation-rotate {
    0% {
        transform: rotate(0deg) scale(-1, 1);
    }
    100% {
        transform: rotate(360deg) scale(-1, 1);
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   DARK THEME OVERRIDES (для совместимости)
   ───────────────────────────────────────────────────────────────────────────── */
body.dark-theme .main .custom-tabs > .tabs-wrapper {
    background-color: transparent;
}

body.dark-theme .main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id {
    color: #fff;
}

body.dark-theme .main .custom-tabs > .tabs-wrapper > .items > .item-list > .item-id:not(.active):not(.disabled):hover {
    background-color: rgba(50, 50, 50, 0.8);
}

body.dark-theme .main .pagename {
    color: #fff;
}

body.dark-theme .main .page-description {
    color: #999999;
}

    body.dark-theme .main .custom-tabs > .tabs-wrapper > .items > .item-list {
        scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

body.dark-theme .main .custom-tabs > .tabs-wrapper > .items > .item-list::-webkit-scrollbar-track {
    background-color: transparent;
}

body.dark-theme .main .custom-tabs > .tabs-wrapper > .items > .item-list::-webkit-scrollbar {
    width: 4px;
    background-color: transparent;
}

body.dark-theme .main .custom-tabs > .tabs-wrapper > .items > .item-list::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
}

body.dark-theme .main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="other"] > .results-wrapper > .result-price input,
body.dark-theme .main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="other"] > .amount-title,
body.dark-theme .main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] > .results-wrapper > .result-price > .amount,
body.dark-theme .range-max,
body.dark-theme .noUi-tooltip,
body.dark-theme .main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="cases"] > .amount-title,
body.dark-theme .main .custom-tabs > .tabs-wrapper > .item > .title > .title-wrapper,
body.dark-theme .main .custom-tabs > .tabs-wrapper > .item > .description,
body.dark-theme .main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] > .results-wrapper > .result-price input,
body.dark-theme .main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] > .amount-title {
    color: #fff;
}

body.dark-theme .input-block input.invalid,
body.dark-theme .custom-select-render.invalid > .select-wrapper {
    border: 1px solid #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.1) !important;
}

body.dark-theme .modal[data-id="buy"] > .wrapper > .modal-content > .modal-description {
    color: #999999;
}

body.dark-theme .modal[data-id="buy"] > .wrapper > .modal-content .want-gift,
body.dark-theme .modal[data-id="buy"] > .wrapper > .modal-content .want-receipt {
    color: #999999;
}

body.dark-theme .modal[data-id="buy"] > .wrapper > .modal-content .want-gift:hover,
body.dark-theme .modal[data-id="buy"] > .wrapper > .modal-content .want-receipt:hover {
    color: #ffffff;
}

body.dark-theme .modal[data-id="buy"] > .wrapper > .modal-content > .modal-subinfo > .subinfo-text {
    color: #999999;
}

body.dark-theme .modal[data-id="buy"] > .wrapper > .modal-content .alertblock {
    color: #fff;
}

/* Блок подсказки о скидке в модалке покупки */
.modal[data-id="buy"] .alertblock.alertblock-after {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.08) 100%);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
    position: relative;
}

.modal[data-id="buy"] .alertblock.alertblock-after .text {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #22c55e;
}

.modal[data-id="buy"] .alertblock.alertblock-after .after {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
}

.modal[data-id="buy"] .alertblock.alertblock-after .alertblock-close {
    color: rgba(34, 197, 94, 0.6);
    font-size: 18px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.modal[data-id="buy"] .alertblock.alertblock-after .alertblock-close:hover {
    color: #22c55e;
}

body.dark-theme .modal[data-id="method"] .methods > li {
    color: #fff;
    background-color: #252525;
}

body.dark-theme .modal[data-id="method"] .methods > li:hover {
    background-color: #2a2a2a;
}

body.dark-theme .modal[data-id="confirm"] .parts #confirm-choice,
body.dark-theme .modal[data-id="confirm"] .parts #alter-choice {
    background-color: #1a1a1a;
}

body.dark-theme .modal[data-id="confirm"] .parts #confirm-choice > .price,
body.dark-theme .modal[data-id="confirm"] .parts #alter-choice > .price {
    color: #fff;
}

body.dark-theme .modal[data-id="confirm"] .parts .text {
    color: #fff;
    background-color: #1a1a1a;
}

body.dark-theme .modal[data-id="commission"] > .wrapper > .modal-content > .modal-body {
    color: #999999;
}

body.dark-theme .main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] > .results-wrapper > .result-price input.error {
    background-color: rgba(239, 68, 68, 0.1);
}

body.dark-theme .main .custom-tabs > .tabs-wrapper > .item > .item-wrapper[data-type="money"] > .results-wrapper > .result-price input::placeholder {
    color: #666666;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ФУТЕР
   ───────────────────────────────────────────────────────────────────────────── */
.footer {
    padding: 60px 0 0;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.03) 100%);
}

.footer .footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 40px;
}

.footer .footer-info {
    flex: 1;
    max-width: 500px;
}

.footer .footer-brand {
    display: block;
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-style: italic;
    margin-bottom: 12px;
    text-decoration: none;
}

.footer .footer-brand:hover {
    color: #ffffff;
}

.footer .footer-legal {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin: 0;
    margin-top: 8px;
}

.footer .footer-socials {
    display: flex;
    gap: 16px;
}

.footer .social-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer .social-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.footer .social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
}

.footer .social-icon.telegram {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
}

.footer .social-icon.vk {
    background: linear-gradient(135deg, #4C75A3 0%, #3b5998 100%);
    color: #fff;
}

.footer .social-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer .social-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.footer .social-handle {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.footer .social-handle i {
    font-size: 11px;
    margin-left: 4px;
    opacity: 0.6;
}

.footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer .footer-links {
    display: flex;
    gap: 32px;
}

.footer .footer-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer .footer-links a:hover {
    color: #ffffff;
}

.footer .footer-cards {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer .footer-cards > li {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(0%) brightness(0.5);
    transition: filter 0.3s ease;
}

.footer .footer-cards > li:hover {
    filter: saturate(0%) brightness(0.8);
}

.footer .footer-cards > li.visa {
    background-image: url("../../img/visa.svg");
    width: 70px;
    height: 24px;
}

.footer .footer-cards > li.mastercard {
    background-image: url("../../img/mastercard.svg");
    width: 32px;
    height: 24px;
}

.footer .footer-cards > li.mir {
    background-image: url("../../img/mir.svg");
    width: 90px;
    height: 26px;
}

.footer .footer-copy {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 900px) {
    .footer .footer-main {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer .footer-socials {
        flex-wrap: wrap;
    }
    
    .footer .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }
    
    .footer .footer-cards {
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ТАЙМЕР ОБРАТНОГО ОТСЧЕТА
   ═══════════════════════════════════════════════════════════════════════════ */

.countdown-timer-section {
    margin-bottom: 40px;
}

.countdown-timer {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    padding: 32px 40px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.95) 0%, rgba(30, 30, 40, 0.95) 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

/* Таймер внутри слайда */
.slider-slide-timer .countdown-timer {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border-radius: 28px;
    margin: 0;
}

.slider-slide-timer {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.countdown-timer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.countdown-timer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
    opacity: 0.5;
}

.countdown-timer-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.countdown-timer-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.countdown-timer-title svg {
    width: 24px;
    height: 24px;
    color: rgba(124, 58, 237, 0.8);
    flex-shrink: 0;
}

.countdown-timer-display {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 80px;
}

.countdown-value {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(124, 58, 237, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-separator {
    font-size: 36px;
    font-weight: 700;
    color: rgba(124, 58, 237, 0.6);
    line-height: 1;
    margin-top: -12px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Адаптивность для таймера */
@media (max-width: 768px) {
    .countdown-timer {
        padding: 24px 20px;
        min-height: 160px;
    }
    
    .countdown-timer-title {
        font-size: 16px;
        gap: 10px;
    }
    
    .countdown-timer-title svg {
        width: 20px;
        height: 20px;
    }
    
    .countdown-timer-display {
        gap: 12px;
    }
    
    .countdown-item {
        min-width: 60px;
        gap: 6px;
    }
    
    .countdown-value {
        font-size: 36px;
    }
    
    .countdown-label {
        font-size: 11px;
    }
    
    .countdown-separator {
        font-size: 28px;
        margin-top: -8px;
    }
}

@media (max-width: 480px) {
    .countdown-timer {
        padding: 20px 16px;
        min-height: 140px;
    }
    
    .countdown-timer-title {
        font-size: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .countdown-timer-display {
        gap: 8px;
    }
    
    .countdown-item {
        min-width: 50px;
    }
    
    .countdown-value {
        font-size: 28px;
    }
    
    .countdown-label {
        font-size: 10px;
    }
    
    .countdown-separator {
        font-size: 22px;
        margin-top: -6px;
    }
}

/* Состояние "Сервер открыт!" */
.countdown-timer-opened-state {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.2) 50%, rgba(21, 128, 61, 0.15) 100%);
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(34, 197, 94, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.countdown-timer-opened-state .countdown-timer-bg {
    background: radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.25) 0%, transparent 70%);
}

.countdown-timer-opened {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.countdown-opened-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
    border: 2px solid rgba(34, 197, 94, 0.4);
    box-shadow: 
        0 0 30px rgba(34, 197, 94, 0.3),
        inset 0 2px 10px rgba(34, 197, 94, 0.1);
    animation: pulseGreen 2s ease-in-out infinite;
}

@keyframes pulseGreen {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(34, 197, 94, 0.3),
            inset 0 2px 10px rgba(34, 197, 94, 0.1);
        transform: scale(1);
    }
    50% {
        box-shadow: 
            0 0 50px rgba(34, 197, 94, 0.5),
            inset 0 2px 10px rgba(34, 197, 94, 0.2);
        transform: scale(1.05);
    }
}

.countdown-opened-icon svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.5));
}

.countdown-opened-text {
    font-size: 32px;
    font-weight: 800;
    color: #22c55e;
    text-align: center;
    letter-spacing: 1px;
    /* Улучшение качества рендеринга текста */
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Стабильный text-shadow без анимации для четкости */
    text-shadow: 
        0 0 25px rgba(34, 197, 94, 0.7),
        0 2px 8px rgba(0, 0, 0, 0.4),
        0 0 1px rgba(34, 197, 94, 0.9);
    /* Предотвращение размытия при трансформациях */
    will-change: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Адаптивность для состояния "Сервер открыт!" */
@media (max-width: 768px) {
    .countdown-opened-icon {
        width: 64px;
        height: 64px;
    }
    
    .countdown-opened-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .countdown-opened-text {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .countdown-opened-icon {
        width: 56px;
        height: 56px;
    }
    
    .countdown-opened-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .countdown-opened-text {
        font-size: 20px;
        letter-spacing: 0.5px;
    }
    
    .countdown-timer-opened {
        gap: 16px;
        padding: 16px;
    }
}

.prefix-fields {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 10px;
    padding-top: 14px;
}

.prefix-templates-label {
    color: #e7edf8;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 12px;
}

.prefix-templates {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.prefix-template-item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.prefix-template-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.prefix-template-item .preview {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 4.2;
    max-height: 72px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    background-image: var(--template-image);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(7, 14, 36, 0.9);
    position: relative;
    overflow: hidden;
}

.prefix-template-item .preview::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(5, 10, 24, 0.5) 100%);
    pointer-events: none;
}

.prefix-template-item .title {
    display: block;
    margin-top: 4px;
    text-align: center;
    color: #cfd9ea;
    font-size: 12px;
}

.prefix-template-item input:checked + .preview {
    border-color: #4ea3ff;
    box-shadow: 0 0 0 2px rgba(78, 163, 255, 0.5), 0 0 18px rgba(78, 163, 255, 0.35);
}

.prefix-template-item input:checked + .preview + .title {
    color: #ffffff;
}

.prefix-template-item:has(input:checked) {
    border-color: #4ea3ff;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 1px rgba(78, 163, 255, 0.5) inset;
}

.prefix-process-hint {
    margin: 12px 0 4px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
}

.prefix-process-hint .hint-line {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.prefix-process-hint .hint-line strong {
    color: #ffffff;
    font-weight: 700;
}

.prefix-process-hint .hint-line code {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 14px;
}

@media (max-width: 640px) {
    .prefix-process-hint .hint-line {
        white-space: normal;
        width: 100%;
    }
}

.prefix-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.prefix-colors-block {
    margin-bottom: 12px;
}

.prefix-input-label {
    color: #dbe7f8;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.prefix-colors {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 44px;
}

.prefix-color-item {
    display: inline-flex;
    cursor: pointer;
}

.prefix-color-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.prefix-color-dot {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: var(--prefix-color, #ffffff);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45);
}

.prefix-color-item input:checked + .prefix-color-dot {
    border-color: #4ea3ff;
    box-shadow: 0 0 0 2px rgba(78, 163, 255, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.45);
}

.modal[data-id="buy"] .modal-header-new .modal-prefix-meta {
    display: none;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
    position: relative;
    z-index: 2;
}

.modal[data-id="buy"] .modal-header-new .modal-prefix-meta.show {
    display: flex;
}

.modal[data-id="buy"] .modal-header-new .modal-prefix-meta .meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(8, 20, 48, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 5px 10px;
    line-height: 1.2;
}

.modal[data-id="buy"] .modal-header-new .modal-prefix-meta .meta-color-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
