/* Base layout that the retired share plugin printed inline. */
.woo-social-buttons {
    margin: 10px 0 0;
}
.woo-social-buttons img {
    vertical-align: top;
}
.woo-social-buttons span.custom {
    float: left;
    margin: 0 5px 5px 0;
}

/* Menu Icons prints the SVG height attribute (e.g. 1189); WooCommerce resets it only on shop pages. */
#social-menu img._mi {
    height: auto;
}

/* Keep the closed drawer within the viewport; its toggle remains visible. */
@media (min-width: 992px) {
    .cart-tab.right {
        right: 0;
        width: 0;
        transition: width ease 0.5s;
    }
    .cart-tab.right.active {
        width: 22em;
    }
    .cart-tab.footer {
        overflow: hidden;
    }
    .cart-tab.footer .scroll-cart-bar {
        width: 22em;
    }
}

/* Keep the related and upsell section full width, also before the slider starts. */
#upsell-products .upsells, #related-products .related, #cross-sell-products .cross-sells { flex: 0 0 100%; max-width: 100%; }
#upsell-products ul.products li.product, #related-products ul.products li.product, #cross-sell-products ul.products li.product { min-width: min(275px, 100%); }
