/* ==================================================
   C&Y WHATSAPP CONCIERGE WIDGET
================================================== */

.cy-wa-widget {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 9999;

    font-family: 'AvenirLight', 'Avenir Light', sans-serif;
}

/* Toggle Button */

.cy-wa-toggle {
    display: flex;
    align-items: center;
    gap: 11px;

    border: 1px solid rgba(176, 158, 128, 0.45);
    border-radius: 999px;

    padding: 13px 18px;

    background: #ffffff;
    color: #716551;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.cy-wa-toggle:hover {
    transform: translateY(-3px);
    background: #f8f5ef;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
}

.cy-wa-toggle-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #25D366;
    color: #ffffff;

    line-height: 1;
    flex-shrink: 0;
}

.cy-wa-svg {
    width: 23px;
    height: 23px;
    display: block;
    fill: #ffffff;
}

.cy-wa-toggle-text {
    font-size: 0.92rem;
    color: #716551;
    white-space: nowrap;
}

/* Panel */

.cy-wa-panel {
    position: absolute;
    right: 0;
    bottom: 72px;

    width: 340px;
    max-width: calc(100vw - 36px);

    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(176, 158, 128, 0.35);
    border-radius: 24px;

    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);

    overflow: hidden;

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.cy-wa-widget.is-open .cy-wa-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Header */

.cy-wa-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;

    padding: 22px 22px 18px;

    background:
        radial-gradient(circle at top left, rgba(176, 158, 128, 0.22), transparent 42%),
        linear-gradient(135deg, #716551, #B09E80);

    color: #ffffff;
}

.cy-wa-kicker {
    display: block;

    margin-bottom: 5px;

    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.78);
}

.cy-wa-header h3 {
    margin: 0;

    font-family: 'CinzelCustom', serif;
    font-size: 1.35rem;
    font-weight: 400;

    color: #ffffff;
}

.cy-wa-close {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    padding: 0;
    flex-shrink: 0;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.cy-wa-close:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.7);
    transform: rotate(90deg);
}

/* Body */

.cy-wa-body {
    padding: 22px;
}

.cy-wa-body p {
    margin: 0 0 18px;

    font-size: 0.92rem;
    line-height: 1.55;

    color: rgba(113, 101, 81, 0.82);
}

.cy-wa-body label {
    display: block;

    margin: 14px 0 7px;

    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: rgba(113, 101, 81, 0.72);
}

.cy-wa-body input,
.cy-wa-body textarea {
    width: 100%;

    border: 1px solid rgba(176, 158, 128, 0.42);
    border-radius: 14px;

    padding: 12px 13px;

    background: #ffffff;
    color: #716551;

    font-family: 'AvenirLight', 'Avenir Light', sans-serif;
    font-size: 0.9rem;

    outline: none;

    box-sizing: border-box;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.cy-wa-body input:focus,
.cy-wa-body textarea:focus {
    border-color: #B09E80;
    box-shadow: 0 0 0 3px rgba(176, 158, 128, 0.16);
}

.cy-wa-body textarea {
    resize: none;
}

/* Submit */

.cy-wa-submit {
    width: 100%;

    margin-top: 18px;
    padding: 13px 18px;

    border: 1px solid #B09E80;
    border-radius: 999px;

    background: #ffffff;
    color: #716551;

    font-family: 'AvenirLight', 'Avenir Light', sans-serif;
    font-size: 0.88rem;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.cy-wa-submit:hover {
    background: #716551;
    color: #e9e9e9;
    border-color: #716551;
    transform: translateY(-2px);
}

.cy-wa-note {
    display: block;

    margin-top: 12px;

    text-align: center;
    font-size: 0.72rem;

    color: rgba(113, 101, 81, 0.62);
}

/* Mobile */

@media (max-width: 768px) {
    .cy-wa-widget {
        right: 18px;
        bottom: 18px;
    }

    .cy-wa-toggle {
        padding: 11px 14px;
    }

    .cy-wa-toggle-icon {
        width: 36px;
        height: 36px;
    }

    .cy-wa-svg {
        width: 22px;
        height: 22px;
    }

    .cy-wa-toggle-text {
        font-size: 0.84rem;
    }

    .cy-wa-panel {
        right: 0;
        bottom: 66px;

        width: calc(100vw - 36px);
        border-radius: 22px;
    }

    .cy-wa-header {
        padding: 20px 20px 16px;
    }

    .cy-wa-body {
        padding: 20px;
    }
}

@media (max-width: 420px) {
    .cy-wa-toggle-text {
        display: none;
    }

    .cy-wa-toggle {
        padding: 10px;
        border-radius: 50%;
    }

    .cy-wa-toggle-icon {
        width: 42px;
        height: 42px;
    }

    .cy-wa-svg {
        width: 25px;
        height: 25px;
    }
}