// /**
// * @package Divante/rapid
// * @author Kacper Chara <kchara@divante.pl>
// * @copyright 2017 Divante Sp. z o.o.
// * @license See LICENSE_DIVANTE.txt for license details.
// */

//
//  Extend
//  _____________________________________________

@import 'module/_listings_extend.less';
@import 'module/_toolbar_extend.less';
@import '_widgets_extend.less';

//
//  Common
//  _____________________________________________

& when (@media-common = true) {
    .table-comparison {
        .product-item-actions {
            > .actions-primary {
                + .actions-secondary {
                    margin-top: 0;
                }
            }
        }
    }

    .product-info-main,
    .product-options-bottom {
        .box-tocart {
            .decrease-qty,
            .increase-qty,
            .input-text {
                height: 40px;
                width: 40px;
            }

            .input-text.qty {
                height: 40px;
                width: 40px;
            }

            .action.tocart {
                .lib-button-primary();
            }
        }
    }

    //
    //  Sidebar product view
    //  ---------------------------------------------
    .sidebar {
        .product-items {
            .product-item {
                .product-item-name {
                    margin: 0 0 5px;
                }

                .product-item-actions {
                    .actions-primary {
                        padding: 0;
                    }

                    .actions-secondary {
                        position: static;

                        > .action {
                            &:hover {
                                &:before {
                                    color: inherit;
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    .block-compare {
        .product-item {
            padding-left: 20px;
        }
    }
}


//
//  Divante Extend
//  _____________________________________________

@import '_extend-specific.less';
