/* Шорткод-кнопка */
.smart-shortcode-btn-wrap {
    text-align: center;
    margin: 15px 0 20px;
}
.smart-shortcode-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: #ffffff;
    color: #1e293b !important;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    border: 2px solid #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08);
    transition: all 0.25s ease;
    cursor: pointer;
}
.smart-shortcode-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.15);
    border-color: #ea580c;
    color: #1e293b !important;
}
.smart-shortcode-btn-icon { font-size: 18px; }
.smart-shortcode-btn-text { font-size: 16px; font-weight: 600; letter-spacing: 0.2px; }
.smart-shortcode-btn-arrow { transition: transform 0.25s ease; }
.smart-shortcode-btn:hover .smart-shortcode-btn-arrow { transform: translateX(4px); }

/* Плавающая кнопка */
#smartFloatBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
#smartFloatBtn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#smartFloatBtn a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #fff !important;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
    transition: all 0.25s ease;
    white-space: nowrap;
}
#smartFloatBtn a:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.55);
    transform: translateY(-2px);
    color: #fff !important;
}
.smart-float-text { display: inline-block; }

/* ============================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ============================================================ */
@media (max-width: 768px) {
    #smartFloatBtn {
        bottom: 12px;
        right: auto;
        left: 50%;
        width: calc(100% - 24px);
        max-width: 420px;
        transform: translateX(-50%) translateY(20px);
    }

    #smartFloatBtn.visible {
        transform: translateX(-50%) translateY(0);
    }

    #smartFloatBtn a {
        width: 100%;
        justify-content: center;
        padding: 24px 20px;      /* было 12px — увеличили вертикальные отступы */
        font-size: 14px;
        border-radius: 12px;
        min-height: 56px;        /* фиксируем удвоенную высоту */
        line-height: 1.6;        /* дополнительно увеличиваем высоту строки */
        box-sizing: border-box;
    }

    .smart-float-text {
        white-space: normal;
        text-align: center;
    }

    .smart-shortcode-btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    .smart-shortcode-btn-text {
        font-size: 15px;
    }
}