/* === Quick WhatsApp Woo — Frontend Styles === */

/* ---- Floating button ---- */
.qww-float-wrapper {
        position: fixed;
        bottom: 24px;
        z-index: 99999;
}

.qww-float-wrapper.qww-pos-right { right: 24px; }
.qww-float-wrapper.qww-pos-left  { left:  24px; }

.qww-float-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 12px 20px;
        border-radius: 50px;
        text-decoration: none;
        font-size: 15px;
        font-weight: 600;
        font-family: inherit;
        box-shadow: 0 4px 16px rgba(0,0,0,.25);
        transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
        white-space: nowrap;
}

.qww-float-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(0,0,0,.3);
        opacity: .92;
        text-decoration: none;
        color: inherit;
}

.qww-float-btn .qww-icon {
        display: flex;
        align-items: center;
        flex-shrink: 0;
}

.qww-float-btn .qww-icon svg {
        width: 22px;
        height: 22px;
}

@keyframes qww-pulse {
        0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
        70%  { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
        100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.qww-float-btn {
        animation: qww-pulse 2.5s ease-in-out 3;
}

/* ---- Shared button styles ---- */
.qww-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        border-radius: 6px;
        text-decoration: none;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: opacity .2s ease, transform .15s ease;
        border: none;
}

.qww-btn:hover {
        opacity: .88;
        transform: translateY(-1px);
        text-decoration: none;
        color: inherit;
}

/* ---- Product button ---- */
.qww-product-btn-wrap {
        margin-top: 16px;
        margin-bottom: 8px;
}

/* ---- Cart button ---- */
.qww-cart-btn-wrap {
        margin-top: 20px;
}

.qww-cart-btn {
        width: 100%;
        justify-content: center;
}

/* ---- Order confirmation button ---- */
.qww-order-btn-wrap {
        margin: 30px 0;
        padding: 24px;
        background: #f0fdf4;
        border: 1px solid #bbf7d0;
        border-radius: 10px;
        text-align: center;
}

.qww-order-btn-wrap h3 {
        margin: 0 0 8px;
        font-size: 18px;
        color: #166534;
}

.qww-order-btn-wrap p {
        margin: 0 0 16px;
        color: #4b7a5b;
}

.qww-order-btn {
        font-size: 16px;
        padding: 14px 28px;
        border-radius: 8px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
        .single-product .qww-product-btn-wrap {
                display: block !important;
                width: 100%;
                margin-top: 16px;
                margin-bottom: 8px;
                visibility: visible !important;
                opacity: 1 !important;
        }

        .single-product .qww-product-btn-wrap .qww-btn {
                display: inline-flex !important;
                width: 100%;
                justify-content: center;
                visibility: visible !important;
                opacity: 1 !important;
        }
}

@media (max-width: 600px) {
        .qww-float-btn .qww-label {
                display: none;
        }

        .qww-float-btn {
                padding: 14px;
                border-radius: 50%;
        }

        .qww-float-btn .qww-icon svg {
                width: 26px;
                height: 26px;
        }
}
