/* Общие стили ссылок внутри описания товара */
.js-store-prod-text a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 24px;
    margin-top: 10px;
    margin-right: 12px;

    border-radius: 10px;
    font-weight: 550;
    font-size: 20px;
    line-height: 1.2;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* Первая ссылка:
   основная зелёная кнопка */
.js-store-prod-text a:first-of-type {
    background-color: #6DF560;
    color: #000000 !important;

    border: 2px solid #FFFFF2;
    border-radius: 10px;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}

.js-store-prod-text a:first-of-type:hover {
    transform: translateY(-2px);
}


/* Вторая обычная ссылка:
   маленькая серая запасная ссылка для скачивания */
.js-store-prod-text a:nth-of-type(2):not([href*="tariffsru"]) {
    display: inline-block !important;

    padding: 5px 10px !important;
    margin-top: 10px !important;
    margin-right: 25px !important;

    background-color: transparent !important;
    color: #6b6865 !important;

    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    font-weight: 300 !important;
    font-size: 13px !important;
    line-height: normal !important;
}


/* Отдельная кнопка «Оформить подписку» */
.js-store-prod-text a[href*="tariffsru"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 14px 24px !important;
    margin-top: 10px !important;
    margin-right: 0 !important;

    background-color: #FFD09A !important;
    color: #000000 !important;

    border: 2px solid #FFD09A !important;
    border-radius: 10px !important;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14) !important;

    font-weight: 550 !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
}

.js-store-prod-text a[href*="tariffsru"]:hover {
    transform: translateY(-2px);
    background-color: #FFC27A !important;
    border-color: #FFC27A !important;
}


/* На телефоне крупные кнопки становятся на всю ширину */
@media screen and (max-width: 640px) {
    .js-store-prod-text a:first-of-type,
    .js-store-prod-text a[href*="tariffsru"] {
        width: 100% !important;
        box-sizing: border-box !important;
        margin-right: 0 !important;
    }
}


/* Корзина — оставлена без изменений */
.t706__cartwin_showed {
    z-index: 999999999;
}