/* ============================================================
   VDS WhatsApp Quote — Button Styles
   Version: 1.0.0
   ============================================================ */

/* ---- Main Button ---- */
.vds-wq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    background: #25D366;
    background: linear-gradient(135deg, #25D366 0%, #1ebe5d 100%);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none !important;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.38);
    letter-spacing: 0.4px;
    line-height: 1.2;
    margin-top: 10px;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
}

/* Subtle shine layer */
.vds-wq-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.vds-wq-btn:hover::before {
    left: 160%;
}

.vds-wq-btn:hover {
    background: linear-gradient(135deg, #1ebe5d 0%, #18ac52 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.52);
    transform: translateY(-2px);
}

.vds-wq-btn:active,
.vds-wq-btn:focus {
    outline: none;
    transform: translateY(0px);
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.35);
    color: #ffffff !important;
}

.vds-wq-btn svg {
    flex-shrink: 0;
    display: block;
}

.vds-wq-btn span {
    display: inline-block;
}

/* ---- Compact version — archive / shop loop ---- */
.vds-wq-btn--compact {
    padding: 11px 16px;
    font-size: 14px;
    gap: 8px;
    margin-top: 6px;
    border-radius: 6px;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.30);
}

.vds-wq-btn--compact svg {
    width: 17px;
    height: 17px;
}

/* ---- Loop wrapper ---- */
.vds-wq-loop-wrap {
    padding: 0 4px 4px;
}

/* ---- Mobile adjustments ---- */
@media (max-width: 768px) {
    .vds-wq-btn {
        padding: 16px 20px;
        font-size: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.40);
    }

    /* Slightly larger tap target on mobile */
    .vds-wq-btn:hover {
        transform: none; /* Disable lift on touch devices */
    }
}

/* ---- The7 / WooCommerce override guards ---- */
.woocommerce .vds-wq-btn,
.woocommerce-page .vds-wq-btn,
.woocommerce div.product .vds-wq-btn {
    background: linear-gradient(135deg, #25D366 0%, #1ebe5d 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    padding: 15px 24px !important;
}

.woocommerce .vds-wq-btn:hover,
.woocommerce-page .vds-wq-btn:hover {
    background: linear-gradient(135deg, #1ebe5d 0%, #18ac52 100%) !important;
    color: #ffffff !important;
}
