/**
 * Standalone shopping-list button (WB-177).
 *
 * Self-contained: carries every rule the button needs so it renders correctly
 * on pages that do not load recipe.css (i.e. the site-wide opt-in case). The
 * default icon matches the historical graphic; the icon can be overridden per
 * site via the `stc_shopping_list_icon` filter (applied as an inline
 * background-image by shopping-button.js).
 */
.stc-cart-overlay {
    cursor: pointer;
    bottom: 30px;
    left: 10px;
    position: fixed;
    z-index: 10100;
}

.stc-cart-overlay .img-wrapper:after {
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.42);
    content: " ";
    height: 53px;
    left: 0;
    position: absolute;
    top: 0;
    width: 53px;
}

.stc-button {
    cursor: pointer;
}

.borderless {
    background-color: transparent;
    border: 0 none;
    margin: 0;
    padding: 0;
}

.stc-button-shop {
    background: rgba(0, 0, 0, 0) url("../images/shopping-list.png") no-repeat scroll 0 0;
    background-size: contain;
    display: inline-block;
    height: 53px;
    position: relative;
    width: 53px;
    z-index: 10105;
}

.stc-badge-shop {
    background: #ffffff none repeat scroll 0 0;
    border: 1px solid #BD081B;
    border-radius: 50%;
    color: #BD081B;
    font-size: 11px;
    font-weight: bold;
    position: absolute;
    text-align: center;
    width: 16px;
    height: 16px;
    right: -3px;
    top: -2px;
    z-index: 10110;
    visibility: hidden;
}

.stc-button-text {
    display: block;
}

.stc-badge-text {
    margin-top: -2px;
}

.stc-badge-bump {
    animation: stc-badge-bump 0.4s ease;
}

@keyframes stc-badge-bump {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

.stc-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
