﻿:root {
    --wcbq-primary: #d3122a;
    --wcbq-secondary: #0f5fb4;
    --wcbq-accent: #0a3d79;
    --wcbq-surface: #ffffff;
    --wcbq-text: #102a4d;
    --wcbq-overlay: #071b38;
    --wcbq-backdrop-blur: blur(4px);
    --wcbq-button-radius: 10px;
    --wcbq-offset-x: 18px;
    --wcbq-offset-y: 18px;
    --wcbq-floating-size: 1;
    --wcbq-dialog-scale-desktop: 0.7;
    --wcbq-dialog-scale-mobile: 0.7;
    --wcbq-font-scale-desktop: 1;
    --wcbq-font-scale-mobile: 1;
    --wcbq-body-font-scale-desktop: 1;
    --wcbq-body-font-scale-mobile: 1;
    --wcbq-option-font-scale-desktop: 1;
    --wcbq-option-font-scale-mobile: 1;
    --wcbq-button-hover-text: #ffe082;
}

.wcbq-modal,
.wcbq-modal * {
    box-sizing: border-box;
}

.wcbq-modal {
    font-family: "Exo 2", "Segoe UI", sans-serif;
    --wcbq-font-scale: var(--wcbq-font-scale-desktop);
    --wcbq-body-font-scale: var(--wcbq-body-font-scale-desktop);
    --wcbq-option-font-scale: var(--wcbq-option-font-scale-desktop);
    --wcbq-body-scale: calc(var(--wcbq-font-scale) * var(--wcbq-body-font-scale));
    --wcbq-option-scale: calc(var(--wcbq-font-scale) * var(--wcbq-option-font-scale));
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
}

.wcbq-modal[hidden] {
    display: none !important;
}

.wcbq-modal .wcbq-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 0%, rgba(15, 95, 180, 0.34), transparent 34%),
        radial-gradient(circle at 88% 100%, rgba(211, 18, 42, 0.25), transparent 36%),
        rgba(3, 11, 24, 0.8);
    backdrop-filter: var(--wcbq-backdrop-blur);
}

.wcbq-modal .wcbq-dialog {
    position: relative;
    width: min(1120px, calc(100% - 26px));
    min-height: 650px;
    max-height: calc(100vh - 24px);
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
    background: var(--wcbq-surface);
    color: var(--wcbq-text);
    border: 1px solid rgba(15, 55, 105, 0.2);
    box-shadow: 0 30px 70px rgba(3, 17, 36, 0.42);
    transform: translateY(12px) scale(0.985);
    transform-origin: center center;
    scale: var(--wcbq-dialog-scale-desktop);
    opacity: 0;
    animation: wcbq-pop 0.3s ease forwards;
}

.wcbq-modal .wcbq-anim-off {
    animation: none;
    transform: none;
    opacity: 1;
}

.wcbq-modal .wcbq-anim-soft {
    animation-duration: 0.2s;
}

.wcbq-modal .wcbq-anim-intense {
    animation-duration: 0.42s;
}

.wcbq-modal .wcbq-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 6px;
    font-size: calc(24px * var(--wcbq-font-scale));
    line-height: 1;
    color: #143967;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #cdd9ea;
    cursor: pointer;
    z-index: 5;
    backdrop-filter: none;
}

.wcbq-modal .wcbq-close:hover {
    background: #fff;
}

.wcbq-modal .wcbq-visual {
    position: relative;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100%;
    background: #061a35;
    isolation: isolate;
}

.wcbq-modal .wcbq-video,
.wcbq-modal .wcbq-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.wcbq-modal .wcbq-overlay {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(-36deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 8px, transparent 8px, transparent 20px),
        linear-gradient(156deg, rgba(7, 30, 64, 0.93), rgba(6, 22, 47, 0.95));
}

.wcbq-modal .wcbq-icons {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    display: flex;
    justify-content: space-between;
    font-size: calc(26px * var(--wcbq-font-scale));
    z-index: 2;
}

.wcbq-modal .wcbq-icons span {
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.24));
    animation: wcbq-float 4.6s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.92);
}

.wcbq-modal .wcbq-icons span:nth-child(2) {
    animation-delay: 0.6s;
}

.wcbq-modal .wcbq-icons span:nth-child(3) {
    animation-delay: 1.3s;
}

.wcbq-modal .wcbq-icons span:nth-child(4) {
    animation-delay: 2s;
}

.wcbq-modal .wcbq-visual-text {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 26px;
    color: #fff;
    z-index: 2;
}

.wcbq-modal .wcbq-visual-text p {
    margin: 0 0 12px;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.44);
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.14);
    font-size: calc(12px * var(--wcbq-body-scale));
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.wcbq-modal .wcbq-visual-text h2 {
    margin: 0;
    font-family: "Bebas Neue", "Exo 2", sans-serif;
    line-height: 1.08;
    color: #fff;
    letter-spacing: 0.02em;
    font-size: clamp(calc(30px * var(--wcbq-font-scale)), calc(2.6vw * var(--wcbq-font-scale)), calc(46px * var(--wcbq-font-scale)));
}

.wcbq-modal .wcbq-content {
    padding: 28px 30px 20px;
    display: flex;
    flex-direction: column;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.wcbq-modal .wcbq-head {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    padding-right: 0;
}

.wcbq-modal .wcbq-head h3 {
    margin: 0;
    font-family: "Bebas Neue", "Exo 2", sans-serif;
    color: var(--wcbq-text);
    font-size: clamp(calc(33px * var(--wcbq-font-scale)), calc(2.8vw * var(--wcbq-font-scale)), calc(48px * var(--wcbq-font-scale)));
    letter-spacing: 0.02em;
    line-height: 1.02;
}

.wcbq-modal .wcbq-progress {
    margin-top: 14px;
    border-radius: 999px;
    background: #e4eaf5;
    height: 9px;
    overflow: hidden;
}

.wcbq-modal .wcbq-progress span {
    display: block;
    height: 100%;
    width: 25%;
    border-radius: inherit;
    background: linear-gradient(120deg, var(--wcbq-secondary), var(--wcbq-accent), var(--wcbq-primary));
    transition: width 0.22s ease;
}

.wcbq-modal .wcbq-form {
    margin-top: 18px;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wcbq-modal .wcbq-step {
    display: none;
    animation: wcbq-step-in 0.2s ease;
}

.wcbq-modal .wcbq-step.is-active {
    display: block;
}

.wcbq-modal .wcbq-step h4 {
    margin: 0 0 14px;
    color: var(--wcbq-text);
    font-size: calc(34px * var(--wcbq-font-scale));
    line-height: 1;
    letter-spacing: 0.01em;
    font-family: "Bebas Neue", "Exo 2", sans-serif;
}

.wcbq-modal .wcbq-step-hint {
    margin: -4px 0 10px;
    color: #4d678a;
    font-size: calc(14px * var(--wcbq-body-scale));
}

.wcbq-modal .wcbq-step-inline-image {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #d7e3f5;
    background: linear-gradient(180deg, #f6f9ff, #eef4ff);
    margin: 0 0 12px;
}

.wcbq-modal .wcbq-step-inline-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: clamp(120px, 24vh, 210px);
    object-fit: cover;
}

.wcbq-modal .wcbq-step label {
    display: block;
    margin: 10px 0 6px;
    font-weight: 700;
    color: #2a446d;
    font-size: calc(14px * var(--wcbq-body-scale));
}

.wcbq-modal .wcbq-step input[type="text"],
.wcbq-modal .wcbq-step input[type="tel"],
.wcbq-modal .wcbq-step input[type="email"],
.wcbq-modal .wcbq-step textarea {
    width: 100%;
    border: 1px solid #ccdaee;
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--wcbq-text);
    font-size: calc(15px * var(--wcbq-body-scale));
    background: #fff;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

/* Isolate quiz fields from theme styles (e.g. Woodmart). */
.wcbq-modal .wcbq-step input[type="text"],
.wcbq-modal .wcbq-step input[type="tel"],
.wcbq-modal .wcbq-step input[type="email"],
.wcbq-modal .wcbq-step textarea,
.wcbq-modal .wcbq-step select {
    font-family: "Exo 2", "Segoe UI", sans-serif !important;
    font-style: normal !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.35 !important;
    direction: ltr !important;
    unicode-bidi: plaintext !important;
    text-align: left !important;
    box-shadow: none;
}

.wcbq-modal .wcbq-step input[type="text"]::placeholder,
.wcbq-modal .wcbq-step input[type="tel"]::placeholder,
.wcbq-modal .wcbq-step input[type="email"]::placeholder,
.wcbq-modal .wcbq-step textarea::placeholder {
    text-align: left !important;
    direction: ltr !important;
    opacity: 1;
}

.wcbq-modal .wcbq-step input[type="text"]:-moz-placeholder,
.wcbq-modal .wcbq-step input[type="tel"]:-moz-placeholder,
.wcbq-modal .wcbq-step input[type="email"]:-moz-placeholder,
.wcbq-modal .wcbq-step textarea:-moz-placeholder {
    text-align: left !important;
}

.wcbq-modal .wcbq-step input[type="text"]::-moz-placeholder,
.wcbq-modal .wcbq-step input[type="tel"]::-moz-placeholder,
.wcbq-modal .wcbq-step input[type="email"]::-moz-placeholder,
.wcbq-modal .wcbq-step textarea::-moz-placeholder {
    text-align: left !important;
}

.wcbq-modal .wcbq-step input[type="text"]::-webkit-input-placeholder,
.wcbq-modal .wcbq-step input[type="tel"]::-webkit-input-placeholder,
.wcbq-modal .wcbq-step input[type="email"]::-webkit-input-placeholder,
.wcbq-modal .wcbq-step textarea::-webkit-input-placeholder {
    text-align: left !important;
}

.wcbq-modal button,
.wcbq-modal input[type="text"],
.wcbq-modal input[type="tel"],
.wcbq-modal input[type="email"],
.wcbq-modal textarea,
.wcbq-modal select,
.wcbq-open {
    -webkit-appearance: none;
    appearance: none;
}

.wcbq-modal .wcbq-btn,
.wcbq-open {
    font-family: "Bebas Neue", "Exo 2", sans-serif !important;
    text-transform: uppercase !important;
}

.wcbq-modal .wcbq-step input[type="text"]:focus,
.wcbq-modal .wcbq-step input[type="tel"]:focus,
.wcbq-modal .wcbq-step input[type="email"]:focus,
.wcbq-modal .wcbq-step textarea:focus {
    border-color: #2a66ad;
    box-shadow: 0 0 0 3px rgba(24, 92, 167, 0.16);
}

.wcbq-modal .wcbq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.wcbq-modal .wcbq-list {
    display: grid;
    gap: 9px;
}

.wcbq-modal .wcbq-list.wcbq-2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wcbq-modal .wcbq-grid button,
.wcbq-modal .wcbq-list button {
    border: 1px solid #d2dfef;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff, #f4f8ff);
    color: #12325d;
    font-weight: 800;
    text-align: left;
    padding: 12px 13px;
    cursor: pointer;
    font-size: calc(15px * var(--wcbq-option-scale));
    line-height: 1.25;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
}

.wcbq-modal .wcbq-grid button:hover,
.wcbq-modal .wcbq-list button:hover {
    transform: translateY(-1px);
    border-color: #9db6d7;
    box-shadow: 0 10px 18px rgba(15, 62, 117, 0.1);
}

.wcbq-modal .wcbq-grid button.is-selected,
.wcbq-modal .wcbq-list button.is-selected {
    border-color: var(--wcbq-primary);
    background: linear-gradient(180deg, rgba(211, 18, 42, 0.08), rgba(15, 95, 180, 0.06));
    box-shadow: 0 10px 18px rgba(211, 18, 42, 0.16);
}

.wcbq-modal .wcbq-option-text {
    display: inline-block;
}

.wcbq-modal .wcbq-option-featured {
    border-color: #c8d9ef !important;
    background: linear-gradient(180deg, #fbfdff, #eef5ff) !important;
    box-shadow: inset 0 0 0 1px rgba(54, 104, 167, 0.12);
}

.wcbq-modal .wcbq-option-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 18px;
    padding: 0 7px;
    border-radius: 999px;
    border: 1px solid #d2dced;
    background: #f2f6fc;
    color: #58749a;
    font-size: calc(9px * var(--wcbq-option-scale));
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.wcbq-modal .wcbq-option-text-wrap {
    margin-top: 10px;
    padding: 10px;
    border: 1px dashed #c8d7f0;
    border-radius: 12px;
    background: #f8fbff;
}

.wcbq-modal .wcbq-option-text-wrap[hidden] {
    display: none !important;
}

.wcbq-modal .wcbq-consent {
    margin-top: 10px;
    display: grid !important;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    font-weight: 500 !important;
    color: #2f486e;
}

.wcbq-modal .wcbq-consent input {
    margin: 2px 0 0;
    width: 16px;
    height: 16px;
}

.wcbq-modal .wcbq-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.wcbq-modal .wcbq-error {
    margin: 8px 0 0;
    min-height: 22px;
    color: #cc3d3d;
    font-size: calc(14px * var(--wcbq-body-scale));
    font-weight: 700;
}

.wcbq-modal .wcbq-actions {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wcbq-modal .wcbq-btn {
    border: 0;
    border-radius: 8px;
    padding: 11px 16px;
    font-weight: 800;
    font-size: calc(13px * var(--wcbq-body-scale));
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.wcbq-modal .wcbq-btn:hover {
    transform: translateY(-1px);
}

.wcbq-modal .wcbq-primary {
    color: #fff;
    background: linear-gradient(124deg, #d3122a, #b80f25);
    box-shadow: 0 12px 22px rgba(184, 16, 39, 0.26);
}

.wcbq-modal .wcbq-ghost {
    color: #163965;
    background: #eaf1fb;
}

.wcbq-modal #wcbqSubmit {
    display: none;
}

.wcbq-modal .wcbq-success {
    margin: auto 0;
    text-align: center;
    padding: 10px 10px 24px;
}

.wcbq-modal .wcbq-success h4 {
    margin: 0 0 8px;
    font-size: clamp(calc(28px * var(--wcbq-font-scale)), calc(2.2vw * var(--wcbq-font-scale)), calc(40px * var(--wcbq-font-scale)));
    color: var(--wcbq-text);
    line-height: 1.05;
    font-family: "Bebas Neue", "Exo 2", sans-serif;
}

.wcbq-modal .wcbq-success p {
    margin: 0 0 18px;
    color: #566b8d;
    font-size: calc(15px * var(--wcbq-body-scale));
}

.wcbq-open {
    border: 0;
    border-radius: 8px;
    padding: 11px 18px 11px 11px;
    background:
        linear-gradient(120deg, #0f5fb4 0%, #0c4d93 58%, #0a3d79 100%);
    color: #fff;
    font-family: "Bebas Neue", "Exo 2", sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow:
        0 12px 24px rgba(11, 63, 123, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    transition: transform 0.18s ease, box-shadow 0.2s ease, filter 0.2s ease;
    isolation: isolate;
    overflow: visible;
    color: #fff !important;
    text-decoration: none !important;
}

.wcbq-open > * {
    position: relative;
    z-index: 2;
}

.wcbq-open::before {
    content: none;
}

.wcbq-open::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: -1;
}

.wcbq-open.wcbq-fx-breathe {
    animation: wcbq-breathe 3.8s ease-in-out infinite;
}

.wcbq-open .wcbq-pulse-layer {
    position: absolute;
    left: 6px;
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
    pointer-events: none;
    border-radius: 999px;
    z-index: 1;
}

.wcbq-open .wcbq-pulse-layer::before,
.wcbq-open .wcbq-pulse-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    border: 2px solid rgba(158, 210, 255, 0.45);
    box-shadow: 0 0 0 1px rgba(17, 86, 168, 0.16);
}

.wcbq-open.wcbq-pulse-burst .wcbq-pulse-layer::before {
    animation: wcbq-pulse-ring 1.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.wcbq-open.wcbq-pulse-burst .wcbq-pulse-layer::after {
    animation: wcbq-pulse-ring 1.35s cubic-bezier(0.22, 0.61, 0.36, 1) 0.22s;
}

.wcbq-open.wcbq-idle-pop .wcbq-pulse-layer::before {
    animation: wcbq-pulse-ring 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.wcbq-open.wcbq-idle-pop .wcbq-pulse-layer::after {
    animation: wcbq-pulse-ring 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.16s;
}

.wcbq-open .wcbq-btn-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(211, 18, 42, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    font-size: 19px;
    line-height: 1;
    color: #fff;
}

.wcbq-open .wcbq-shimmer {
    position: absolute;
    top: -40%;
    left: -55%;
    width: 42%;
    height: 180%;
    transform: translateX(0) skewX(-18deg);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.wcbq-open.wcbq-shimmer-run .wcbq-shimmer {
    animation: wcbq-shimmer-sweep 1.2s ease;
}

.wcbq-open span:last-child {
    font-size: 22px;
    line-height: 1;
    color: inherit !important;
}

.wcbq-open .wcbq-attn-badge {
    position: absolute;
    top: -9px;
    right: -9px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #15a05a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 16px rgba(14, 106, 58, 0.34);
    text-transform: none;
    white-space: nowrap;
}

.wcbq-open:hover {
    transform: translateY(-2px);
    filter: saturate(1.06);
    box-shadow:
        0 16px 28px rgba(11, 63, 123, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: var(--wcbq-button-hover-text) !important;
}

.wcbq-open:active {
    transform: translateY(0);
    color: #fff !important;
}

.wcbq-open:focus,
.wcbq-open:visited {
    color: #fff !important;
}

.wcbq-floating-btn {
    backdrop-filter: blur(3px);
    padding:
        calc(11px * var(--wcbq-floating-size))
        calc(18px * var(--wcbq-floating-size))
        calc(11px * var(--wcbq-floating-size))
        calc(11px * var(--wcbq-floating-size));
    border-radius: calc(8px * var(--wcbq-floating-size));
}

.wcbq-floating-btn .wcbq-btn-icon {
    width: calc(34px * var(--wcbq-floating-size));
    height: calc(34px * var(--wcbq-floating-size));
    font-size: calc(19px * var(--wcbq-floating-size));
}

.wcbq-floating-btn .wcbq-pulse-layer {
    left: calc(6px * var(--wcbq-floating-size));
    width: calc(44px * var(--wcbq-floating-size));
    height: calc(44px * var(--wcbq-floating-size));
}

.wcbq-floating-btn span:last-child {
    font-size: calc(22px * var(--wcbq-floating-size));
}

.wcbq-modal .wcbq-consent a {
    color: #1e5ab7;
    text-decoration: underline;
}

.wcbq-modal .wcbq-consent a:hover {
    color: #123f86;
}

.wcbq-modal .wcbq-contact-intro {
    margin: 0 0 10px;
    color: #24466f;
    font-size: calc(14px * var(--wcbq-body-scale));
    line-height: 1.45;
}

.wcbq-modal .wcbq-contact-benefits {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 7px;
}

.wcbq-modal .wcbq-contact-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #163a67;
    font-size: calc(14px * var(--wcbq-body-scale));
    font-weight: 600;
}

.wcbq-modal .wcbq-contact-benefits li::before {
    content: "\2713";
    color: #138f50;
    font-size: calc(13px * var(--wcbq-body-scale));
    font-weight: 800;
}

.wcbq-modal .wcbq-consent input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    border: 1px solid #adc3df;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.wcbq-modal .wcbq-contact-footnote {
    margin: 10px 0 0;
    color: #597295;
    font-size: calc(12px * var(--wcbq-body-scale));
    line-height: 1.35;
}

.wcbq-inline-btn {
    display: inline-flex;
}

.wcbq-floating-btn {
    position: fixed;
    bottom: var(--wcbq-offset-y);
    z-index: 9998;
}

.wcbq-pos-right {
    right: var(--wcbq-offset-x);
}

.wcbq-pos-left {
    left: var(--wcbq-offset-x);
}

.wcbq-woo-wrap {
    margin-top: 12px;
}

.wcbq-woo-btn {
    width: 100%;
}

@keyframes wcbq-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

@keyframes wcbq-pop {
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes wcbq-breathe {
    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow:
            0 12px 24px rgba(11, 63, 123, 0.34),
            inset 0 1px 0 rgba(255, 255, 255, 0.28);
    }
    50% {
        transform: translateY(-1px) scale(1.04);
        box-shadow:
            0 18px 30px rgba(11, 63, 123, 0.42),
            inset 0 1px 0 rgba(255, 255, 255, 0.34);
    }
}

@keyframes wcbq-pulse-ring {
    0% {
        opacity: 0.38;
        transform: scale(0.9);
    }
    55% {
        opacity: 0.16;
        transform: scale(1.08);
    }
    100% {
        opacity: 0;
        transform: scale(1.28);
    }
}

@keyframes wcbq-shimmer-sweep {
    0% {
        transform: translateX(0) skewX(-18deg);
        opacity: 0;
    }
    20% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(380%) skewX(-18deg);
        opacity: 0;
    }
}

@keyframes wcbq-step-in {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 980px) {
    .wcbq-modal {
        --wcbq-font-scale: var(--wcbq-font-scale-mobile);
        --wcbq-body-font-scale: var(--wcbq-body-font-scale-mobile);
        --wcbq-option-font-scale: var(--wcbq-option-font-scale-mobile);
        text-align: center;
    }

    .wcbq-modal .wcbq-head,
    .wcbq-modal .wcbq-head h3,
    .wcbq-modal .wcbq-contact-intro,
    .wcbq-modal .wcbq-contact-benefits,
    .wcbq-modal .wcbq-contact-footnote,
    .wcbq-modal .wcbq-success,
    .wcbq-modal .wcbq-success p {
        text-align: center;
    }

    .wcbq-modal .wcbq-contact-benefits li {
        justify-content: center;
    }

    .wcbq-modal .wcbq-step h4,
    .wcbq-modal .wcbq-step-hint,
    .wcbq-modal .wcbq-step label,
    .wcbq-modal .wcbq-grid button,
    .wcbq-modal .wcbq-list button,
    .wcbq-modal .wcbq-option-text-wrap,
    .wcbq-modal .wcbq-option-text-wrap label {
        text-align: left !important;
    }

    .wcbq-modal .wcbq-dialog {
        scale: min(var(--wcbq-dialog-scale-mobile), 1);
        grid-template-columns: 1fr;
        min-height: auto;
        max-height: calc(100vh - 16px);
        overflow: auto;
    }

    .wcbq-modal .wcbq-visual {
        min-height: 230px;
    }

    .wcbq-modal .wcbq-step h4 {
        font-size: calc(32px * var(--wcbq-font-scale));
    }

    .wcbq-modal.wcbq-no-media-mobile .wcbq-visual {
        display: none !important;
    }

    .wcbq-modal.wcbq-no-media-mobile .wcbq-step-inline-image {
        display: none !important;
    }
}

@media (max-width: 760px) {
    .wcbq-modal .wcbq-content {
        padding: 18px 14px 14px;
    }

    .wcbq-modal .wcbq-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding-right: 0;
    }

    .wcbq-modal .wcbq-grid,
    .wcbq-modal .wcbq-list.wcbq-2col {
        grid-template-columns: 1fr;
    }

    .wcbq-modal .wcbq-step h4 {
        font-size: calc(30px * var(--wcbq-font-scale));
    }

    .wcbq-floating-btn {
        right: 12px;
        left: 12px;
        justify-content: center;
        bottom: 12px;
    }

    .wcbq-hide-mobile {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wcbq-open,
    .wcbq-open::before,
    .wcbq-open .wcbq-shimmer {
        animation: none !important;
        transition: none !important;
    }
}

@media (min-width: 761px) {
    .wcbq-hide-desktop {
        display: none !important;
    }
}

.wcbq-dialog.wcbq-media-right {
    direction: rtl;
}

.wcbq-dialog.wcbq-media-right > .wcbq-visual,
.wcbq-dialog.wcbq-media-right > .wcbq-content {
    direction: ltr;
}

.wcbq-step-bg {
    position: absolute;
    inset: 0;
    opacity: 0.95;
    pointer-events: none;
    transition: background 0.35s ease;
}

.wcbq-step-media-image,
.wcbq-step-media-video,
.wcbq-step-media-icon {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.wcbq-step-media-image,
.wcbq-step-media-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wcbq-step-media-icon {
    display: grid;
    place-items: center;
    font-size: clamp(84px, 16vw, 190px);
    color: rgba(255, 255, 255, 0.2);
}

.wcbq-step-media-image[hidden],
.wcbq-step-media-video[hidden],
.wcbq-step-media-icon[hidden] {
    display: none !important;
}

.wcbq-step-media-off .wcbq-step-media-image,
.wcbq-step-media-off .wcbq-step-media-video,
.wcbq-step-media-off .wcbq-step-media-icon,
.wcbq-step-media-off .wcbq-step-bg {
    display: none !important;
}

