/* ==========================================================================
   Bigwave_SymptomChecker — The Chicken Vet brand
   Green #075C2E · Deep green #04351B · Yolk yellow #FDC300
   ========================================================================== */
.bwsc {
    --sc-green: #075C2E;
    --sc-green-2: #0B7A3E;
    --sc-deep: #04351B;
    --sc-yolk: #FDC300;
    --sc-yolk-2: #FFD84D;
    --sc-cream: #FFF9E6;
    --sc-mint: #EEF6F1;
    --sc-mint-2: #DCEDE3;
    --sc-line: #E2EBE5;
    --sc-text: #2B3A31;
    --sc-muted: #6B7B71;
    --sc-red: #C0392B;
    --sc-radius: 22px;

    position: relative;
    max-width: 960px;
    margin: 30px auto 50px;
    background: #fff;
    border-radius: var(--sc-radius);
    box-shadow: 0 24px 60px -20px rgba(4, 53, 27, 0.35), 0 0 0 1px rgba(4, 53, 27, 0.06);
    overflow: hidden;
    color: var(--sc-text);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}
.bwsc *, .bwsc *::before, .bwsc *::after { box-sizing: border-box; }
.bwsc svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }

/* ── Hero band ────────────────────────────────────────────────────────── */
.bwsc-hero {
    position: relative;
    padding: 34px 40px 26px;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.10) 0, rgba(255, 255, 255, 0) 40%),
        radial-gradient(rgba(255, 255, 255, 0.07) 1.2px, transparent 1.4px) 0 0 / 18px 18px,
        linear-gradient(135deg, var(--sc-green) 0%, var(--sc-deep) 100%);
    color: #fff;
}
.bwsc .bwsc-eyebrow {
    display: inline-block;
    margin: 0 0 8px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--sc-yolk);
    color: var(--sc-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}
/* The chickenvet theme sets h1-h4 { color: #075C2E !important }, so headings
   inside the widget need !important to keep their own colours. */
.bwsc .bwsc-title { color: #fff !important; }
.bwsc .bwsc-q,
.bwsc .bwsc-answer-body h3,
.bwsc .bwsc-form-title { color: var(--sc-deep) !important; }

.bwsc .bwsc-title {
    margin: 0;
    font-family: roboto-slab, 'Roboto Slab', Georgia, serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.3px;
}

/* breadcrumb chips */
.bwsc .bwsc-trail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}
.bwsc .bwsc-trail.is-empty { display: none; }
.bwsc .bwsc-trail li { margin: 0; display: flex; align-items: center; gap: 8px; }
.bwsc .bwsc-trail li + li::before {
    content: '';
    width: 6px; height: 6px;
    border-top: 2px solid rgba(255,255,255,.55);
    border-right: 2px solid rgba(255,255,255,.55);
    transform: rotate(45deg);
}
.bwsc .bwsc-chip {
    appearance: none;
    margin: 0;
    padding: 5px 13px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    box-shadow: none;
    transition: background .2s, border-color .2s, color .2s;
}
.bwsc .bwsc-chip:hover,
.bwsc .bwsc-chip:focus-visible {
    background: var(--sc-yolk);
    border-color: var(--sc-yolk);
    color: var(--sc-deep);
}

/* progress */
.bwsc-progress { height: 5px; background: var(--sc-mint-2); }
.bwsc-progress-bar {
    display: block;
    height: 100%;
    width: 6%;
    background: linear-gradient(90deg, var(--sc-yolk), var(--sc-yolk-2));
    border-radius: 0 4px 4px 0;
    transition: width .5s cubic-bezier(.4, 0, .2, 1);
}

/* ── Stage ────────────────────────────────────────────────────────────── */
.bwsc-stage { padding: 34px 40px 36px; }
.bwsc-stage.is-in .bwsc-panel { animation: bwscIn .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes bwscIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

.bwsc .bwsc-step {
    margin: 0 0 6px;
    color: var(--sc-green-2);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.bwsc .bwsc-q {
    margin: 0 0 22px;
    color: var(--sc-deep);
    font-family: roboto-slab, 'Roboto Slab', Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    outline: none;
}
.bwsc .bwsc-intro {
    margin: 0 0 22px;
    padding: 16px 20px;
    border-radius: 14px;
    background: var(--sc-mint);
    color: var(--sc-text);
    font-size: 15px;
}
.bwsc .bwsc-intro p { margin: 0; }

/* ── Picture tiles (first two levels) ─────────────────────────────────── */
.bwsc .bwsc-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
}
.bwsc .bwsc-tile {
    appearance: none;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 22px 16px 18px;
    border: 2px solid var(--sc-line);
    border-radius: 18px;
    background: #fff;
    color: var(--sc-deep);
    font: inherit;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 0 var(--sc-line);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.bwsc .bwsc-tile::after {
    content: '';
    position: absolute;
    left: 18px; right: 18px; bottom: -2px;
    height: 4px;
    border-radius: 4px 4px 0 0;
    background: var(--sc-yolk);
    transform: scaleX(0);
    transition: transform .25s ease;
}
.bwsc .bwsc-tile:hover,
.bwsc .bwsc-tile:focus-visible {
    transform: translateY(-4px);
    border-color: var(--sc-green);
    box-shadow: 0 16px 30px -14px rgba(4, 53, 27, .45);
    background: #fff;
    color: var(--sc-deep);
}
.bwsc .bwsc-tile:hover::after,
.bwsc .bwsc-tile:focus-visible::after { transform: scaleX(1); }
.bwsc .bwsc-tile-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, #fff 0, var(--sc-mint) 70%);
    box-shadow: inset 0 0 0 1px var(--sc-mint-2);
    transition: background .22s;
}
.bwsc .bwsc-tile:hover .bwsc-tile-img { background: radial-gradient(circle at 50% 40%, #fff 0, var(--sc-cream) 70%); }
.bwsc .bwsc-tile-img img { max-width: 72px; max-height: 72px; height: auto; }
.bwsc .bwsc-tile-label {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}
.bwsc .bwsc-tile-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--sc-mint);
    color: var(--sc-green);
    transition: background .22s, color .22s, transform .22s;
}
.bwsc .bwsc-tile:hover .bwsc-tile-go,
.bwsc .bwsc-tile:focus-visible .bwsc-tile-go {
    background: var(--sc-green);
    color: #fff;
    transform: translateX(3px);
}

/* ── Yes / No choices ─────────────────────────────────────────────────── */
.bwsc .bwsc-choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    max-width: 640px;
}
.bwsc .bwsc-choice {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 16px 22px;
    border: 2px solid var(--sc-green);
    border-radius: 999px;
    background: #fff;
    color: var(--sc-green);
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
    transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.bwsc .bwsc-choice svg { transition: transform .2s; }
.bwsc .bwsc-choice:hover,
.bwsc .bwsc-choice:focus-visible {
    background: var(--sc-green);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 22px -12px rgba(4, 53, 27, .6);
}
.bwsc .bwsc-choice:hover svg { transform: translateX(3px); }
.bwsc .bwsc-choice--yes { background: var(--sc-green); color: #fff; }
.bwsc .bwsc-choice--yes:hover,
.bwsc .bwsc-choice--yes:focus-visible { background: var(--sc-deep); border-color: var(--sc-deep); }
.bwsc .bwsc-choice--other { border-style: dashed; border-color: #9DB8A7; color: var(--sc-muted); }
.bwsc .bwsc-choice--other:hover,
.bwsc .bwsc-choice--other:focus-visible { border-style: solid; border-color: var(--sc-green); }

/* ── Answer ───────────────────────────────────────────────────────────── */
.bwsc .bwsc-answer { max-width: 760px; }
.bwsc .bwsc-answer-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--sc-mint-2);
}
.bwsc .bwsc-answer-img {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 84px; height: 84px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, #fff 0, var(--sc-cream) 70%);
    box-shadow: 0 0 0 4px var(--sc-yolk);
}
.bwsc .bwsc-answer-img img { max-width: 58px; max-height: 58px; height: auto; }
.bwsc .bwsc-answer-for {
    margin: 0;
    color: var(--sc-muted);
    font-size: 14px;
    font-weight: 600;
}
.bwsc .bwsc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    background: var(--sc-yolk);
    color: var(--sc-deep);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.bwsc .bwsc-answer-body { outline: none; font-size: 16.5px; }
.bwsc .bwsc-answer-body h3 {
    margin: 0 0 14px;
    color: var(--sc-deep);
    font-family: roboto-slab, 'Roboto Slab', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}
.bwsc .bwsc-answer-body p { margin: 0 0 14px; }
.bwsc .bwsc-answer-body ul { margin: 0 0 16px; padding: 0; list-style: none; }
.bwsc .bwsc-answer-body li {
    position: relative;
    margin: 0 0 12px;
    padding: 14px 16px 14px 44px;
    border-radius: 12px;
    background: var(--sc-mint);
}
.bwsc .bwsc-answer-body li::before {
    content: '';
    position: absolute;
    left: 18px; top: 22px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--sc-yolk);
    box-shadow: 0 0 0 3px rgba(253, 195, 0, .3);
}
.bwsc .bwsc-answer-body a,
.bwsc .bwsc-intro a {
    color: var(--sc-green);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--sc-yolk);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}
.bwsc .bwsc-answer-body a:hover,
.bwsc .bwsc-intro a:hover { color: var(--sc-deep); background: var(--sc-cream); }

.bwsc .bwsc-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 22px 0 0;
    padding: 14px 18px;
    border-left: 4px solid var(--sc-yolk);
    border-radius: 0 12px 12px 0;
    background: var(--sc-cream);
    color: #5B4A12;
    font-size: 14px;
}
.bwsc .bwsc-note svg { margin-top: 2px; color: #B38900; }
.bwsc .bwsc-note p { margin: 0; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.bwsc .bwsc-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.bwsc .bwsc-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 15px 26px;
    border: 2px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    transition: background .2s, color .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.bwsc .bwsc-btn--primary {
    background: var(--sc-yolk);
    color: var(--sc-deep);
    box-shadow: 0 10px 22px -10px rgba(253, 195, 0, .9);
}
.bwsc .bwsc-btn--primary:hover,
.bwsc .bwsc-btn--primary:focus-visible {
    background: var(--sc-yolk-2);
    color: var(--sc-deep);
    text-decoration: none;
    transform: translateY(-2px);
}
.bwsc .bwsc-btn--outline {
    background: #fff;
    border-color: var(--sc-green);
    color: var(--sc-green);
}
.bwsc .bwsc-btn--outline:hover,
.bwsc .bwsc-btn--outline:focus-visible,
.bwsc .bwsc-btn--outline.is-active {
    background: var(--sc-green);
    color: #fff;
}
.bwsc .bwsc-btn:disabled { opacity: .6; cursor: wait; transform: none; }

.bwsc .bwsc-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--sc-line);
}
.bwsc .bwsc-nav--center { justify-content: center; border-top: 0; }
.bwsc .bwsc-link {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 6px 2px;
    border: 0;
    background: none;
    color: var(--sc-muted);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: none;
}
.bwsc .bwsc-link:hover,
.bwsc .bwsc-link:focus-visible { color: var(--sc-green); background: none; }

.bwsc button:focus-visible,
.bwsc a:focus-visible,
.bwsc input:focus-visible,
.bwsc textarea:focus-visible {
    outline: 3px solid var(--sc-yolk);
    outline-offset: 3px;
}

/* ── Enquiry form ─────────────────────────────────────────────────────── */
.bwsc .bwsc-form {
    margin-top: 22px;
    padding: 26px;
    border-radius: 18px;
    background: var(--sc-mint);
    border: 1px solid var(--sc-mint-2);
    animation: bwscIn .35s ease both;
}
.bwsc .bwsc-form[hidden] { display: none; }
.bwsc .bwsc-form-title {
    margin: 0 0 4px;
    color: var(--sc-deep);
    font-family: roboto-slab, 'Roboto Slab', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
}
.bwsc .bwsc-form-sub { margin: 0 0 18px; color: var(--sc-muted); font-size: 14px; }
.bwsc .bwsc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}
.bwsc .bwsc-field label {
    display: block;
    margin: 0 0 6px;
    color: var(--sc-deep);
    font-size: 14px;
    font-weight: 700;
}
.bwsc .bwsc-req { color: var(--sc-red); }
.bwsc .bwsc-opt { color: var(--sc-muted); font-weight: 400; }
.bwsc .bwsc-field input,
.bwsc .bwsc-field textarea {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 12px 14px;
    border: 2px solid #fff;
    border-radius: 12px;
    background: #fff;
    color: var(--sc-text);
    font: inherit;
    font-size: 16px;
    box-shadow: 0 1px 2px rgba(4, 53, 27, .08);
    transition: border-color .2s, box-shadow .2s;
}
.bwsc .bwsc-field textarea { resize: vertical; min-height: 110px; }
.bwsc .bwsc-field input:focus,
.bwsc .bwsc-field textarea:focus {
    border-color: var(--sc-green);
    box-shadow: 0 0 0 4px rgba(7, 92, 46, .12);
    outline: none;
}
.bwsc .bwsc-field .is-invalid { border-color: var(--sc-red); }
.bwsc .bwsc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bwsc .bwsc-error { min-height: 1.3em; margin: 10px 0; color: var(--sc-red); font-size: 14px; font-weight: 700; }
.bwsc .bwsc-submit { width: 100%; }

/* ── Success ──────────────────────────────────────────────────────────── */
.bwsc .bwsc-done { padding: 10px 0; text-align: center; }
.bwsc .bwsc-done-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px; height: 72px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--sc-yolk);
    color: var(--sc-deep);
    font-size: 30px;
    box-shadow: 0 0 0 10px var(--sc-cream);
}
.bwsc .bwsc-done p { max-width: 520px; margin: 0 auto; color: var(--sc-muted); }

/* ── Small screens ────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .bwsc { margin: 16px 0 32px; border-radius: 16px; }
    .bwsc-hero { padding: 24px 20px 20px; }
    .bwsc .bwsc-title { font-size: 26px; }
    .bwsc-stage { padding: 24px 18px 26px; }
    .bwsc .bwsc-q { font-size: 21px; }
    .bwsc .bwsc-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
    .bwsc .bwsc-tile { padding: 16px 10px 14px; gap: 8px; }
    .bwsc .bwsc-tile-img { width: 76px; height: 76px; }
    .bwsc .bwsc-tile-img img { max-width: 54px; max-height: 54px; }
    .bwsc .bwsc-tile-label { font-size: 14.5px; }
    .bwsc .bwsc-tile-go { display: none; }
    .bwsc .bwsc-answer-body h3 { font-size: 20px; }
    .bwsc .bwsc-btn { width: 100%; }
    .bwsc .bwsc-form { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .bwsc *, .bwsc *::before, .bwsc *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
