/* =========================================================
   BooksDaddy quick-access strip
   Compact, dense e-commerce style (Buyers / Sellers / Publishers /
   Authors) — sits above the existing banner carousel instead of
   replacing it with a big spaced-out SaaS-style hero.
   Uses the theme's own CSS variables/utility colors so it matches
   whichever color skin is active in Admin > Settings > Theme Color.
   ========================================================= */

.bd-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .75rem;
    margin-top: .5rem;
}

.bd-strip-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: .65rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: .5rem;
    padding: .75rem .9rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.bd-strip-item:hover {
    border-color: var(--bs-primary, #f78b77);
    box-shadow: 0 .25rem .5rem rgba(0, 0, 0, .06);
}

.bd-strip-item i {
    font-size: 1.4rem;
    color: var(--bs-primary, #f78b77);
    flex-shrink: 0;
}

.bd-strip-item strong {
    display: block;
    font-size: .82rem;
    color: var(--bs-heading-color, #343f52);
    line-height: 1.3;
}

.bd-strip-item span {
    display: block;
    font-size: .7rem;
    color: var(--bs-body-color, #60697b);
    line-height: 1.3;
}

@media (max-width: 767.98px) {
    .bd-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: .5rem;
    }

    .bd-strip-item {
        padding: .6rem .7rem;
    }

    .bd-strip-item i {
        font-size: 1.15rem;
    }

    .bd-strip-item strong {
        font-size: .74rem;
    }

    .bd-strip-item span {
        font-size: .62rem;
    }
}

/* ---- Bolder, classic-bookstore-style "Sale" badge on product cards ----
   Overrides the existing soft pastel circle with a flatter red ribbon,
   closer to how discount tags read on established bookstore sites. ---- */
.sale_tag.avatar {
    height: auto !important;
    width: auto !important;
    border-radius: .25rem !important;
    background: #e2333f !important;
    padding: .2rem .5rem;
    font-size: .68rem !important;
    font-weight: 800;
    letter-spacing: .02em;
}
