/* =========================================================================
   Baitvibe AI — blue minimalist styling
   Larger text, clear buttons, generous spacing. Scoped so it never
   affects your other sites. Change --bv-blue to recolor everything.
   ========================================================================= */

:root {
    --bv-blue:      #1e5fa8;
    --bv-blue-dark: #17497f;
    --bv-ink:       #1a1a1a;
    --bv-muted:     #5a6672;
    --bv-line:      #e5e9ee;
    --bv-soft:      #f6f8fb;
}

/* -------------------------------------------------------------------------
   Search hero — centered heading + intro (from [baitvibe_search])
   ------------------------------------------------------------------------- */

.bv-search-hero {
    position: relative;
    max-width: 720px;
    margin: 3rem auto 0;
    text-align: center;
    padding: 0 1.25rem;
}
.bv-search-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    height: 520px;
    max-width: 82%;
    color: rgba(59, 130, 246, 0.10);  /* light blue silhouette, contained */
    pointer-events: none;
    z-index: 0;
}
.bv-search-hero > *:not(.bv-search-watermark) {
    position: relative;
    z-index: 1;
}
.bv-search-heading {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 .75rem;
    color: var(--bv-ink);
}
.bv-search-intro {
    font-size: 1.2rem;
    line-height: 1.55;
    color: var(--bv-muted);
    max-width: 52ch;
    margin: 0 auto 2rem;
}

/* -------------------------------------------------------------------------
   Search form — big, friendly, phone-ready
   ------------------------------------------------------------------------- */

.bv-search {
    max-width: 680px;
    margin: 0 auto 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: stretch;
    text-align: left;
}
.bv-search input[type="text"] {
    flex: 1 1 100%;
    padding: 1rem 1.15rem;
    border: 2px solid #cdd6df;
    border-radius: 10px;
    font-size: 1.15rem;
    transition: border-color .15s ease;
}
.bv-search input[type="text"]:focus {
    outline: none;
    border-color: var(--bv-blue);
}
.bv-search .bv-toggles {
    flex: 1 1 100%;
    border: 0;
    padding: .25rem 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .85rem 1.5rem;
}
.bv-search .bv-toggles label {
    font-size: 1.05rem;
    color: #3a3a3a;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    cursor: pointer;
}
.bv-search .bv-toggles input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: var(--bv-blue);
    cursor: pointer;
}
.bv-search button {
    flex: 1 1 100%;
    background: var(--bv-blue);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease;
}
.bv-search button:hover { background: var(--bv-blue-dark); }

/* -------------------------------------------------------------------------
   Bait recommendation page
   ------------------------------------------------------------------------- */

.bv-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem 3.5rem;
    line-height: 1.65;
    font-size: 1.05rem;
    color: var(--bv-ink);
}

.bv-page .bv-active-conditions {
    display: inline-block;
    font-size: .85rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #123a63;
    background: #d6e4f5;
    padding: .4rem .85rem;
    border-radius: 999px;
    margin: 0 0 1.5rem;
}

.bv-page .bv-summary {
    font-size: 1.3rem;
    line-height: 1.55;
    color: #2b2b2b;
    margin: 0 0 1.75rem;
    max-width: 65ch;
}

.bv-page .bv-recs {
    background: var(--bv-soft);
    border: 1px solid var(--bv-line);
    border-left: 4px solid var(--bv-blue);
    border-radius: 10px;
    padding: 1.1rem 1.35rem;
    margin: 0 0 2.25rem;
    font-size: 1.02rem;
    color: #3a3a3a;
}
.bv-page .bv-recs strong {
    display: block;
    margin-bottom: .4rem;
    color: var(--bv-blue);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .82rem;
}

.bv-page .bv-condition-toggles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    margin: 0 0 2.25rem;
}
.bv-page .bv-condition-toggles > span {
    font-weight: 600;
    margin-right: .3rem;
    color: var(--bv-muted);
}
.bv-page .bv-toggle {
    display: inline-block;
    padding: .5rem 1rem;
    border: 1.5px solid #cdd6df;
    border-radius: 999px;
    background: #fff;
    color: #33404d !important;
    text-decoration: none !important;
    font-size: .98rem;
    line-height: 1.2;
    transition: all .15s ease;
}
.bv-page .bv-toggle:hover {
    border-color: var(--bv-blue);
    color: var(--bv-blue) !important;
}
.bv-page .bv-toggle-on {
    background: var(--bv-blue);
    border-color: var(--bv-blue);
    color: #fff !important;
    font-weight: 600;
}

.bv-page .bv-save { margin: 0 0 2.5rem; }
.bv-page .bv-save-btn {
    background: var(--bv-ink);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: .7rem 1.4rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background .15s ease;
}
.bv-page .bv-save-btn:hover { background: #33414f; }
.bv-page .bv-save-status {
    margin-left: .8rem;
    color: var(--bv-blue);
    font-weight: 600;
}

.bv-page ul.products {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.75rem;
}
.bv-page ul.products::before,
.bv-page ul.products::after { content: none !important; display: none !important; }

.bv-page ul.products li.product {
    list-style: none !important;
    width: auto !important;
    margin: 0 !important;
    float: none !important;
    background: #fff;
    border: 1px solid var(--bv-line);
    border-radius: 12px;
    padding: 1.1rem;
    text-align: center;
    transition: box-shadow .18s ease, transform .18s ease;
}
.bv-page ul.products li.product:hover {
    box-shadow: 0 8px 24px rgba(30,95,168,.12);
    transform: translateY(-3px);
}
.bv-page ul.products li.product img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 0 .85rem;
}
.bv-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: .3rem 0 .55rem;
    color: var(--bv-ink);
}
.bv-page ul.products li.product .price {
    display: block;
    font-size: 1.1rem;
    color: var(--bv-blue);
    font-weight: 700;
    margin: 0 0 .85rem;
}
.bv-page ul.products li.product .price del {
    color: #9aa4ae; font-weight: 400; margin-right: .35rem;
}
.bv-page ul.products li.product a.button,
.bv-page ul.products li.product a.add_to_cart_button {
    display: inline-block;
    background: var(--bv-blue);
    color: #fff !important;
    border-radius: 8px;
    padding: .6rem 1.2rem;
    font-size: .98rem;
    text-decoration: none;
    transition: background .15s ease;
}
.bv-page ul.products li.product a.button:hover,
.bv-page ul.products li.product a.add_to_cart_button:hover {
    background: var(--bv-blue-dark);
}

.bv-page .bv-no-products {
    background: #fff8e6;
    border: 1px solid #ffe8a3;
    border-radius: 10px;
    padding: 1.1rem 1.35rem;
    color: #7a5b00;
    font-size: 1.05rem;
}

/* -------------------------------------------------------------------------
   Saved searches (My Baits tab)
   ------------------------------------------------------------------------- */

.bv-saved-list { list-style: none; margin: 0; padding: 0; }
.bv-saved-list li {
    padding: .75rem 0;
    border-bottom: 1px solid #eef1f4;
    font-size: 1.05rem;
}
.bv-saved-list li a { color: var(--bv-blue); font-weight: 600; text-decoration: none; }
.bv-saved-list li a:hover { text-decoration: underline; }

/* -------------------------------------------------------------------------
   Small screens (many anglers are on phones)
   ------------------------------------------------------------------------- */

@media (max-width: 600px) {
    .bv-search-heading { font-size: 2.1rem; }
    .bv-search-intro { font-size: 1.1rem; }
    .bv-page { font-size: 1.1rem; }
    .bv-page .bv-summary { font-size: 1.2rem; }
    .bv-page ul.products {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    .bv-page ul.products li.product img { height: 150px; }
}

/* -------------------------------------------------------------------------
   v2.0 additions — ideal-uses blurb, notify toggle, autosaved note
   ------------------------------------------------------------------------- */

.bv-ideal-uses {
    background: var(--bv-soft);
    border-left: 4px solid var(--bv-blue);
    border-radius: 8px;
    padding: .9rem 1.1rem;
    margin: 1rem 0;
}
.bv-ideal-uses strong {
    display: block;
    color: var(--bv-blue);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .78rem;
    margin-bottom: .3rem;
}
.bv-ideal-uses p { margin: 0; font-size: 1rem; color: #3a3a3a; }

.bv-autosaved {
    color: #1f7a4d;
    font-weight: 600;
    margin-right: 1rem;
}
.bv-notify-label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .95rem;
    color: var(--bv-muted);
    cursor: pointer;
}
.bv-notify-label input[type="checkbox"] {
    width: 1.05rem; height: 1.05rem;
    accent-color: var(--bv-blue);
    cursor: pointer;
}

/* -------------------------------------------------------------------------
   v2.6 — rate-limit notices
   ------------------------------------------------------------------------- */

.bv-rate-limited {
    background: #fff8e6;
    border: 1px solid #ffe8a3;
    border-radius: 10px;
    padding: 1.1rem 1.35rem;
    color: #7a5b00;
    font-size: 1.05rem;
    max-width: 640px;
    margin: 2rem auto;
    text-align: center;
}
.bv-rate-limited a { color: var(--bv-blue); font-weight: 600; }

.bv-rate-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: #11202e;
    color: #fff;
    padding: .9rem 1.4rem;
    border-radius: 8px;
    font-size: .98rem;
    box-shadow: 0 6px 24px rgba(0,0,0,.25);
    z-index: 9999;
    max-width: 90%;
}

/* -------------------------------------------------------------------------
   v2.7 — grouped single-select condition radios
   ------------------------------------------------------------------------- */

.bv-search .bv-toggle-group {
    flex: 1 1 100%;
    border: 0;
    padding: .25rem 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .6rem 1.25rem;
}
.bv-search .bv-toggle-group legend {
    flex: 1 1 100%;
    text-align: center;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--bv-muted);
    margin-bottom: .25rem;
    padding: 0;
}
.bv-search .bv-radio {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: 1.05rem;
    color: #3a3a3a;
    cursor: pointer;
}
.bv-search .bv-radio input[type="radio"] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--bv-blue);
    cursor: pointer;
}

/* -------------------------------------------------------------------------
   v2.8 — structured ideal-use highlights on product pages
   ------------------------------------------------------------------------- */

.bv-ideal-uses .bv-highlights {
    list-style: none;
    margin: .4rem 0 0;
    padding: 0;
}
.bv-ideal-uses .bv-highlights li {
    margin: 0 0 .35rem;
    font-size: 1rem;
    color: #3a3a3a;
    line-height: 1.4;
}
.bv-ideal-uses .bv-highlights li span {
    display: inline-block;
    min-width: 92px;
    font-weight: 700;
    color: var(--bv-blue);
}

/* v2.9 — group labels inside the refine pill row */
.bv-page .bv-condition-toggles .bv-toggle-grouplabel {
    font-weight: 600;
    color: var(--bv-muted);
    margin: 0 .15rem 0 .75rem;
    font-size: .95rem;
}
.bv-page .bv-condition-toggles .bv-toggle-grouplabel:first-of-type {
    margin-left: .25rem;
}

/* -------------------------------------------------------------------------
   v3.0 — clean refine layout: each group on its own row
   ------------------------------------------------------------------------- */

.bv-page .bv-condition-toggles {
    display: block;          /* override the old flex row */
    margin: 0 0 2.25rem;
}
.bv-page .bv-condition-toggles .bv-refine-label {
    display: block;
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--bv-muted);
    margin: 0 0 .6rem;
}
.bv-page .bv-toggle-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .6rem;
}
.bv-page .bv-toggle-row .bv-toggle-grouplabel {
    min-width: 68px;
    font-weight: 600;
    color: var(--bv-ink);
    font-size: .95rem;
    margin: 0;
}

/* -------------------------------------------------------------------------
   v3.1 — force horizontal refine rows (override theme link/list styling)
   ------------------------------------------------------------------------- */

.bv-page .bv-condition-toggles { display: block !important; }

.bv-page .bv-toggle-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: .5rem !important;
    margin: 0 0 .7rem !important;
}
.bv-page .bv-toggle-row .bv-toggle-grouplabel {
    display: inline-block !important;
    min-width: 70px !important;
    font-weight: 600 !important;
    color: var(--bv-ink) !important;
    font-size: .95rem !important;
    margin: 0 !important;
}
.bv-page .bv-toggle-row .bv-toggle {
    display: inline-block !important;
    margin: 0 !important;
    float: none !important;
    width: auto !important;
}

/* -------------------------------------------------------------------------
   v3.2 — grouped My Baits account page
   ------------------------------------------------------------------------- */

.bv-mybaits-intro { color: var(--bv-muted); margin: 0 0 1.5rem; }

.bv-fishery {
    margin: 0 0 1.5rem;
    border: 1px solid var(--bv-line);
    border-radius: 10px;
    overflow: hidden;
}
.bv-fishery-title {
    margin: 0;
    padding: .85rem 1.1rem;
    background: var(--bv-soft);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bv-ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bv-fishery-count {
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--bv-muted);
    background: #fff;
    border: 1px solid var(--bv-line);
    border-radius: 999px;
    padding: .2rem .6rem;
}
.bv-variant-list { list-style: none; margin: 0; padding: 0; }
.bv-variant {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .7rem 1.1rem;
    border-top: 1px solid var(--bv-line);
}
.bv-variant:first-child { border-top: 0; }
.bv-variant-link {
    flex: 1;
    color: var(--bv-blue) !important;
    font-weight: 600;
    text-decoration: none !important;
}
.bv-variant-link:hover { text-decoration: underline !important; }
.bv-variant .bv-notify-label {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .9rem;
    color: var(--bv-muted);
    white-space: nowrap;
}
.bv-variant .bv-notify-label input { accent-color: var(--bv-blue); }
.bv-delete-btn {
    background: transparent;
    border: 0;
    color: #b0b8c1;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 .2rem;
}
.bv-delete-btn:hover { color: #d9534f; }

/* -------------------------------------------------------------------------
   v3.3 — three-level My Baits (Region > Water > Conditions)
   ------------------------------------------------------------------------- */

.bv-region { margin: 0 0 2rem; }
.bv-region-title {
    margin: 0 0 .75rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--bv-ink);
    padding-bottom: .4rem;
    border-bottom: 2px solid var(--bv-blue);
}
.bv-water {
    margin: 0 0 1rem;
    border: 1px solid var(--bv-line);
    border-radius: 10px;
    overflow: hidden;
}
.bv-water-title {
    margin: 0;
    padding: .7rem 1.1rem;
    background: var(--bv-soft);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--bv-ink);
}

/* v3.6 — in-content bait page title (replaces inconsistent theme title) */
.bv-page .bv-page-title {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--bv-ink);
    margin: 0 0 1.25rem;
}

/* -------------------------------------------------------------------------
   v3.7 — fishing-style filter pills + product-page style tags
   ------------------------------------------------------------------------- */

.bv-style-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin: 0 0 1.25rem;
}
.bv-style-filter .bv-style-label {
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--bv-muted);
    margin-right: .25rem;
}
.bv-style-pill {
    padding: .4rem .9rem;
    border: 1px solid var(--bv-line);
    border-radius: 999px;
    background: #fff;
    color: var(--bv-ink);
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .12s;
}
.bv-style-pill:hover { border-color: var(--bv-blue); }
.bv-style-pill.bv-style-on {
    background: var(--bv-blue);
    color: #fff;
    border-color: var(--bv-blue);
}
.bv-style-none { color: var(--bv-muted); margin: 1rem 0; }
.bv-style-none .bv-style-reset {
    background: none; border: 0; color: var(--bv-blue); font-weight: 600; cursor: pointer; text-decoration: underline;
}
.bv-product-item { display: contents; } /* keep WooCommerce grid layout intact */

.bv-styles {
    margin: 1rem 0;
}
.bv-styles strong {
    display: block;
    color: var(--bv-blue);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .78rem;
    margin-bottom: .4rem;
}
.bv-style-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.bv-style-tag {
    background: var(--bv-soft);
    border: 1px solid var(--bv-line);
    border-radius: 999px;
    padding: .3rem .8rem;
    font-size: .9rem;
    color: var(--bv-ink);
}

/* -------------------------------------------------------------------------
   v3.8 — "do any of these match?" suggestion interstitial
   ------------------------------------------------------------------------- */

.bv-suggest-intro {
    font-size: 1.08rem;
    color: #3a3a3a;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}
.bv-suggest-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    border: 1px solid var(--bv-line);
    border-radius: 10px;
    overflow: hidden;
}
.bv-suggest-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1.1rem;
    border-top: 1px solid var(--bv-line);
}
.bv-suggest-item:first-child { border-top: 0; }
.bv-suggest-item a {
    color: var(--bv-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
}
.bv-suggest-item a:hover { text-decoration: underline; }
.bv-suggest-match { background: #f0f7ff; }
.bv-suggest-tag {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--bv-blue);
    background: #fff;
    border: 1px solid #bcd8f5;
    border-radius: 999px;
    padding: .2rem .55rem;
    white-space: nowrap;
}
.bv-suggest-hidden { display: none; }
.bv-suggest-more {
    background: none;
    border: 1px solid var(--bv-line);
    border-radius: 8px;
    padding: .6rem 1.1rem;
    color: var(--bv-blue);
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1.5rem;
}
.bv-suggest-more:hover { border-color: var(--bv-blue); background: #f6faff; }
.bv-suggest-actions { margin-top: .5rem; }
.bv-suggest-continue {
    display: inline-block;
    background: var(--bv-blue);
    color: #fff !important;
    padding: .8rem 1.6rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none !important;
    font-size: 1.05rem;
}
.bv-suggest-continue:hover { background: #184e8c; }

/* -------------------------------------------------------------------------
   v4.0 — cleaned-up structured form (aligned two-column grid, centered)
   ------------------------------------------------------------------------- */

.bv-search-structured {
    display: block;                 /* override the old flex-wrap layout */
    max-width: 620px;
    margin: 0 auto 2.5rem;
    text-align: left;
}

/* Two-column grid for the top fields; stacks on mobile. */
.bv-search-structured .bv-sfield,
.bv-search-structured .bv-sfield-row {
    margin: 0 0 1.15rem;
}
.bv-search-structured .bv-sfield > span {
    display: block;
    font-weight: 600;
    font-size: .95rem;
    margin-bottom: .4rem;
    color: var(--bv-ink);
}
.bv-search-structured .bv-sfield > span em {
    font-weight: 400;
    color: var(--bv-muted);
    font-style: normal;
    font-size: .88em;
}
.bv-search-structured .bv-sfield input,
.bv-search-structured .bv-sfield select {
    width: 100%;
    padding: .8rem .9rem;
    border: 2px solid #cdd6df;
    border-radius: 10px;
    font-size: 1.05rem;
    box-sizing: border-box;
    background: #fff;
    transition: border-color .15s ease;
}
.bv-search-structured .bv-sfield input:focus,
.bv-search-structured .bv-sfield select:focus {
    outline: none;
    border-color: var(--bv-blue);
}
/* State dropdown: match the text inputs exactly (left-aligned, vertically centered). */
.bv-search-structured .bv-sfield select[name="state"] {
    text-align: left;
    text-align-last: left;
    line-height: 1.4;
    padding-top: .55rem;
    padding-bottom: 1.05rem;
    vertical-align: middle;
}

/* Paired rows (Species+Water, Town+State) sit side by side, equal width. */
.bv-search-structured .bv-sfield-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.bv-search-structured .bv-sfield-row .bv-sfield { margin: 0; }

/* Condition groups: left-aligned label, pills flow left (match the fields). */
.bv-search-structured .bv-toggle-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: .4rem 1.3rem;
    border: 0;
    padding: 0;
    margin: 0 0 .9rem;
}
.bv-search-structured .bv-toggle-group legend {
    /* Fixed-width label column so Method and Time (and their radios) align. */
    flex: 0 0 90px;
    float: left;
    text-align: left;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--bv-muted);
    margin: 0;
    padding: 0;
    line-height: 1.4rem;
}
.bv-search-structured .bv-radio {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: 1rem;
    color: #3a3a3a;
    cursor: pointer;
    line-height: 1.4rem;
    white-space: nowrap;
    margin: 0;
}
.bv-search-structured .bv-radio input[type="radio"] {
    width: 1.1rem; height: 1.1rem;
    accent-color: var(--bv-blue);
    cursor: pointer;
    margin: 0;
    flex: none;
}

.bv-search-structured button[type="submit"] {
    width: 100%;
    margin-top: .5rem;
    padding: .95rem;
    background: var(--bv-blue);
    color: #fff;
    border: 0;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease;
}
.bv-search-structured button[type="submit"]:hover { background: #184e8c; }

/* Mobile: stack everything to one column. */
@media (max-width: 560px) {
    .bv-search-structured .bv-sfield-row { grid-template-columns: 1fr; }
}

/* Multi-species grouped sections */
.bv-multi .bv-species-section {
    margin: 0 0 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--bv-line);
}
.bv-multi .bv-species-section:last-child { border-bottom: 0; }
.bv-species-heading {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bv-blue);
    margin: 0 0 .6rem;
    padding-bottom: .3rem;
    border-bottom: 2px solid var(--bv-soft);
}

/* -------------------------------------------------------------------------
   v4.1 — "other spots around you" nearby fisheries
   ------------------------------------------------------------------------- */

.bv-nearby {
    margin: 2.5rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bv-line);
}
.bv-nearby-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--bv-ink);
    margin: 0 0 .3rem;
}
.bv-nearby-intro { color: var(--bv-muted); margin: 0 0 1rem; font-size: .95rem; }
.bv-nearby-list { list-style: none; margin: 0; padding: 0; }
.bv-nearby-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem 0;
    border-top: 1px solid var(--bv-line);
}
.bv-nearby-item:first-child { border-top: 0; }
.bv-nearby-item a { color: var(--bv-blue); font-weight: 600; text-decoration: none; }
.bv-nearby-item a:hover { text-decoration: underline; }
.bv-nearby-dist {
    font-size: .82rem;
    font-weight: 600;
    color: var(--bv-muted);
    background: var(--bv-soft);
    border-radius: 999px;
    padding: .2rem .65rem;
    white-space: nowrap;
}

/* -------------------------------------------------------------------------
   v4.6 — search loading overlay with rotating messages + spinner
   ------------------------------------------------------------------------- */

.bv-loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(248, 250, 252, 0.94);
    backdrop-filter: blur(3px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}
.bv-loading-overlay.bv-loading-on { display: flex; }
.bv-loading-box {
    text-align: center;
    padding: 2rem;
}
.bv-spinner {
    width: 54px;
    height: 54px;
    margin: 0 auto 1.4rem;
    border: 5px solid #dbe6f2;
    border-top-color: var(--bv-blue, #1e5fa8);
    border-radius: 50%;
    animation: bv-spin 0.9s linear infinite;
}
@keyframes bv-spin { to { transform: rotate(360deg); } }
.bv-loading-msg {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bv-ink, #12202e);
    margin: 0;
    transition: opacity 0.25s ease;
    min-height: 1.5em;
}

/* -------------------------------------------------------------------------
   v4.8 — shoppable variation cards on bait page (one-tap add to cart)
   ------------------------------------------------------------------------- */

.bv-products.bv-shoppable {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    border: 0;
}
.bv-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--bv-line, #e2e8ee);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .15s ease, transform .15s ease;
}
.bv-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-2px); }
.bv-card-img { aspect-ratio: 1/1; background: #f2f5f8; }
.bv-card-img a, .bv-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bv-card-noimg { display: block; width: 100%; height: 100%; background: #eef1f4; }
.bv-card-body { padding: .8rem .9rem .5rem; flex: 1; display: flex; flex-direction: column; gap: .2rem; }
.bv-card-name { font-weight: 700; color: var(--bv-ink, #12202e); text-decoration: none; line-height: 1.25; }
.bv-card-name:hover { color: var(--bv-blue, #1e5fa8); }
.bv-card-variant { font-size: .85rem; color: var(--bv-muted, #7a8794); }
.bv-card-price { font-weight: 700; color: var(--bv-blue, #1e5fa8); margin-top: .25rem; }
.bv-card-action { padding: 0 .9rem .9rem; }
.bv-add-cart {
    width: 100%;
    padding: .6rem;
    background: var(--bv-blue, #1e5fa8);
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    transition: background .15s ease;
}
.bv-add-cart:hover { background: #184e8c; }
.bv-add-cart.bv-added { background: #2f9e5f; }
.bv-add-cart:disabled { opacity: .8; cursor: default; }

/* v4.9 — size picker on shoppable cards */
.bv-card-size {
    width: 100%;
    padding: .4rem .5rem;
    border: 1px solid var(--bv-line, #d5dbe2);
    border-radius: 6px;
    font-size: .9rem;
    margin: .3rem 0;
    background: #fff;
    cursor: pointer;
}
.bv-card-size-single {
    font-size: .85rem;
    color: var(--bv-muted, #7a8794);
}
