/* Handles product price */
.cmp-product-price {
    display: flex;
    flex-flow: row nowrap;
    align-items: baseline;
}

.cmp-product-price .ph-product-price {
    display: flex;
    flex-flow: row nowrap;
    align-items: baseline;
}

.cmp-product-price .price-list span {
    font-weight: normal !important;
    font-family: var(--font-futura-bold);
}

.cmp-order-product .quantity-fld {
    font-weight: 600 !important;
}

.cmp-quantity-btns .quantity-btn.decrement {
    border-top-left-radius: var(--border-radius-xsmall) !important;
    border-bottom-left-radius: var(--border-radius-xsmall) !important;
}

.cmp-quantity-btns .quantity-btn.increment {
    border-top-right-radius: var(--border-radius-xsmall) !important;
    border-bottom-right-radius: var(--border-radius-xsmall) !important;
}

/* Handles cmp-elastic-product-list */
.no-products-found {
    margin: 30px 0;
}

.cmp-elastic-product-list h1 {
    font-size: 45px;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.cmp-elastic-product-list h1:after {
    margin: 0;
}

/* Handles cmp-product-list-item */
.cmp-product-list-item .sawlist-btn {
    margin-left: 15px;
}

.cmp-product-list-item .btn-u {
    border: none !important;
    background: var(--theme-primary);
    line-height: 35px !important;
    padding: 0 12px;
    height: 35px;
}

.cmp-product-list-item .quantity-btn {
    width: 35px !important;
    height: 35px !important;
    background: #fff;
    color: #2b2b2b;
    font-size: 15px !important;
    line-height: 35px !important;
    line-height: 1;
}

.cmp-product-list-item .quantity-fld {
    font-size: 15px;
    width: 60px !important;
    height: 35px !important;
    box-shadow: inset 0 0 5px rgba(0,0,0,.15);
    font-weight: bold;
}

.cmp-product-list-item .order-btn-text {
    display: none;
    visibility: hidden;
}

.cmp-product-list-item .uws-icon {
    font-size: 22px;
    line-height: 32px !important;
    margin-left: -2px;
    width: 30px;
}

.blocks .cmp-product-list-item .order-product-wrapper {
    flex-flow: row wrap;
}

.blocks .cmp-product-list-item .sawlist-btn {
    margin: 15px 0 0;
}

.blocks .cmp-product-list-item .cmp-order-product {
    width: 100%;
}

@media (max-width: 575px) {
    .cmp-product-list-item .text-container {
        padding-bottom: 10px !important;
    }
    .cmp-product-list-item .ph-product-price {
        margin-bottom: 20px;
    }
    .cmp-product-list-item .order-product-wrapper .btn-u {
        margin-right: auto;
    }
    .cmp-product-list-item .cmp-quantity-btns {
        margin-bottom: 15px;
    }

    .cmp-product-list-item .sawlist-btn {
        margin-top: 0 !important;
    }
}

@media (max-width: 1199px) {
    .blocks .cmp-product-list-item .text-container {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 576px) {
    .blocks .cmp-product-list-item .cmp-order-product {
        height: 85px;
        margin-top: 15px;
        justify-content: flex-start;
    }
}
/* Stock */
.cmp-product-list-item .ph-stock-wrapper {
    display: flex;
    flex-flow: column;
}

.cmp-product-stock .stock-wrapper {
    display: flex;
    flex-flow: row wrap;
    line-height: 1;
    align-items: center;
}

.cmp-product-stock {
    display: flex;
    flex-flow: row nowrap;
}

.cmp-product-stock .stock-label {
    order: 2;
    margin-right: 5px;
}

.cmp-product-stock .out-of-stock-label {
    order: 3;
    margin-top: 5px;
    font-size: 12px;
    width: 100%;
}

.cmp-product-stock .stock-count {
    margin-right: 5px;
    color: #8ec63f;
    font-weight: normal !important;
}

.out-of-stock-label {
    font-size: 12px !important;
    font-weight: normal !important;
}

.cmp-product-list-item .stock-label,
.cmp-product-list-item .stock-count {
    font-size: 18px !important;
    font-weight: normal !important;
}

.cmp-product-list-item .price-list span {
    font-size: 20px;
}

.cmp-product-list-item .price-per-label {
    font-size: 12px;
    font-weight: 600;
}

/* Blocks layout */
.blocks .cmp-product-list-item .item-wrapper {
    padding: 15px 15px 5px;
}

.blocks .cmp-product-list-item .text-container {
    padding-bottom: 30px;
}

.blocks .cmp-product-list-item .ph-stock-wrapper {
    height: 50px;
}

@media (min-width: 576px) {
    .blocks .cmp-product-list-item .prod-title {
        height: 104px;
        border-bottom: 1px solid #d2d2d2 !important;
    }

    .blocks .cmp-product-list-item .img-container {
        padding-top: 100%;
    }

    .blocks .cmp-product-list-item .img-container figure {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        height: 100%;
        width: 100%;
    }
}

/* Rows layout */
@media (min-width: 992px) {
    .rows .cmp-product-list-item {
        border-bottom: 1px solid var(--grey-swatch-200);
        padding: 30px 20px;
    }

    .rows .cmp-product-list-item .order-btn-text {
        display: inline-block;
        visibility: visible;
        color: #fff;
    }
    
    .rows .cmp-product-list-item .uws-icon {
        display: none;
        visibility: hidden;
    }

    .rows .cmp-product-list-item .stock-price-wrapper {
        position: absolute;
        right: 0;
        top: 0;
        width: 180px;
    }

    .rows .cmp-product-list-item .text-container {
        flex-grow: 1;
        padding-right: 190px;
    }

    .rows .cmp-product-list-item .prod-title {
        min-height: 45px;
        font-size: 1.125rem !important;
        margin-bottom: 20px;
    }

    .rows .cmp-product-list-item .img-container {
        flex: 0 0 90px !important;
        padding-right: 0;
        display: flex;
        flex-flow: column;
        justify-content: center;
        margin-right: 30px;
    }

    .rows .cmp-product-list-item figure {
        margin-bottom: 0;
    }

    .rows .cmp-product-list-item .item-wrapper {
        border-bottom: none;
    }
}

/* Mobile */
@media (min-width: 576px) {
    .cmp-product-list-item:hover {
        box-shadow: 0 0 15px rgba(0,0,0,.1) !important;
    }
}

/* Handles searchbar */
.cmp-search-bar a.search-btn,
.cmp-search-bar a.clear-filter-btn {
    display: flex !important;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background-color: var(--grey-swatch-300);
    width: 46px !important;
    height: 46px !important;
    border-radius: var(--border-radius-small) !important;
}

.cmp-search-bar a.clear-filter-btn {
    margin-left: 8px;
}

.cmp-search-bar a.search-btn i,
.cmp-search-bar a.clear-filter-btn i {
    position: static !important;
    color: #fff !important;
}

.cmp-search-bar .search-btn {
    display: flex;
    flex-flow: row nowrap;
    margin-left: 0;
}

.cmp-search-bar a.search-btn {
    margin-right: 5px;
}

.cmp-search-bar .dropdown-aggr a {
    position: absolute;
    height: 100%;
    top: 0;
    right: 0;
    outline: none;
    text-align: center;
    font-weight: bold;
    padding: 2px 15px;
    cursor: text;
    pointer-events: none;
}

.cmp-search-bar .dropdown-aggr-button {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.cmp-search-bar .dropdown-aggr-button i {
    font-size: 18px !important;
}

.cmp-search-bar .row {
    display: flex;
    flex-flow: row nowrap;
}

.cmp-search-bar input.invalid {
    background-color: rgba(255, 0, 0, .15)
}

.cmp-search-bar input.invalid + .kb-icon {
    background-color: transparent;
}

@media (max-width: 575px) {
    .filter-dd, .cmp-search-bar .search-btn {
        width: calc(33.3333% - 10px);
    }

    .cmp-search-bar .advanced-search .kb-icon {
        display: none;
    }

    .cmp-search-bar .advanced-search input {
        font-size: 12px !important;
    }

    .search-btn {
        margin-right: auto;
    }
    .cmp-search-bar .dropdown-aggr-button i {
        font-size: 12px !important;
    }

    .cmp-search-bar .dropdown-aggr a {
        padding-right: 5px;
    }

    .cmp-search-bar .advanced-search input {
        font-size: 14px;
        padding-left: 10px !important;
        margin: 0;
        height: 34px !important;
    }

    .cmp-search-bar a.search-btn,
    .cmp-search-bar a.clear-filter-btn {
        height: 34px !important;
        width: 34px !important;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .advanced-search .kb-icon {
        background-size: 30px;
    }
}

@media (max-width: 991px) {
    .cmp-search-bar .advanced-search .row {
        display: flex;
        flex-flow: row wrap;
        margin: 0;
        padding: 8px 7px;
    }

    .cmp-search-bar .advanced-search .col-md-2 {
        width: 33.333%;
        padding: 0 2px;
    }

    .cmp-search-bar .advanced-search input {
        margin: 0;
    }

    .cmp-search-bar .dropdown-aggr {
        margin-bottom: 4px;
    }

    .cmp-search-bar a.clear-filter-btn {
        margin-left: 4px;
    }
}

/* Handles autocomplete */
.auto-complete-data {
    background-color: #fff;
    position: absolute;
    z-index: 999;
    width: 100%;
    box-shadow: 2px 2px 15px rgba(0,0,0,.15), -2px 2px 15px rgba(0,0,0,.15);    
}

.auto-complete-data ul {
    border: 1px solid #ddd;
    left: 0 !important;
    right: auto;
    margin-bottom: 0;
    max-height: 390px;
    overflow-y: scroll;
}

.auto-complete-data li {
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
}

.auto-complete-data li:last-child {
    border-bottom: 0;
}

.auto-complete-data li:hover {
    background-color: #eee;
    cursor: pointer;
}

.cmp-autocomplete-field .auto-complete-option {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.cmp-autocomplete-field span.key {
    display: inline-block !important;
    font-weight: bold;
    margin-left: 5px;
}

.cmp-autocomplete-field span.counter {
    display: block !important;
    background-color: #eee;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    height: 20px;
    min-width: 20px;
    line-height: 20px;
    border-radius: 20px !important;
    margin: 5px 5px 0 0;
    padding: 0 5px;
}

/* Handles cmp-pagination */
.cmp-pagination a {
    border: none;
    height: 25px;
    width: auto;
    min-width: 25px !important;
    font-size: 16px;
    line-height: 25px !important;
    font-weight: bold;
}

.cmp-pagination a.active,
.cmp-pagination a.active:hover {
    color: #fff !important;
    background: var(--theme-primary) !important;
}

.cmp-pagination a:hover {
    color: #fd8204;
}

/* Bottom pagination */
.cmp-elastic-product-list .utlz-col-md-12 > .cmp-pagination {
    margin: 30px 0 !important;
}


/* Handles sorting options */
.cmp-sorting-options .grid-view-btns i {
    line-height: 35px !important;
    font-size: 25px;
}

.cmp-sorting-options .grid-view-btns .active i {
    color: lightgrey !important;
}

.cmp-sorting-options .sort-options-wrapper {
    border: 0;
    justify-content: flex-start !important;
}

.cmp-sorting-options .product-counter {
    order: 1;
    background-color: transparent;
    padding: 0;
    color: #abb2b8;
    font-size: 16px !important;
    font-weight: normal;
    margin-right: 15px;
}

.cmp-sorting-options .select-pagesize {
    order: 2;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    margin-right: 15px;
}

.cmp-sorting-options select {
    text-align: left;
    height: 32px;
    line-height: 32px;
    border-color: #fff;
    color: #5a6771 !important;
    font-weight: normal;
    font-size: 16px;
    padding: 5px 30px 5px 10px;
    background-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.cmp-sorting-options select:hover {
    border: 1px solid lightgrey !important;
}

.cmp-sorting-options .select-label {
    font-size: 16px;
    font-weight: normal !important;
    margin-right: 10px;
}

.cmp-sorting-options .btn-group::after {
    content: "\f0d7";
    font-family: FontAwesome;
    /*REPLACE FONTAWESOME*/
    font-size: 14px;
    position: absolute;
    right: 10px;
    top: 5px;
    pointer-events: none;
}

.cmp-sorting-options .grid-view-btns {
    order: 3;
}

.cmp-sorting-options .pagination-slot {
    order: 4;
    margin-left: auto;
}

.cmp-sorting-options .active {
    background-color: #fff !important;
}

/* Handles filters */
.checkbox-group label::before {
    border-radius: var(--border-radius-xsmall) !important;
}

.checkbox-group input[type="checkbox"]:checked + label::after {
    color: var(--theme-primary);
}
.cmp-elastic-product-filters span {
    font-size: 14px;
}
.cmp-elastic-product-filters .filter-header {
    border: 0;
    margin-bottom: 10px !important;
}

.cmp-elastic-product-filters .filter-header h2 {
    font-size: 20px;
}

.cmp-elastic-product-filters .text-link span {
    font-weight: 600;
}

.cmp-elastic-product-filters .collapsed {
    height: 162px;
}

/* VueJs Components */
.cmp-shopping-cart-control .icon-wrapper {
    position: relative;
    z-index: 1;
    align-items: flex-start;
}

.shopping-cart-panel {
    z-index: 2;
}

.cmp-shopping-cart-control .total-counter {
    background-color: var(--text-swatch-100);
    color: #fff;
    position: absolute;
    right: 8px;
    top: 10px;
    font-size: 10px;
    height: 16px;
    min-width: 16px;
    line-height: 16px;
    padding: 0 2px !important;
}

.cmp-shopping-cart-control .cmp-product-price span {
    font-size: 14px;
}

.cmp-shopping-cart-control .price-per-label {
    font-size: 10px !important;
}

.cmp-shopping-cart-control .quantity-wrapper {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

.cmp-shopping-cart-control .quantity-wrapper .quantity {
    margin-right: 5px;
}

.cmp-shopping-cart-control .quantity-wrapper li {
    line-height: 1;
}

.cmp-shopping-cart-overview .prod-img img {
    width: 100%;
    height: auto;
}

.cmp-shopping-cart-overview .prompt-content img {
    width: 100% !important;
}

.cmp-shopping-cart-overview .prod-title {
    font-size: 16px;
    font-weight: bold !important;
}

.cmp-shopping-cart-overview .quantity-btn {
    width: 35px !important;
    height: 35px !important;
    background: #fff;
    color: #2b2b2b;
    font-size: 15px !important;
    line-height: 35px !important;
    line-height: 1;
}

.cmp-shopping-cart-overview .quantity-fld {
    font-size: 15px;
    width: 60px !important;
    height: 35px !important;
    box-shadow: inset 0 0 5px rgba(0,0,0,.15);
    font-weight: bold;
}

.cmp-shopping-cart-overview .prod-code, 
.cmp-shopping-cart-overview .prod-title, 
.cmp-shopping-cart-overview .orderline-cell span {
    font-size: .875rem;
    font-weight: normal;
}

.cmp-shopping-cart-overview .orderline-header span {
    font-weight: bold;
}

.cmp-shopping-cart-totals .totals-line:last-child {
    border-top: 1px solid #d2d2d2 !important;
    background-color: #fff;
    margin-top: 10px;
    padding-top: 10px;
}

.cmp-shopping-cart-totals .totals-line span {
    font-size: 14px;
    font-weight: bold;
}

.cmp-shopping-cart-totals .totals-line:last-child span {
    font-size: 20px;
    font-family: var(--font-futura-bold);
    font-weight: bold;
}

.cmp-shopping-cart-overview .prod-price {
    flex-flow: column;
}

@media (min-width: 880px) {
    .orderlines-wrapper {
        height: 30px;
    }

    .cmp-shopping-cart-overview .prod-img {
        width: 100px;
        flex: 0 0 100px;
        padding-right: 0;
        padding-left: 0;
    }

    .cmp-shopping-cart-overview .prod-price {
        width: 200px;
        flex: 0 0 200px;
        align-items: flex-start;
        justify-content: center;
    }

    .cmp-shopping-cart-overview .order-product-wrapper {
        margin: 0;
    }

    .cmp-shopping-cart-overview .orderline-header .order-product,
    .cmp-shopping-cart-overview .cmp-order-product {
        justify-content: center;
    }
}

@media (min-width: 880px) and (max-width: 992px) {
    .cmp-shopping-cart-overview .order-product {
        width: 200px;
        flex: 0 0 200px;
    }
}

/* Product details */
.cmp-order-product .btn-u:hover {
    opacity: .8;
}

.cmp-elastic-product-details {
    margin-top: 30px;
}

.product-details-column .uws-icon {
    display: none;
    visibility: hidden;
}

.product-details-column .cmp-product-stock {
    margin-bottom: 15px;
}

.product-details-column .order-comment {
    padding: 0 10px;
    height: 46px !important;
    border-radius: var(--border-radius-xsmall) !important;
}

.product-details-column .cmp-order-product .btn-u {
    height: 46px !important;
    line-height: 46px !important;
    padding: 0 40px;
    font-size: 16px;
}

.product-details-column .cmp-order-product .btn-u:not(.sawlist-btn) {
    background: var(--theme-primary);
    margin-right: 15px;
}

.product-details-column .btn-u span {
    color: #fff !important;
}

.product-details-column .price-list span {
    font-size: 40px;
}

.product-details-column h1 {
    color: #313131 !important;
    margin-bottom: 30px;
    line-height: 1;
    font-size: 40px;
}

.product-details-column .stock-label,
.product-details-column .stock-count {
    font-size: 18px;
}

.product-details-column .cmp-order-product .quantity-fld {
    width: 92px !important;
    height: 46px !important;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, .15);
    font-size: 20px;
}

.product-details-column .quantity-btn {
    background: #fff;
    border: 1px solid #ccc !important;
    width: 46px !important;
    height: 46px !important;
    line-height: 46px !important;
}

.product-details-column .uc_tearsheet {
    margin: 0;
}

.product-actions a {
    text-decoration: none !important;
    transition: opacity .2s;
    font-weight: bold !important;
}

.product-actions span {
    font-weight: bold !important;
}

.product-actions a:hover {
    opacity: 8;
}

.tearsheet-btn {
    padding: 6px 15px !important;
    border-radius: var(--border-radius-xsmall) !important;
}

.product-actions i::before {
    margin-right: 5px;
}

.product-details-column .product-actions {
    display: flex;
    flex-flow: row wrap;
    margin: 60px 0;
    align-items: center;
}

.product-details-column .cmp-orderlist-control {
    margin-right: 15px;
}

.product-details-column .main-specs {
    margin-top: 60px;
}
.product-details-column .spec-value,
.product-details-column .spec-desc,
.product-details-column .spec-desc span {
    font-size: 15px !important;
    font-weight: normal !important;
}

.product-details-column .spec-desc,
.product-details-column .spec-desc span {
    font-weight: bold !important;
}

.product-details-column .cmp-product-stock {
    display: flex;
    flex-flow: column;
}

.product-details-column .cmp-order-product {
    margin-top: 20px;
}

.salesaction span {
    opacity: .7;
}

.cmp-product-list-item .salesaction span {
    font-size: 16px;
}

.product-details-column .salesaction span {
    font-size: 20px !important;
}

.product-details-column .product-specifications h2 {
    font-size: 24px;
}

@media (min-width: 992px) {
    .product-details-column {
        padding-left: 30px;
    }

    .cmp-elastic-product-details .column-left {
        padding-right: 30px;
    }
}

/* Signal stock modal */
.bg-fade-black {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,.95)
}

.cmp-product-stock-signal h1 {
    margin: 10px 0;
}

.cmp-product-stock-signal p {
    font-size: 18px;
}

.cmp-product-stock-signal .button  {
    margin-left: 10px;
    line-height: 40px !important;
    height: 40px;
}

/* Handles order entry */
.cmp-elastic-order-entry .stock-label {
    display: inline;
}

.cmp-elastic-order-entry .cmp-searchbar i {
    position: absolute;
    right: 10px;
    top: 10px;
}

.cmp-elastic-order-entry .stock-price-wrapper {
    position: static !important;
    margin-bottom: 20px;
}


.cmp-elastic-order-entry .ph-product-price {
    margin: 10px 0 0 !important;
}

.cmp-shopping-cart-control .prod-title {
    font-family: var(--font-futura);
    font-size: 16px;
}

.cmp-shopping-cart-control .close-panel {
    position: absolute;
    right: 15px;
    font-size: 25px;
    top: 17px;
    cursor: pointer
}
.cmp-shopping-cart-control .uws-cart {
    height: 24px;
}

.cmp-shopping-cart-control .button {
    border-radius: var(--border-radius-xsmall) !important;
}

.cmp-shopping-cart-control .button span {
    font-family: var(--font-futura-bold) !important;
}

@media (min-width: 992px) and (max-width: 1200px) {
    .cmp-elastic-order-entry {
        max-width: calc(100% - 400px);
    }
}

@media (min-width: 1200px) {
    .cmp-elastic-order-entry .list-items-wrapper {
        max-width: 1000px;
    }
}
/* END BESPOKE */