


/* КЛАССЫ НОВЫЕ ------------ */


/* Контейнер для фоновой картинки */
.main-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.main-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.width-stop {
    width: 100%;
    max-width: 1354px;
    min-height: calc(100vh - 130px);
    position: relative;
    margin-top: 80px;
}

.content-main-page {
    z-index: 1;
    padding: 2rem 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* ------------------------------------------------------- */





/* НОВЫЕ БЛОКИ ---------- */

.glass-box {    
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    isolation: isolate;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}


/* Заголовок */
.main-title {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 30px;
    left: 0px;

    padding: 20px 40px;
    border-radius: 0 20px 20px 0;
    
    font-family: Arial;
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-align: left;
    text-transform: uppercase;
    line-height: 1.4;

    border-left: 0px solid rgba(255, 255, 255, 0.6);
}


@media (min-width: 1354px) {
    .main-title {
        border-radius: 20px;
        border-left: 1px solid rgba(255, 255, 255, 0.6);
    }
}



/* Окно регистрации */
.auth-box {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 60px;
    right: 30px;
    border-radius: 20px;
    max-width: 340px;
}

.auth-box-title {
    width: 100%;
    margin-top: 30px;
    padding: 10px 60px;
    background: linear-gradient(180deg, #D1202B 0%, #E74F22 100%);
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
}
.auth-box-info {
    color: #fff;
    font-size: 0.8rem;
    text-align: center;
    padding: 40px 20px;
}
.btn-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 20px;
}


/* Список брендов */
.brand-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 30px;
    right: 30px;
    border-radius: 20px;
    max-width: 340px;
    max-height: 85%;
}

.brand-box-info {
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
    padding: 20px 40px;
    margin-bottom: 20px;

    /* Ограничение по высоте */
    max-height: calc(100vh - 360px);
    overflow-y: auto;    
    scrollbar-width: thin;
    scrollbar-color: rgba(68, 68, 68, 0.6) rgba(255, 255, 255, 0.1);
}
.brand-box-info li {
    text-align: left;
    list-style: none;
    padding: 6px 0 6px 30px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.brand-box-info li a {
    color: #fff;
}
.brand-box-info li:last-child {
    border-bottom: none;
}
/* Кружочек/точка */
.brand-box-info li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D1202B, #E74F22);
    box-shadow: 0 0 8px rgba(209, 32, 43, 0.5);
}




/* КНОПКИ --------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
    background: transparent;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

/* Размер */
.btn--m {
    padding: 14px 24px;
    font-size: 0.8rem;
    border-radius: 14px;
    min-width: 130px;
}

/* Тип/Цвет */
.btn--primary {
    background: #2196F3;
    color: #fff;
}

.btn--secondary {
    background: #2DAE4B;
    color: #fff;
}

/* Эффект блеска */
.btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: rotate(25deg);
    transition: left 0.7s ease;
    pointer-events: none;
}
.btn:hover::before {
    left: 120%;
}

@media (hover: hover) {
    .btn--primary:hover {
        color: #fff;
        text-decoration: none;
        box-shadow: 0px 1px 1px rgba(0,0,0,0.24), 0px 0px 2px rgba(0,0,0,0.12);
        background-position: 0 0;
        background: #238ee6; 
    }
    .btn--secondary:hover {
        background: #36a851; 
    }
}







/* АДАПТАЦИЯ ДЛЯ ПЛАНШЕТОВ (768px - 1024px) */

@media (max-width: 1024px) {
    .main-title {
        font-size: 1.8rem;
    }
    .auth-box {
        max-width: 320px;
        bottom: 40px;
        right: 30px;
    }
    .auth-box-title {
        font-size: 1.0rem;
        padding: 10px 40px;
    }
    .auth-box-info {
        padding: 30px 15px;
        font-size: 0.8rem;
    }
    .btn--m {
        padding: 12px 20px;
        font-size: 0.8rem;
        min-width: 110px;
    }
}


/* АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ (до 768px) */

@media (max-width: 768px) {
    header {
        height: 70px;
        padding: 0.8rem 0;
    }
    main {
        min-height: calc(100vh - 70px);
    }
    .width-stop {
        min-height: calc(100vh - 230px);
        margin-top: 0px;
    }
    .content {
        min-height: calc(100vh - 70px);
        padding: 30px 20px;
        justify-content: space-between;
    }

    /* Заголовок - сверху по центру */
    .main-title {
        position: relative;
        top: 0;
        left: 0;
        padding: 15px 20px;
        border-radius: 20px;
        font-size: 1.8rem;
        text-align: center;
        width: 100%;
        max-width: 480px;
        margin: 0 auto 20px;
        border-left: 1px solid rgba(255, 255, 255, 0.6);
    }

    .main-title span {
        display: block;
    }


    /* Окно регистрации - по центру */
    .brand-box {
        position: relative;
        top: 0px;
        right: 0;
        max-width: 100%;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        border-radius: 16px;
    }

    .brand-box-info {
        padding: 20px 20px;
        max-height: calc(100vh - 460px);        
        scrollbar-width: none; 
        -ms-overflow-style: none; 
    }
    .brand-box-info::-webkit-scrollbar {
        display: none; 
    }



    /* Окно регистрации - по центру */
    .auth-box {
        position: relative;
        bottom: 0px;
        right: 0;
        max-width: 100%;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        border-radius: 16px;
    }

    .auth-box-title {
        font-size: 0.9rem;
        padding: 12px 30px;
        margin-top: 20px;
        border-radius: 0;
    }

    .auth-box-info {
        padding: 25px 15px;
        font-size: 0.7rem;
    }

    .btn-box {
        flex-direction: column;
        gap: 12px;
        padding: 0 15px 20px;
        width: 100%;
    }

    .btn--m {
        padding: 14px 20px;
        font-size: 0.75rem;
        min-width: 100%;
        width: 100%;
    }

    .glass-box {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}



/* АДАПТАЦИЯ ДЛЯ МАЛЕНЬКИХ ТЕЛЕФОНОВ (до 480px) */

@media (max-width: 480px) {
    header h1 {
        font-size: 1.2rem;
    }
    .content {
        padding: 30px 10px 50px;
    }

    .main-title {
        font-size: 1.2rem;
        padding: 12px 15px;
        max-width: 100%;
        border-radius: 16px;
    }
    .auth-box {
        max-width: 100%;
        border-radius: 14px;
    }
    .auth-box-title {
        font-size: 0.8rem;
        padding: 10px 20px;
        margin-top: 15px;
    }

    .auth-box-info {
        padding: 20px 12px;
        font-size: 0.65rem;
    }

    .btn--m {
        padding: 12px 16px;
        font-size: 0.7rem;
        border-radius: 12px;
    }

    .btn-box {
        gap: 10px;
        padding: 0 12px 15px;
    }

    .glass-box {
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
}






/*! ПЕРЕОПРЕДЕЛЕНИЕ КЛАССОВ MAIN---------- */


.header-logo {
    width: 120px;
}
.logo-image {
    width: 120px;
}
.logo-slogan {
    display: none;
}

.header-base {
    padding-left: 170px;
}


.header-content .header-panel {
    background: rgba(45, 47,47, 0.8) !important;
}

.header-fixed .header-content {
    height: 80px;
}

.header-panel {
    height: 80px;
}




.header-base__box {
    display:flex; 
    gap: 16px; 
    align-items: center;
    flex-wrap: nowrap;
}



.btn-extra {
    border-radius: 8px;
    font-size: 12px;
}

.btn-base {
    border-radius: 8px;
}

.header-panel .recall .phone {
    font-size: 22px;
}

.btn-catalog {
    background: linear-gradient(180deg, #D1202B 0%, #E74F22 100%);
}





.recall-box {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    color: white;
    font-size: 1.3rem;
}
.phone {
    color: white;
}

.btn-recall {
    background: #545B61;
    font-size: 12px;
}






/* Баннеры */

.advantage {
    height: 860px;
    margin-top: 16px;
}

.advantage__logo {
    display: none;
}

.advantage-desc {
    max-width: 40%; 
    color: rgb(255, 255, 255);
    font-family: 'Montserrat'; 
    font-size: 24px; 
    line-height: 1.46; 
    font-weight: normal; 
    border-radius: 30px;
    padding: 30px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: rgba(14, 14, 13, 0.2) 0px 15px 10px -12px,
                rgba(3, 3, 3, 0.2) 0px -4px 6px -4px inset; 
    border-width: 3px 2px 2px 3px; 
    border-style: solid;
    border-color: 
        rgba(255, 255, 255, 0.7) 
        rgba(255, 255, 255, 0.2) 
        rgba(125, 125, 125, 0.2)
        rgba(255, 255, 255, 0.6);
    z-index: 2; 
    isolation: isolate;
}
.advantage-desc .title {
    color: rgb(255, 255, 255);
    font-size: 50px;
    line-height: 1;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0px;
}
.advantage-desc .subtitle {
    color: white; 
    font-size: 18px; 
    line-height: 1.46; 
    font-weight: bold; 
    margin-top: 13px; 
    margin-bottom: 0px; 
}
.advantage-desc li { 
    display: block;
    position: relative;
    margin: 0px;
    padding: 0px 0px 26px 30px; 
    font-size: 17px;
}
.advantage-desc .title-bl {
    margin-bottom: 40px;
}
.btn-advantage {
    background: #2DAE4B;
    border-radius: 18px;
}


.adv-assortment .advantage-desc { 
    max-width: 40%; 
}

.adv-profitable .btn-advantage {
    background-color: #009fff;
    border-radius: 16px;
}
.adv-profitable .advantage-desc li::before {
    border-color: #009fff;
}

.adv-speed .advantage-desc {
    max-width: 40%;
}
.adv-speed .advantage-desc .subtitle {
    color: #9C9C9C;
}
.adv-speed .btn-advantage {
    background-color: #363636;
    border-radius: 18px;
}
.adv-speed .advantage-desc li::before {
    border-color: #9C9C9C;
}
.adv-speed .advantage-desc li::after {
    border-color: #9C9C9C;
}


.adv-support .advantage-desc .subtitle {
    color: #9C9C9C;
}
.adv-support .advantage-desc li::before {  
    border-color: #2FAE4B;
}
.adv-support .advantage-desc li::after {  
    border-color: #2FAE4B;
}



.priority-list_item {
    font-size: 15px;
}
.priority-list__item h2, .priority-list__item .h2 {
    color: #2FAE4B;
    font-size: 22px; 
    line-height: 1.46; 
    text-transform: none; 
    margin-bottom: 17px;
}


.assortment-bl {
    font-size: 18px;
}

.assortment-quantity {
    font-size: 60px; 
    line-height: 1; 
    padding-right: 16px;
}
.assortment-accent__in {
    display: inline-block; 
    vertical-align: top; 
    padding: 24px 30px; 
    background: linear-gradient(180deg, #D1202B 0%, #E74F22 100%);
    color: rgb(255, 255, 255); 
    font-size: 17px; 
    line-height: 1.5; 
    border-radius: 20px; 
    width: 100%;
    border: none;
}

.brands-showcase {
    background: #363636;
}







@media (max-width: 768px) {

    .header-content .header-panel {
        background: rgba(45, 47,47, 1.0) !important;
    }
    .header-panel {
        height: 90px;
        background: rgba(45, 47,47, 1.0) !important;
    }

    .header-base {
        padding-left: 113px;
    }
    .header-logo {
        width: 90px;
    }
    .logo-image {
        width: 90px;
    }

    .recall-box {
        justify-content: center;
        gap: 6px;
        font-size: 0.9rem;
    }
    .btn-recall {
        line-height: 40px;
        height: 40px;
        font-size: 10px;
    }
    .hamburger {
        top: 38px;
        right: 20px;
    }

    .phone {
        display: none;
    }



/* Баннеры */
    .advantage-desc .title {
        font-size: 30px;
    }
    .advantage-desc .subtitle {
        font-size: 16px;
    }
    .assortment-quantity {
        font-size: 50px;
    }
    .assortment-accent__in {
        padding: 20px 20px;
        font-size: 14px;
    }

    .advantage-desc li {
        font-size: 15px;
    }



}

