/* ============================================
   BD Store Locator — CTA Buttons
   Author: Mid-States
   Version: 1.0.0
   ============================================ */

/* Put both CTA blocks on the same row */
.bd-shop-online-wrap,
.wpsl-direction-wrap.bd-direction-wrap {
    display: inline-block;
    vertical-align: middle;
}

.bd-shop-online-wrap {
    margin-right: 8px;
}

/* Hide the distance text */
.bd-direction-wrap .wpsl-distance {
    display: none;
}

/* Shared button styles */
.bd-cta--primary,
.bd-direction-wrap a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none !important;
    border-radius: 3px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

/* Shop Online — filled red */
.bd-cta--primary {
    background-color: #e7002b;
    color: #fff !important;
    border: 2px solid #e7002b;
}
.bd-cta--primary:hover {
    background-color: #c40024;
    border-color: #c40024;
    color: #fff !important;
}

/* Shop In-Store — outlined red */
.bd-direction-wrap a {
    background-color: transparent;
    color: #e7002b !important;
    border: 2px solid #e7002b;
    font-size: 0;
}
.bd-direction-wrap a::after {
    content: "Shop In-Store";
    font-size: 12px;
}
.bd-direction-wrap a:hover {
    background-color: #e7002b;
    color: #fff !important;
}

/* Card hover background */
#wpsl-stores ul li {
    transition: background 0.2s ease;
}
#wpsl-stores ul li:hover {
    background-color: #f4f4f4;
}

/* Fix bottom border cutoff */
#wpsl-stores ul {
    overflow: visible !important;
}

#wpsl-stores ul li {
    overflow: visible !important;
    margin-bottom: 8px;
    padding-bottom: 20px !important;
}