/**
 * Archive Product Styles
 * Extracted from woocommerce/archive-product.php inline blocks
 */

/* Archive Layout */
section.section {
    margin-top: 20px;
}

.py-1.px-3.bg-bg.my-1.d-none.d-lg-block {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    margin-bottom: 16px !important;
}

.products.row.margins {
    padding-left: 0 !important;
    margin-left: -8px;
    margin-right: -8px;
}

.products.row.margins .col-xl-4 {
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-bottom: 16px;
}

/* Mobile Filter */
.mobile-filter {
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-filter.hidden {
    display: none;
}

.mf-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    height: 60px;
    justify-content: center;
    align-items: center;
    background: black;
    color: white;
}

.mf-top .close {
    position: absolute;
    top: 0;
    left: 0;
    padding: 15px;
    font-size: 20px;
}

.mf-content {
    flex: 1 0 auto;
    display: flex;
    margin-top: 60px;
    background: #fff;
    flex-direction: column;
    overflow-y: scroll;
    max-height: calc(100vh - 128px);
}

.mf-content .filter-item {
    display: flex;
    flex-direction: column;
    border-bottom: 2px solid #ddd;
}

.filter-item--toggle {
    display: flex;
    padding: 15px;
    justify-content: space-between;
}

.filter-item--content {
    padding: 0 15px 15px;
}

.filter-item--content li {
    padding-bottom: 6px;
}

.filter-item--content li label {
    display: flex;
    align-items: center;
}

.mf-content .type {
    font-weight: bold;
    font-family: sans-serif;
}

.mf-bot {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px;
    background: #eee;
}

.filter-toggle {
    justify-content: flex-start !important;
}

.filter-toggle--title {
    margin-left: 10px;
}

.filter-toggle--title h2 {
    margin: 0 !important;
}

.mobile-filter .stars i {
    display: inline-flex;
    height: 19px;
    width: 19px;
    border-radius: 3px;
    align-items: center;
    justify-content: center;
    background: #059700;
    color: white;
    font-size: 11px;
    margin-right: 3px;
}

.mobile-filter .review-summary a {
    color: #059700;
    margin-left: 5px;
    font-size: 14px;
}
