/* =============================================================
   Riverboat OS — Frontend CSS
   All brand values set via CSS custom properties.
   Scoped to .riverboat-locator and .riverboat-modal only.
   ============================================================= */

/* ---- Design tokens ---- */
.riverboat-locator,
.riverboat-modal {
    --riverboat-bg:               #ffffff;
    --riverboat-cream:            #F3EBCF;
    --riverboat-gold:             #C68B3B;
    --riverboat-gold-strong:      #C28236; /* white-on-bg = 5.83:1 — AA normal text */
    --riverboat-accent:           #C68B3B;
    --riverboat-focus:            #C68B3B; /* focus outline — matches brand gold */
    --riverboat-text:             #1A1A1A;
    --riverboat-text-body:        #34445C;
    --riverboat-text-muted:       #4B5563;
    --riverboat-text-secondary:   #475569; /* 6.74:1 on cream, replaces #64748b for mixed backgrounds */
    --riverboat-text-soft-on-white: #64748B; /* 4.85:1 on white only — do not use on cream */
    --riverboat-border:           #D8DEE6;
    --riverboat-chip-bg:          #F1F2F4;
    --riverboat-chip-text:        #374151;
    --riverboat-form-quiet-bg:    #F8F8F6;
    --riverboat-form-hover-bg:    #F5F5DC;
    --riverboat-radius-btn:       8px;
    --riverboat-radius-card:      8px;
    --riverboat-shadow-card:      0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
    --riverboat-transition:       200ms ease;
    font-family: inherit;
    box-sizing: border-box;
    color: var(--riverboat-text);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .riverboat-locator *,
    .riverboat-modal * {
        transition-duration: 0ms !important;
        animation-duration: 0ms !important;
    }
}

/* ---- Base reset (scoped) ---- */
.riverboat-locator *,
.riverboat-modal * {
    box-sizing: border-box;
}

/* ---- Locator layout ---- */
.riverboat-locator {
    width: 100%;
}

/* Filter bar */
.riverboat-locator__filters {
    padding: 16px 0;
}
.riverboat-locator__search-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
}
.riverboat-locator__search-input-wrap {
    position: relative;
    flex: 1 1 220px;
    min-width: 0;
    display: flex;
    align-items: center;
}
.riverboat-locator__search-input {
    width: 100%;
    height: 44px;
    line-height: 1.2;
    padding: 10px 44px 10px 14px;
    border: 1px solid var(--riverboat-border);
    border-radius: var(--riverboat-radius-btn);
    font-size: 14px;
    color: var(--riverboat-text);
    background: var(--riverboat-bg);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.riverboat-locator__search-input::-webkit-search-decoration,
.riverboat-locator__search-input::-webkit-search-cancel-button,
.riverboat-locator__search-input::-webkit-search-results-button,
.riverboat-locator__search-input::-webkit-search-results-decoration {
    -webkit-appearance: none;
}
.riverboat-locator__search-input:focus-visible {
    outline: 2px solid var(--riverboat-focus);
    outline-offset: 2px;
}
.riverboat-locator__bottle-select,
.riverboat-locator__radius-select {
    height: 44px;
    flex: 0 0 auto;
    padding: 0 12px;
    border: 1px solid var(--riverboat-border);
    border-radius: var(--riverboat-radius-btn);
    font-size: 14px;
    color: var(--riverboat-text);
    background: var(--riverboat-bg);
    cursor: pointer;
}
.riverboat-locator__bottle-select:focus-visible,
.riverboat-locator__radius-select:focus-visible {
    outline: 2px solid var(--riverboat-focus);
    outline-offset: 2px;
}

/* Quiet form-style Search button */
.riverboat-locator__search-btn {
    height: 44px;
    padding: 0 20px;
    flex: 0 0 auto;
    background: var(--riverboat-form-quiet-bg);
    color: var(--riverboat-text);
    border: 1px solid var(--riverboat-border);
    border-radius: var(--riverboat-radius-btn);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--riverboat-transition), border-color var(--riverboat-transition);
}
.riverboat-locator__search-btn:hover,
.riverboat-locator__search-btn:focus-visible {
    background: var(--riverboat-form-hover-bg);
    border-color: var(--riverboat-gold-strong);
}
.riverboat-locator__search-btn:focus-visible {
    outline: 2px solid var(--riverboat-focus);
    outline-offset: 2px;
}

/* Geoloc icon-only button, absolutely positioned inside the search input. */
.riverboat-locator__geoloc-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    color: var(--riverboat-gold-strong);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--riverboat-transition);
}
.riverboat-locator__geoloc-btn:hover { background: rgba(198,139,59,.12); }
.riverboat-locator__geoloc-btn:focus-visible { outline: 2px solid var(--riverboat-focus); outline-offset: 2px; }
.riverboat-locator__geoloc-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Count */
.riverboat-locator__count {
    font-size: 13px;
    color: var(--riverboat-text-secondary);
    margin-bottom: 10px;
    min-height: 20px;
}

/* Mobile tabs */
.riverboat-locator__mobile-tabs {
    display: none;
    gap: 0;
    border-bottom: 2px solid var(--riverboat-border);
    margin-bottom: 16px;
}
.riverboat-locator__tab {
    padding: 8px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--riverboat-text-secondary);
    cursor: pointer;
    margin-bottom: -2px;
    transition: color var(--riverboat-transition), border-color var(--riverboat-transition);
}
.riverboat-locator__tab--active,
.riverboat-locator__tab[aria-selected="true"] {
    color: var(--riverboat-gold-strong);
    border-bottom-color: var(--riverboat-gold-strong);
}
.riverboat-locator__tab:focus-visible { outline: 2px solid var(--riverboat-focus); outline-offset: 2px; }

/* Body / panels */
.riverboat-locator__body {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 20px;
    min-height: 500px;
}
.riverboat-locator__list-panel {
    overflow-y: auto;
    max-height: 600px;
    padding-top: 12px;
    padding-right: 8px;
}
.riverboat-locator__map-panel { position: relative; min-height: 400px; }
.riverboat-locator__map { width: 100%; height: 100%; min-height: 400px; border-radius: var(--riverboat-radius-card); border: 1px solid var(--riverboat-border); }
.riverboat-locator__map img { max-width: none !important; }

/* =============================================================
   Result cards — unified design system
   ============================================================= */

/* Defensive theme reset for lists and links */
.riverboat-card ul.riverboat-card__chips {
    list-style: none;
    padding-left: 0;
}
.riverboat-card a {
    text-decoration: none;
}

.riverboat-card {
    background: var(--riverboat-bg);
    border: 1px solid var(--riverboat-border);
    border-radius: var(--riverboat-radius-card);
    box-shadow: var(--riverboat-shadow-card);
    padding: 18px;
    margin-bottom: 12px;
    transition: border-color var(--riverboat-transition), box-shadow var(--riverboat-transition);
    position: relative;
    overflow: visible;
}
.riverboat-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);
}
.riverboat-card--selected { border-color: var(--riverboat-gold-strong); }

/* Nearest card — gold border treatment */
.riverboat-card--nearest {
    border: 2px solid var(--riverboat-gold-strong);
    padding-top: 28px;
}
.riverboat-card--nearest:hover {
    border-color: var(--riverboat-gold-strong);
}

/* Empty card — also needs top padding for the status tab */
.riverboat-card--empty {
    padding-top: 28px;
}
.riverboat-card--empty:hover {
    border-color: var(--riverboat-border);
    box-shadow: var(--riverboat-shadow-card);
}

/* =============================================================
   Status tab (NEAREST / NO LOCATIONS / CHANGE FILTERS)
   Attached to top-right edge of the card, inside card bounds
   so it is never clipped by overflow-y: auto list panels.
   ============================================================= */
.riverboat-card__status-tab {
    position: absolute;
    top: 0;
    right: 16px;
    transform: translateY(-50%);
    background: var(--riverboat-gold-strong);
    color: var(--riverboat-text);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 16px 5px 12px;
    border-radius: 4px 4px 0 0;
    -webkit-clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    line-height: 1;
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
}
/* Fallback for engines without polygon clip-path support */
@supports not ((clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%)) or (-webkit-clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%))) {
    .riverboat-card__status-tab {
        padding-right: 12px;
    }
}

/* Header row — store name left, View Website right */
.riverboat-card__header { display: block; }
.riverboat-card__header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
.riverboat-card__header-row .riverboat-card__name {
    flex: 1 1 auto;
    min-width: 0;
}

.riverboat-card__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--riverboat-text);
    margin: 0 0 6px;
    line-height: 1.3;
}

/* Top-right View Website text link */
.riverboat-card__website-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--riverboat-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}
.riverboat-card__website-link:hover {
    color: var(--riverboat-gold-strong);
    text-decoration: underline;
}
.riverboat-card__website-link:focus-visible {
    color: var(--riverboat-gold-strong);
    text-decoration: underline;
    outline: 2px solid var(--riverboat-focus);
    outline-offset: 2px;
    border-radius: 4px;
}

.riverboat-card__distance {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--riverboat-text-secondary);
    margin: 0 0 6px;
    line-height: 1.4;
}
.riverboat-card__distance-icon {
    flex-shrink: 0;
    color: currentColor;
}
.riverboat-card--nearest .riverboat-card__distance-icon {
    color: var(--riverboat-gold-strong);
}
.riverboat-card__distance-text { line-height: 1.4; }
.riverboat-card__address {
    display: block;
    font-size: 13px;
    color: #475569;
    margin: 0;
    line-height: 1.5;
    font-style: normal;
}

/* Divider */
.riverboat-card__divider {
    border: 0;
    border-top: 1px solid var(--riverboat-border);
    margin: 14px 0;
    width: 100%;
    height: 0;
}

/* Offerings group — de-emphasized */
.riverboat-card__offerings { display: block; }
.riverboat-card__offerings-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--riverboat-text-muted);
    margin: 0 0 6px;
    line-height: 1.2;
}
.riverboat-card__chips {
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.riverboat-card__chip {
    display: inline-flex;
    align-items: center;
    background: var(--riverboat-chip-bg);
    border: none;
    border-radius: var(--riverboat-radius-btn);
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 400;
    color: var(--riverboat-chip-text);
    line-height: 1.2;
    white-space: nowrap;
}
.riverboat-card__availability {
    font-size: 12px;
    color: var(--riverboat-text-soft-on-white);
    margin: 0;
    line-height: 1.45;
}

/* Tighter divider above Offerings section only (CTA divider keeps 14px) */
.riverboat-card__offerings-divider { margin: 12px 0 10px; }
.riverboat-card .riverboat-card__offerings-divider { margin: 12px 0 10px; }

/* Plain-text phone number below address */
.riverboat-card__phone-text {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--riverboat-text-secondary);
    font-style: normal;
}

/* CTA row — Get Directions + Call Store side-by-side */
.riverboat-card__actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
}
.riverboat-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1 1 0;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    border-radius: var(--riverboat-radius-btn);
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: opacity var(--riverboat-transition), background var(--riverboat-transition), border-color var(--riverboat-transition);
}
.riverboat-card__cta:focus-visible { outline: 2px solid var(--riverboat-focus); outline-offset: 2px; }

/* Primary: Get Directions — gold filled */
.riverboat-card__cta--directions {
    flex: 1.2 1 0;
    background: var(--riverboat-gold-strong);
    color: var(--riverboat-text);
    border-color: var(--riverboat-gold-strong);
}
.riverboat-card__cta--directions svg { color: var(--riverboat-text); }
.riverboat-card__cta--directions:hover { opacity: .88; }

/* Secondary: Call Store — white with text-colored border + icon */
.riverboat-card__cta--phone {
    background: #fff;
    color: var(--riverboat-text);
    border-color: var(--riverboat-text);
}
.riverboat-card__cta--phone svg { color: var(--riverboat-text); }
.riverboat-card__cta--phone:hover {
    background: rgba(198,139,59,.06);
}

/* Tiny-screen safeguard — keep CTAs side-by-side but compress them */
@media (max-width: 360px) {
    .riverboat-card__cta {
        padding: 0 8px;
        font-size: 12px;
        gap: 4px;
    }
    .riverboat-card__actions { gap: 6px; }
}

/* =============================================================
   THEME HARDENING — double-class selectors (specificity 0,2,0)
   Beat common theme patterns like .entry-content p, .entry-content h3,
   .et_pb_text h3 (specificity 0,1,1), so the shortcode renders
   identically to the modal regardless of the host theme.
   The baseline single-class rules above remain in place; these
   simply win the cascade in shortcode context without changing any
   visual values that were already correct in the modal.
   ============================================================= */

/* Headings — prevent theme text-transform / letter-spacing / font overrides */
.riverboat-card .riverboat-card__name {
    margin: 0 0 6px;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    font-family: inherit;
    text-transform: none;
    letter-spacing: normal;
    border: 0;
    color: var(--riverboat-text);
}
.riverboat-card .riverboat-card__offerings-title {
    margin: 0 0 6px;
    padding: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    font-family: inherit;
    text-transform: none;
    letter-spacing: normal;
    border: 0;
    color: var(--riverboat-text-muted);
}

/* Chips list / chip items — strip theme list styles and spacing */
.riverboat-card .riverboat-card__chips {
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.riverboat-card .riverboat-card__chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    margin: 0;
    background: var(--riverboat-chip-bg);
    border: none;
    border-radius: var(--riverboat-radius-btn);
    font-size: 12px;
    font-weight: 400;
    color: var(--riverboat-chip-text);
    line-height: 1.2;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: normal;
    font-family: inherit;
}

/* Address — prevent theme font-style: italic */
.riverboat-card .riverboat-card__address {
    display: block;
    font-size: 13px;
    color: #475569;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-style: normal;
}

/* Divider — prevent theme hr margins / borders */
.riverboat-card .riverboat-card__divider {
    border: 0;
    border-top: 1px solid var(--riverboat-border);
    margin: 14px 0;
    padding: 0;
    width: 100%;
    height: 0;
}

/* Availability disclaimer — prevent theme paragraph margins from
   pushing the disclaimer away from the chips row */
.riverboat-card .riverboat-card__availability {
    font-size: 12px;
    color: var(--riverboat-text-soft-on-white);
    margin: 0;
    padding: 0;
    line-height: 1.45;
}

/* CTA links — prevent theme anchor colour / underline / pointer-events bleed */
.riverboat-card .riverboat-card__cta {
    text-decoration: none;
    pointer-events: auto;
}
.riverboat-card .riverboat-card__cta--directions {
    background: var(--riverboat-gold-strong);
    color: var(--riverboat-text);
    border-color: var(--riverboat-gold-strong);
}
.riverboat-card .riverboat-card__cta--phone {
    background: #fff;
    color: var(--riverboat-text);
    border-color: var(--riverboat-text);
}

/* Website link — prevent theme anchor colour / underline bleed */
.riverboat-card .riverboat-card__website-link {
    text-decoration: none;
    pointer-events: auto;
    color: var(--riverboat-text-muted);
}

/* Empty card body — prevent theme paragraph margins */
.riverboat-card .riverboat-card__empty-body {
    font-size: 13px;
    color: var(--riverboat-text);
    margin: 0;
    padding: 0;
    line-height: 1.55;
    text-align: center;
}

/* Newsletter block — rendered outside .riverboat-card inside .riverboat-locator;
   same paragraph-margin threat as the card disclaimer */
.riverboat-locator .riverboat-newsletter {
    margin: 16px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
}
.riverboat-locator .riverboat-newsletter__cta {
    text-decoration: underline;
    pointer-events: auto;
    color: var(--riverboat-gold-strong);
}

/* Empty card body — centred text, no buttons */
.riverboat-card__empty-icon {
    display: flex;
    justify-content: center;
    color: var(--riverboat-gold-strong);
    margin: 4px 0 12px;
}
.riverboat-card--empty .riverboat-card__name {
    text-align: center;
    margin-bottom: 8px;
}
.riverboat-card__empty-body {
    font-size: 13px;
    color: var(--riverboat-text);
    margin: 0;
    line-height: 1.55;
    text-align: center;
}

/* Empty-state notice container */
.riverboat-locator__no-results { padding: 0; color: var(--riverboat-text); }

/* =============================================================
   Standalone newsletter text block (below empty card)
   ============================================================= */
.riverboat-newsletter {
    margin: 16px 0 0;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--riverboat-text);
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
}
.riverboat-newsletter__label { font-weight: 400; }
.riverboat-newsletter__body  { font-weight: 400; }
.riverboat-newsletter__cta {
    color: var(--riverboat-gold-strong);
    font-weight: 700;
    text-decoration: underline;
    margin-left: 4px;
    white-space: nowrap;
}
.riverboat-newsletter__cta:hover { color: var(--riverboat-text); }
.riverboat-newsletter__cta:focus-visible {
    color: var(--riverboat-text);
    outline: 2px solid var(--riverboat-focus);
    outline-offset: 2px;
    border-radius: 2px;
}

/* =============================================================
   MAP INFO WINDOW
   ============================================================= */
.riverboat-locator .riverboat-map-card {
    box-sizing: border-box;
    max-width: 240px;
    padding: 18px;
    font-family: inherit;
    color: var(--riverboat-text);
}
.riverboat-locator .riverboat-map-card__name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 6px;
    padding-right: 28px;
    color: var(--riverboat-text);
}
.riverboat-locator .riverboat-map-card__address {
    display: block;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    font-style: normal;
    margin: 0 0 12px;
}
.riverboat-locator .riverboat-map-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--riverboat-gold-strong);
    color: var(--riverboat-text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    border-radius: var(--riverboat-radius-btn);
    transition: opacity var(--riverboat-transition);
}
.riverboat-locator .riverboat-map-card__cta svg { color: var(--riverboat-text); }
.riverboat-locator .riverboat-map-card__cta:hover { opacity: .88; }
.riverboat-locator .riverboat-map-card__cta:focus-visible {
    outline: 2px solid var(--riverboat-focus);
    outline-offset: 2px;
}

/* Desktop: slightly wider map card with even padding on all sides */
@media (min-width: 721px) {
    .riverboat-locator .riverboat-map-card {
        max-width: 280px;
        padding: 14px;
    }
}

/* Zero out Google's InfoWindow chrome padding */
.riverboat-locator .gm-style .gm-style-iw-c {
    padding: 0 !important;
}
.riverboat-locator .gm-style .gm-style-iw-d {
    overflow: auto !important;
    padding: 0 !important;
}
/* Newer Google Maps SDK wraps the close-X in .gm-style-iw-chr, a flex
   header strip that adds ~30–40px of flow space ABOVE .gm-style-iw-d.
   That extra strip is why the map card looks unevenly padded at the top.
   Take the strip out of flow (absolute, top-right) so our .riverboat-map-card
   padding (14px on desktop) renders evenly on all four sides. The close
   button stays visible and clickable; .riverboat-map-card__name already
   reserves padding-right: 28px so it never collides with the X. */
.riverboat-locator .gm-style .gm-style-iw-chr {
    position: absolute;
    top: 0;
    right: 0;
    height: auto;
    min-height: 0;
    z-index: 1;
}

/* Inline geocode-fail / temporary notice */
.riverboat-locator__notice {
    background: #fef3c7;
    border-left: 3px solid #d97706;
    color: #78350f;
    padding: 12px 16px;
    margin: 0 0 12px;
    font-size: 14px;
    border-radius: 4px;
}
.riverboat-locator__notice p { margin: 0; }
.riverboat-locator__notice strong { font-weight: 600; }

/* ============================================================
   MODAL
   ============================================================ */
body.riverboat-modal-open { overflow: hidden; }

.riverboat-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.riverboat-modal[hidden] { display: none; }
.riverboat-modal--open { display: flex; }

.riverboat-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    cursor: pointer;
}
.riverboat-modal__dialog {
    position: relative;
    background: var(--riverboat-cream);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    width: min(92vw, 1060px);
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
    display: flex;
    flex-direction: column;
}
.riverboat-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--riverboat-border);
    flex-shrink: 0;
}
.riverboat-modal__title { font-size: 22px; font-weight: 700; margin: 0; color: var(--riverboat-text); }
.riverboat-modal__subtitle { font-size: 14px; color: var(--riverboat-text-secondary); margin: 4px 0 0; }
.riverboat-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--riverboat-text-secondary);
    border-radius: 4px;
    transition: color var(--riverboat-transition);
    flex-shrink: 0;
}
.riverboat-modal__close:hover { color: var(--riverboat-text); }
.riverboat-modal__close:focus-visible { outline: 2px solid var(--riverboat-focus); outline-offset: 2px; }
.riverboat-modal__body { padding: 20px 24px 24px; flex: 1; overflow-y: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 720px) {
    .riverboat-locator__body {
        display: grid;
        grid-template-columns: 1fr;
    }
    /* Mobile Map tab: map sits above list. Both stay visible. */
    .riverboat-locator__list-panel { order: 2; }
    .riverboat-locator__map-panel  { order: 1; }
    .riverboat-locator__map-panel[data-active="true"] {
        scroll-margin-top: 12px;
    }

    .riverboat-locator__map-panel {
        display: none; /* Hidden until Map tab selected */
    }
    .riverboat-locator__mobile-tabs {
        display: flex;
    }
    .riverboat-locator__list-panel {
        max-height: none;
    }
    .riverboat-locator__mobile-tabs ~ .riverboat-locator__body .riverboat-locator__map-panel[data-active="true"] {
        display: block;
    }

    .riverboat-modal__dialog {
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
    }

    /* Stack search controls vertically on mobile */
    .riverboat-locator__search-row { flex-direction: column; align-items: stretch; }
    .riverboat-locator__search-input-wrap { flex: 1 1 auto; width: 100%; }
    .riverboat-locator__search-input { height: 44px; padding: 10px 44px 10px 14px; }
    .riverboat-locator__bottle-select,
    .riverboat-locator__radius-select { flex: 1 1 auto; width: 100%; }
    .riverboat-locator__search-btn { width: 100%; justify-content: center; }
}

/* Screen reader only */
.riverboat-locator .screen-reader-text,
.riverboat-modal   .screen-reader-text,
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
