﻿/* =========================================================
   HUBSIGNIA - BOTÓN FLOTANTE "COMPRA RÁPIDA"
   Reutilizable en:
   - Inicio
   - Planes Empresariales
   - Planes Profesionales
   ========================================================= */

.hs-quick-buy-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1080;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 250px;
    max-width: 320px;
    padding: 12px 16px;
    color: #ffffff !important;
    background: linear-gradient( 135deg, #2d2666 0%, #5c02fb 100% );
    border: 0;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif !important;
    text-decoration: none !important;
    box-shadow: 0 10px 30px rgba(45, 38, 102, 0.28), 0 3px 10px rgba(92, 2, 251, 0.18);
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

    .hs-quick-buy-float:hover {
        color: #ffffff !important;
        text-decoration: none !important;
        transform: translateY(-3px);
        box-shadow: 0 14px 34px rgba(45, 38, 102, 0.32), 0 6px 16px rgba(92, 2, 251, 0.22);
        filter: brightness(1.03);
    }

    .hs-quick-buy-float:focus-visible {
        outline: 3px solid rgba(255, 83, 82, 0.45);
        outline-offset: 4px;
    }

.hs-quick-buy-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 50%;
}

    .hs-quick-buy-icon svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.hs-quick-buy-copy {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.hs-quick-buy-title {
    display: block;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.hs-quick-buy-subtitle {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.82);
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.35;
}

.hs-quick-buy-arrow {
    flex: 0 0 auto;
    margin-left: 2px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    transition: transform 0.2s ease;
}

.hs-quick-buy-float:hover .hs-quick-buy-arrow {
    transform: translateX(3px);
}

@media (max-width: 650px) {
    .hs-quick-buy-float {
        right: 14px;
        bottom: 14px;
        min-width: 0;
        max-width: calc(100vw - 28px);
        padding: 10px 14px;
        gap: 10px;
    }

    .hs-quick-buy-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

        .hs-quick-buy-icon svg {
            width: 19px;
            height: 19px;
        }

    .hs-quick-buy-title {
        font-size: 14px;
    }

    .hs-quick-buy-subtitle {
        display: none;
    }

    .hs-quick-buy-arrow {
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hs-quick-buy-float,
    .hs-quick-buy-arrow {
        transition: none;
    }

        .hs-quick-buy-float:hover {
            transform: none;
        }

            .hs-quick-buy-float:hover .hs-quick-buy-arrow {
                transform: none;
            }
}
