.products.wrapper.products-grid .product-items {
    margin-bottom: 0;
}

/**
 * Sidebar
 */
.sidebar .block {
    margin-bottom: 30px !important;

    /**
     * Block title
     */

    .block-title {
        margin: 0;
        padding-bottom: 10px;

        strong {
            color: #222;
            font-weight: 700;
            text-transform: uppercase;
            font-size: 128.571%;
        }

        .counter {
            display: none !important;
        }
    }

    /**
     * Block content
     */

    .block-content,
    .empty {
        border: 1px solid #e5e5e5;
        background-color: #fff;
        padding: 20px;
        .border-radius(2px);
    }

    /**
     * Filter block
     */

    &.filter {
        .block-subtitle {
            display: none;
        }

        .block-content {
            background-color: #f9f9f9;
            border: none;
            .border-radius(2px);
        }

        .filter-actions .action.clear {
            text-decoration: none;
            background-color: @button-primary__default;
            padding: 7px 20px;
            color: @button-primary__color;
            border-radius: 4px;

            &:hover {
                background-color: @button-primary__hover;
            }
        }

        .filter-options .filter-options-content {
            margin: 0;
        }

        .filter-current .action.remove {
            text-decoration: none;

            &:before {
                content: '\e616';
                font-family: 'icons-blank-theme';
                color: #333;
                font-size: 26px;
                vertical-align: middle;
                position: relative;
                top: -1px;
            }

            span {
                display: none;
            }
        }

        .filter-options-item {
            margin: 0 -20px 20px;
            padding: 0 20px 20px;
            border-bottom: 1px solid #e9e9e9;

            &:last-child {
                margin-bottom: 0;
                padding-bottom: 0;
                border: none;
            }
        }

        .filter-options {
            .filter-options-title {
                text-transform: uppercase;
                color: #222;
                font-weight: 600;
            }

            .filter-options-content {
                display: block !important;
            }

            .filter-options-content .price-slider-wrap {
                padding: 0 6px;
            }

            .filter-options-content ol li {
                margin: 5px 0;
            }

            .filter-options-content ol li a {
                display: block;
                padding: 3px 0;
                text-decoration: none;
                color: #444;
                position: relative;
            }

            .filter-options-content ol li a .count {
                float: right;
            }

            .filter-options-content ol li a:before {
                content: "";
                display: inline-block;
                vertical-align: middle;
                width: 16px;
                height: 16px;
                border: 1px solid #e3e1e1;
                background-color: #fff;
                position: relative;
                top: -1px;
                margin-right: 4px;
                .border-radius(2px);
            }

            .filter-options-content ol li a:hover:after {
                position: absolute;
                left: 4px;
                top: -2px;
                .icomoon(e92d, 18px);
            }

            .filter-options-item:last-child .filter-options-content {
                margin-bottom: 0;
                padding-bottom: 0;
                border-bottom: none;
            }
        }
    }

}

.sidebar {
    .swatch-attribute-options {
        margin: 0;
    }

    .swatch-option.color {
        margin-left: 4px;
        margin-right: 11px;
    }

    /**
     * Block compare
     */

    .block-compare {
        .product-item .product-item-name {
            margin: 0;
        }

        .action.delete {
            right: 0;
            left: auto;
        }
    }
}

/**
 * Toolbar
 */

.toolbar {
    background-color: #f9f9f9;
    padding: 9px;
    margin-bottom: 30px;
}

.modes {
    .modes-label {
        display: none;
    }

    .modes-mode {
        height: 36px;
        width: 36px;
        border: 1px solid #e5e5e5 !important;
        background-color: #fff;
        margin-right: 5px;
        text-align: center;
        line-height: 34px;
        padding: 0;
        color: #222;
        .border-radius(2px);

        &.mode-grid:after {
            .icomoon(e93d, 18px);
        }

        &.mode-list:after {
            .icomoon(e942, 20px);
        }

        &:hover,
        &.active {
            color: #222;
        }

        &:before,
        span {
            display: none;
        }
    }
}

.sorter {
    padding: 0;

    .sorter-action {
        top: auto;

        &:before {
            line-height: 36px;
        }
    }
}

.toolbar-amount {
    padding-top: 5px;
}

.toolbar-amount,
.sorter-label,
.sorter-options,
.field.limiter .label,
.limiter-options,
.limiter-text {
    color: #444;
}

.pages {
    line-height: 0;

    .pages-label {
        display: none;
    }

    .items {
        font-weight: normal;
        font-size: unset;
    }

    .item {
        float: left;
        margin: 0 5px 0 0;
        height: 36px;
        min-width: 36px;
        text-align: center;
        border: 1px solid #e5e5e5;
        line-height: 34px;
        background-color: #fff;
        font-size: unset;
        .border-radius(2px);
        .transition(.1s);

        .action.next span,
        .action.previous span,
        .label {
            display: none;
        }

        &:last-child {
            margin: 0;
        }

        strong,
        a {
            display: block !important;
            padding: 0;
            color: #222;
            font-weight: normal;
            margin: 0 !important;
            border: none !important;
            line-height: 34px;
            .transition(.1s);
        }

        .action.next:before {
            .icomoon(e930, 16px);
        }

        .action.previous:before {
            .icomoon(e92f, 16px);
        }
    }

    .action {
        &:before {
            display: block !important;
            margin: 0 !important;
            color: #222 !important;
            .transition(.1s);
        }
    }
}

.products.wrapper ~ .toolbar .limiter {
    float: left;
    margin: 0 5px;
}

/**
 * Product list style
 */

.products.wrapper.products-list .product-items {
    margin: 0;
}

.products-list {
    .product-item,
    .product-items {
        font-size: unset;
    }

    .product-item {
        margin-bottom: 30px;
    }

    .product-image-container {
        vertical-align: top;
    }

    .product-image-wrapper img {
        min-height: 150px;
    }

    .image-product {
        display: block;
        width: 240px;
        border: 1px solid #e5e5e5;
        padding: 1px;
        position: relative;

        .product-item-photo {
            display: block;
            width: 100%;
            padding: 0;
            margin: 0;
        }

        .quickview-handler {
            width: 44px;
            height: 44px;
            line-height: 44px;
            position: absolute;
            text-align: center;
            left: 50%;
            top: 50%;
            margin-left: -22px;
            margin-top: -22px;
            z-index: 20;
            opacity: 0;
            visibility: hidden;
            .border-radius(2px);
            .transition(.1s);
        }

        .quickview-handler:before {
            .icomoon(e954, 20px);
        }

        .quickview-handler span {
            display: none;
        }

        &:hover .quickview-handler {
            opacity: 1;
            visibility: visible;
        }
    }

    .product-item-details {
        padding-left: 30px;
    }

    .product-item-name {
        margin: 0 0 5px;
        font-size: 116.67%;

        a {
            font-weight: 700;
        }
    }

    .product-item .product-reviews-summary .reviews-actions {
        position: relative;
        top: 2px;
        margin-left: 5px;
    }

    .product-item .price-box {
        margin: 9px 0;

        .price {
            font-size: 126.67%;
            font-weight: 400;
            color: #e74c3c;
        }
        .old-price .price{
            font-size: 14px;
            position: relative;
            top: 1px;
            color: #888;
        }
    }

    .product-item-description {
        margin: 0 0 20px;

        .action.more {
            display: none;
        }
    }

    .actions-primary {
        vertical-align: top;

        button {
            height: 40px;
            padding: 0 20px;
            line-height: 40px;
            text-transform: uppercase;
            .transition(.1s);
        }
    }

    .actions-secondary .action {
        display: inline-block;
        width: 40px;
        height: 40px;
        line-height: 38px;
        text-align: center;
        border: 1px solid #e5e5e5;
        float: left;
        margin-left: 5px;
        .border-radius(2px);
        .transition(.1s);

        &:before,
        span {
            display: none !important;
        }

        &.towishlist:after {
            .icomoon(e93f, 16px);
        }

        &.tocompare:after {
            .icomoon(e952, 16px);
        }
    }
}
