@font-face {
    font-family: 'glyph'; /* Your custom font name */
    src: url('/fonts/glyphicons-halflings-regular.woff2') format('woff2');
    font-display: swap;
}

.products-grid{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}
.products-grid__product{
    padding: 20px;
    border: 1px solid #d9e3ec;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    row-gap: 30px;
    transition: box-shadow .3s ease-in-out;
}
.products-grid__product:hover{
    box-shadow: 0 0 10px 0 rgba(16,33,139,.25);
}
.products-grid__name h3{
    font-size: 20px;
    font-weight: bold;
    margin: 8px 0;
}
.products-grid__name a{
    text-decoration: none;
    color: #212529;
    font-size: inherit;
}
.products-grid__name a:hover{
    text-decoration: underline;
}
.products-grid__ctas{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
}
.products-grid__ctas .btn-add-to-trolley,
.products-grid__ctas .btn-notify-me{
    width: 100%;
}
.products-grid__pricing{
    display: flex;
    justify-content: space-between;
}
.products-grid__stock{
    padding: 3px 10px;
    color: #ffffff;
    font-size: 14px;
    background-color: #2dac83;
    height: fit-content;
}
.products-grid__price{
    font-size: 20px;
    font-weight: bold;
}
.gst{
    font-size: 11px;
    color: #90949c;
}
.products-grid__image img{
    max-height: 200px;
    object-fit: contain;
}
@media screen and (max-width: 1023px) {
    .products-grid{
        padding: 0 20px;
    }
}

@media screen and (min-width: 1024px) {
    .products-grid{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
}

@media screen and (min-width: 1200px) {
    .products-grid{
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (min-width: 1400px) {
    .products-grid{
        gap: 50px;
    }
}

/* PRODUCTS LISTING GRID VIEW */
.shoponline-products {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}
.shoponline-products .inner-product{
    padding: 20px;
    border: 1px solid #d9e3ec;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    row-gap: 10px;
    transition: box-shadow .3s ease-in-out;
}
.shoponline-products:not(.shop-consumables) .inner-product{
    padding: 20px;
    border: 1px solid #d9e3ec;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 6;
    row-gap: 10px;
    transition: box-shadow .3s ease-in-out;
}
.inner-product img {
    max-height: 200px;
    object-fit: contain;
}
.shoponline-products .image{
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.shoponline-products .image .clearance-badge{
    position: absolute;
    top: 0;
    left: 0;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: bold;
}
.clearance-badge.refurbished{
    background: #E4F0E8;
    color: #037726;
}
.clearance-badge.refurbished::after{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='8.754' height='16' viewBox='0 0 8.754 16'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect width='8.754' height='16' fill='%23037726'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 0)' clip-path='url(%23clip-path)'%3E%3Cpath d='M0,16a14.566,14.566,0,0,0,2.932-1.061A15.01,15.01,0,0,0,4.778,13.6a10.4,10.4,0,0,0,3.77-5.477A7.317,7.317,0,0,0,8.37,4.045,24.487,24.487,0,0,0,6.412,0a15.536,15.536,0,0,0-4.3,5.693A6.035,6.035,0,0,0,3.4,12.27,19.413,19.413,0,0,0,6.05,3.39C6.889,7,6.6,10.775,3.277,13.521A18.25,18.25,0,0,1,0,16' transform='translate(0 0)' fill='%23037726'/%3E%3C/g%3E%3C/svg%3E%0A");
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    content: "";
    margin-left: 4px;
    padding: 8px 4.377px;
}
.clearance-badge.carton-damaged{
    background-color: rgb(212 212 255);
    color: rgb(75 75 211);
}
.clearance-badge.clearance{
    background-color: gold;
}


@media screen and (min-width: 1024px) {
    .shoponline-products {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (min-width: 1200px) {
    .shoponline-products {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (min-width: 1400px) {
    .shoponline-products {
        gap: 50px;
    }
}


/* PRODUCTS LISTING LIST VIEW */

.shoponline-products.list-view{
    display: flex;
    flex-direction: column;
    gap: 20px;
}



@media screen and (max-width: 1023px) {
    .toolbar__layout-switcher{
        display: none;
    }
    .products-listing-container,
    .search-filters-mobile .list-group {
        padding: 0 20px;
    }
}

.shoponline-products .inner-product:hover{
    box-shadow: 0 0 10px 0 rgba(16,33,139,.25);
}

.list-view .inner-product .image {
    grid-column: 1/2;
    grid-row: span 5;
    border-right: 1px solid #90949c;
}

.inner-product img {
    width: unset;
    max-width: 100%;
    max-height: 200px;
}

.list-view .inner-product .details {
    width: 74%;
    /* border-left: 1px solid #d9e3ec; */
    padding-left: 20px;
}

.inner-product .product-highlights, .inner-product p, .inner-product .main__product-name {
    margin-bottom: 10px;
}

.inner-product .main__product-name {
    margin-bottom: 30px;
}

.product-name a, .main__product-name a {
    text-decoration: none;
    color: #212529;
    font-size: inherit;
}

.disabled-link{
    pointer-events: none;
    cursor: default;
}

.main__product-name h3 {
    font-size: 20px;
}

.inner-product .product-highlights, .inner-product p, .inner-product .main__product-name {
    margin-bottom: 10px;
}

.list-view .inner-product .actions{
    grid-column: 3/4;
    grid-row: 1/5;
    justify-content: end;
}

@media screen and (min-width: 1024px) {

    .list-view .inner-product{

        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        gap: 30px;
    
        /* padding: 20px;
        background-color: #ffffff;
        border: 1px solid #d9e3ec;
        display: flex;
        gap: 20px;
        flex-wrap: wrap; */
        transition: box-shadow .3s ease-in-out;
    }
    .list-view .inner-product .image {
        /* width: 25%; */
        text-align: center;
    }
    .list-view .inner-product .details {
        /* width: 45%; */
    }
    .list-view .inner-product .actions {
        /* width: 20%; */
        border-left: 1px solid #90949c;
        padding-left: 20px;
        grid-column: 3/4;
        grid-row: 1/5;
        justify-content: end;
    }
    /* .list-view .inner-product .actions .btn {
        width: fit-content;
    } */
    .shoponline-products {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.list-view .main__product-name,
.list-view .rating,
.list-view .product-highlights,
.list-view .show-message {
    grid-column: 2/3;
}

/* List view end */



@media screen and (min-width: 1200px) {
    .shoponline-products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 1400px) {
    .shoponline-products {
        gap: 50px;
    }
}

.action-hide .product-pricing{
    display: none!important;
}

.search-filters{
    /* background-color: gray; */
    display: none;
}

.search-filters h3,
.search-filters-mobile h3{
    background-color: #353535;
    color: #fff;
    margin: 0;
    padding: 18px 20px;
}

.search-filters .form-check-input:not([type="checkbox"]),
.search-filters-mobile .form-check-input:not([type="checkbox"]){
    border-radius: 50%!important;
}

.search-filters .form-check-input,
.search-filters-mobile .form-check-input{
    flex-wrap: nowrap;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    -webkit-appearance: none;
    appearance: none;
    border: 2px solid #353535;
    margin: 0 6px 0 0!important;
    position: relative!important;
    vertical-align: middle;
}

.list-group-item{
    display: flex;
    border-left: unset;
    border-right: unset;
}

.list-group-item:first-child {
    border-top-left-radius: unset;
    border-top-right-radius: unset;
}

.list-group-item:last-child {
    border-bottom-right-radius: unset;
    border-bottom-left-radius: unset;
}

.price-range-inputs{
    display: flex;
}

.price-range-inputs label{
    visibility: hidden;
    width: 1px;
}

.products-listing-container{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Products listing toolbar */

.toolbar__layout-switcher{
    flex-shrink: 0;
}

.toolbar__pagination{
    flex-grow: 1;
}

.products-listing-toolbar{
    display: flex;
}

@media screen and (max-width: 1023px) {
    .toolbar__sorting{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        height: 50px;
    }
    .paginationjs{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .paginationjs-nav{
        order: 1;
    }
    .products-listing-toolbar{
        flex-direction: column;
        gap: 30px;
    }
    .toolbar__pagination{
        order: 1;
    }

    #filterOffCanvas {
        height: 85%;
        max-height: 100%;
    }
    .filter-button{
        border: 1px solid #353535;
        background-color: transparent;
        height: 100%;
        width: 50%;
        text-align: left;
    }
    .sort-options__label{
        height: 100%;
        display: flex;
        flex-direction: column;
        width: 50%;
        justify-content: center;
    }
    .filter-button,
    .sort-options__label{
        padding-inline: 10px;
    }
    .search-filters-mobile h3{
        margin: 0;
    }
    .search-filters-mobile .list-group-item{
        padding-inline: 0;
    }
    .search-filters-mobile{
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-bottom: 50px;
    }
}

@media screen and (min-width: 1024px) {
    .products-listing-toolbar{
        border: 1px solid #d9e3ec;
        padding: 18px;
        row-gap: 18px;
        justify-content: flex-end;
        align-items: center;
    }
    .toolbar__layout-switcher {
        display: flex;
        justify-content: flex-end;
    }
    .paginationjs-nav{
        position: absolute;
        right: 25px;
    }
    .search-filters{
        display: block;
    }
    .shoponline-products-container{
        display: grid;
        grid-template-columns: 1fr 4fr;
        gap: 20px;
    }
    .filter-button{
        display: none;
    }
}


.toolbar__layout-switcher button {
    flex-wrap: nowrap;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: 1px solid #4a4e51;
    padding: 2px 10px;
    background-color: #ffffff;
    color: #4a4e51;
    gap: 6px;
}

.toolbar__layout-switcher button.active {
    background-color: #4a4e51;
    color: #fff;
}

.toolbar__layout-switcher button:not(.active):hover{
    background-color: #9ddfff;
    color: #4a4e51;
}

#gridViewButton::before{
    font-family: glyph;
    content: "\e011";
}

#listViewButton::before{
    font-family: glyph;
    content: "\e055";
}

.paginationjs{
    position: relative;
}

.paginationjs-nav{
    color: #4a4e51;
    font-weight: bold;
    white-space: nowrap;
}

.sort-options__label{
    border: 1px solid #353535;
}

#sort{
    border: 0;
    font-weight: bold;
}

#sort:focus-visible{
    outline: unset;
}

.toolbar__sorting{
    font-size: 14px;
}

@media screen and (min-width: 1024px) {
    .sort-options__label {
        flex-wrap: nowrap;
        display: flex;
        flex-direction: row;
        justify-content: normal;
        align-items: center;
        padding: 2px 12px;
    }

    #sort {
        padding: 0 4px;
        width: auto;
    }
}

/* Offcanvas icon */
.offcanvas-close-button {
    font-family: epson-icons;
    flex-wrap: nowrap;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: #eeeff0;
    border: 0;
    border-radius: 0;
    font-size: 10px;
    padding: 0;
    margin-right: 10px;
    right: 10px;
    top: 0;
}

.offcanvas-close-button:before {
    content: "\e604";
    font-size: 20px;
}

#filterOffCanvas .offcanvas-header{
    justify-content: space-between;
}

/* product compare */
.product-compare-checkbox {
    width: 20px;
    height: 20px;
    position: relative;
    top: 4px;
}

.comparison-panel {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f8f9fa;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 20px;
    display: none;
}

.product-compare__content {
    display: flex;
    flex-direction: column;
    padding: 30px 0;
    gap: 20px;
}

.product-compare__content-container {
    border-top: 1px solid #10218b;
    background-color: #ffffff;
}

.product-compare__header {
    display: flex;
    justify-content: space-between;
}

.product-compare__header-title, .product-compare__header-switcher {
    font-weight: bold;
}

a:not([href]) {
    cursor: pointer;
}

.product-compare__header-switcher {
    text-transform: uppercase;
    text-decoration: none;
    color: #10218b;
}

.product-compare__header-switcher-label {
    flex-wrap: nowrap;
    display: flex;
    flex-direction: row;
    justify-content: normal;
    align-items: center;
}

.product-compare__header-switcher-label--hide:after {
    -webkit-clip-path: polygon(0 0,100% 0,50% 100%);
    clip-path: polygon(0 0,100% 0,50% 100%);
    width: 10px;
    height: 8px;
    content: "";
    background-color: #10218b;
}

.product-compare__header-switcher-label--show:after {
    -webkit-clip-path: polygon(0 100%,100% 100%,50% 0);
    clip-path: polygon(0 100%,100% 100%,50% 0);
    width: 10px;
    height: 8px;
    content: "";
    background-color: #10218b;
}

.product-compare__header-switcher-label--hide:after, .product-compare__header-switcher-label--show:after {
    margin-left: 15px;
}

.product-compare__content-sidebar {
    order: 2;
    width: 20%;
}
.comparison-products {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.comparison-products .product-item {
    position: relative;
    display: flex;
    align-items: center;
}
.product-item img, .product-item h5 {
    order: 2;
}
.product-compare-image {
    width: 50px;
    object-fit: cover;
}
.product-item h5 {
    font-size: 14px;
    color: #10218b;
    margin-bottom: 0;
    align-self: center;
}
.product-compare__product-remove-button {
    font-family: epson-icons;
    flex-wrap: nowrap;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    background-color: #eeeff0;
    border: 0;
    border-radius: 0;
    font-size: 10px;
    padding: 0;
    margin-right: 10px;
    right: 10px;
    top: 0;
}
.product-compare__product-remove-button:before {
    content: "\e604";
}
.checkbox {
    user-select: none; /* Prevents text selection */
}
@media screen and (min-width: 1024px) {
    .product-compare__content-sidebar {
        order: unset;
    }
    .product-compare__content {
        flex-direction: row;
        gap: unset;
    }
    .product-compare__header {
        padding: 10px 0;
    }
    .comparison-products {
        flex-direction: row;
        height: 40px;
    }
    .comparison-products .product-item {
        flex-direction: column;
        border-left: 1px solid #90949c;
        width: 33%;
        justify-content: center;
        align-items: center;
    }
    .product-item img, .product-item h5 {
        order: 1;
    }
    .product-compare-image {
        width: 70px;
    }
    .product-compare__product-remove-button {
        position: absolute;
        order: 1;
        margin-right: unset;
    }
}

.actions{
    gap: 20px;
}

.product-view__compare{
    text-align: center;
}

.wtb-compare-group {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.products-carousel .wtb-compare-group{
    align-items: center;
}

@media screen and (min-width: 1024px) {
    .products-carousel .wtb-compare-group{
        min-height: 27px;
    }
}

.js-group-name{
    display: none;
}
.rating {
    min-height: 34px;
}

.rating-bar{
    width: 72px;
    position: relative;
    height: 14px;
}

.rating-fill{
    height: 100%;
}

.rating-bar .mask {
    background: rgba(0, 0, 0, 0) url("/images/stars.png") no-repeat scroll 0 0;
    height: 100%;
    left: 0;
    padding: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.rating-text{
    font-size: 13px;
}

/* DISCOUNT MESSAGE */

.products-grid__message *{
    color: #000;
}

.products-grid__message{
    /* font-weight: bold; */
    background-color: #e4e4e4;
    padding: 15px;
    position: relative;
    font-size: 14px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.products-grid__message br{
    display: none;
}

.products-grid__message:before {
    width: 5px;
    height: 100%;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
}

.products-grid__message.free-del:before{
    background-color: #2dac83;
}

.products-grid__message.exclusive:before{
    background: linear-gradient(180deg,#001080 10%, #da192e 90%) 0 0 no-repeat;
}

.hide-message .products-grid__message {
    display: none;
}

/* Free del, support, dispatch */
.container-fluid:has(.notes){
    background-color: #10218b;
}
.notes{
    display: flex;
    flex-direction: column;
    padding: 15px 0px;
    color: white;
    margin-bottom: 20px;
    gap: 20px;
    padding-left: 20px;
}
.notes > div{
    display: flex;
    align-items: center;
    gap: 10px;
}

.notes > div > img{
    width: 20px;
}

@media screen and (min-width: 1024px) {
    .notes{
        flex-direction: row;
        margin-bottom: 50px;
        gap: 20px;
        padding-left: unset;
        justify-content: space-around;
        flex-wrap: wrap;
    }
}

@media screen and (min-width: 1200px) {
    .notes{
        gap: unset;
        justify-content: space-between;
    }
}

.rating.hide > * {
    display: none;
}

/*  */
.cashback-message-starburst{
    position: absolute;
    top: 4px;
    right: 5px;
    max-width: 60px;
}

@media screen and (max-width: 768px) {
    .cashback-message-starburst{
        top: 0;
        right: 50px;
        max-width: 70px;
    }
}