/* ---------------------------------------------------------------------
   Where to Buy.

   Sits on top of style.css and kb.css rather than restyling the page:
   the header, footer and wrap come from there unchanged, so this page
   looks like the rest of the site and inherits its dark/light handling.
   --------------------------------------------------------------------- */

.wtb-routes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    margin: 1.75rem 0 2.25rem;
}

/* The whole card is the link. A customer scanning for "where do I buy"
   should not have to find a small phrase to click. */
.wtb-route {
    display: block;
    padding: 1.15rem 1.25rem 1rem;
    border: 1px solid #dcdce6;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color .12s ease, box-shadow .12s ease;
}

.wtb-route:hover,
.wtb-route:focus-visible {
    border-color: #5b4b9a;
    box-shadow: 0 2px 10px rgba(91, 75, 154, .13);
}

.wtb-route h2 { margin: 0 0 .35rem; font-size: 1.02rem; color: #2a2550; }
.wtb-route p  { margin: 0 0 .7rem; font-size: .88rem; color: #5a5a68; line-height: 1.45; }

.wtb-go { font-size: .85rem; font-weight: 600; color: #5b4b9a; }

.wtb-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.25rem 2rem;
    padding: 1.15rem 1.3rem;
    border-left: 3px solid #5b4b9a;
    background: #f7f6fb;
    border-radius: 0 8px 8px 0;
}

.wtb-contacts h2 { margin: 0 0 .3rem; font-size: .95rem; }
.wtb-contacts p  { margin: 0; font-size: .9rem; line-height: 1.5; }

.wtb-rule { margin: 2.5rem 0 1.5rem; border: 0; border-top: 1px solid #e3e3ec; }
.wtb-find-title { margin: 0 0 .9rem; }

.wtb-find label {
    display: block;
    font-weight: 600;
    font-size: .92rem;
    margin-bottom: .35rem;
}

.wtb-find select {
    font: inherit;
    padding: .62rem .7rem;
    min-width: 19rem;
    max-width: 100%;
    border: 1px solid #c3c3d2;
    border-radius: 8px;
    background: #fff;
}

.wtb-hint { margin: .6rem 0 0; font-size: .85rem; color: #5f5f6e; }

.wtb-count { margin: 1.6rem 0 .8rem; font-size: .95rem; }

.wtb-dealers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 1rem;
}

.wtb-dealer {
    padding: 1rem 1.1rem;
    border: 1px solid #e3e3ec;
    border-radius: 9px;
    background: #fff;
}

.wtb-kind {
    display: inline-block;
    font-size: .68rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #5b4b9a;
    background: #efecf8;
    padding: .13rem .5rem;
    border-radius: 999px;
    margin-bottom: .45rem;
}

.wtb-dealer h3 { margin: 0 0 .4rem; font-size: .99rem; }

.wtb-address {
    margin: 0 0 .6rem;
    font-size: .85rem;
    color: #55555f;
    line-height: 1.45;
}

.wtb-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .85rem;
    font-size: .85rem;
}

.wtb-links a { color: #5b4b9a; }

/* Keep an anchored jump clear of the sticky header, and make the landing
   obvious when the target was already on screen. */
#country, .wtb-rule { scroll-margin-top: 90px; }

#country:focus {
    outline: 2px solid #5b4b9a;
    outline-offset: 2px;
}

/* The state / province drill-down, added 19 November for Katie.
   Spaced off the country select rather than sitting beside it: on a
   phone two controls side by side wrap into each other, and the second
   one is a refinement of the first, not a peer. */
.wtb-narrow { margin-top: 1rem; }

.wtb-optional {
    font-weight: 400;
    color: #5f5f6e;
}
