/* Phone wala WhatsApp options popup (views/include/wa_popup.php). Desktop par kabhi nahi khulta. */

.sw-wa {
    --wa-blue: #4b85f0;
    --wa-blue-dark: #3a72dc;
    --wa-navy: #0f1f3d;
    --wa-muted: #5b6b85;
    --wa-line: #e3e8f0;
    --wa-green: #25d366;
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.sw-wa.active {
    visibility: visible;
    opacity: 1;
}
.sw-wa-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 35, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.sw-wa-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 30px 22px 24px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(15, 31, 61, 0.3);
    text-align: center;
    transform: translateY(16px) scale(0.97);
    transition: transform 0.25s ease;
}
.sw-wa.active .sw-wa-card {
    transform: none;
}
.sw-wa-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    background: #f1f4f9;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}
.sw-wa-close svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--wa-navy);
    stroke-width: 2.2;
    stroke-linecap: round;
}
.sw-wa-logo {
    display: block;
    width: auto;
    height: 46px;
    margin: 0 auto 14px;
    object-fit: contain;
}
.sw-wa .sw-wa-title {
    margin: 0 0 6px;
    color: var(--wa-navy);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}
.sw-wa-sub {
    margin: 0 0 20px;
    color: var(--wa-muted);
    font-size: 13px;
    line-height: 1.5;
}
.sw-wa-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sw-wa-opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 18px 0 22px;
    background: #fff;
    border: 1.5px solid var(--wa-line);
    border-radius: 56px;
    color: var(--wa-navy);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.sw-wa-opt:hover,
.sw-wa-opt:active,
.sw-wa-opt:focus {
    background: rgba(75, 133, 240, 0.06);
    border-color: var(--wa-blue);
    color: var(--wa-navy);
    text-decoration: none;
}
.sw-wa-opt svg {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    fill: var(--wa-green);
}
.sw-wa-divider {
    height: 1px;
    margin: 20px 0;
    background: var(--wa-line);
}
.sw-wa-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: 54px;
    padding: 0 10px 0 26px;
    background: var(--wa-blue);
    border-radius: 54px;
    box-shadow: 0 8px 20px rgba(75, 133, 240, 0.35);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
}
.sw-wa-call:hover,
.sw-wa-call:focus {
    background: var(--wa-blue-dark);
    color: #fff;
    text-decoration: none;
}
.sw-wa-call-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
}
.sw-wa-call-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--wa-blue);
}

/* Desktop par yeh popup kabhi na dikhe */
@media (min-width: 768px) {
    .sw-wa {
        display: none;
    }
}
