﻿.ais-ClearRefinements {
    margin: 1em 0;
}

.ais-SearchBox {
    margin: 1em 0;
}

.ais-Pagination {
    margin-top: 1em;
}

.ais-InstantSearch {
    max-width: 1400px;
    overflow: hidden;
    margin: 0 auto;
}
/* .ais-Hits-item { margin-bottom: 1em; width: calc(50% - 1rem); } */
/* .ais-Hits-item img { margin-right: 1em; } */
/* .hit-name { margin-bottom: 0.5em; } */
/* .hit-description { color: #888; font-size: 14px; margin-bottom: 0.5em; } */


.container-filters {
    flex: 1;
    /*margin-right: 55px;*/
    max-width: 260px;
}

/*.container-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 80px;
}*/

.container-results {
    flex: 3;
}

.container-options {
    border-bottom: 1px solid #ebecf3;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
    padding: 30px 0;
}

    .container-options .container-option:not(:first-child) {
        margin-left: 48px;
    }

    .container-options select {
        min-width: 100px;
    }

.container-footer {
    margin: 4rem 0;
}

.searching-text {
    color: #ff5500;
    font-size: 27px !important;
    font-weight: bold;
}

/* Clear refinements container */

.clear-filters {
    align-items: center;
    display: flex;
}

    .clear-filters svg {
        margin-right: 8px;
    }

/* Panel */

/*.container-body .ais-Panel {
    border-top: 1px solid #ebecf3;
    padding-bottom: 2rem;
    padding-top: 2rem;
}*/

/*.ais-Panel-header {
    font-family: Hind, sans-serif;
}*/

/* Search box */

.header .ais-SearchBox {
    height: 64px;
    width: 740px;
}

    .header .ais-SearchBox .ais-SearchBox-input {
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 48px 0 rgba(0, 0, 0, 0.2);
        font-family: Hind, sans-serif;
        height: 64px;
        /*
    The "Hind" font family is vertically off-balance.
    Adding 4px of padding top makes it more vertically aligned.
  */
        padding: 4px 48px 0 64px;
    }

.header .ais-SearchBox-submit {
    padding: 0 1rem 0 2rem;
    width: 64px;
}

.header .ais-SearchBox .ais-SearchBox-input::placeholder {
    color: rgba(33, 36, 61, 0.24);
    opacity: 1; /* Firefox */
}

.ais-SearchBox-input:-ms-input-placeholder {
    color: rgba(33, 36, 61, 0.24);
}

.ais-SearchBox-input::-ms-input-placeholder {
    color: rgba(33, 36, 61, 0.24);
}

.ais-SearchBox-submit {
    color: #e2a400;
}

.ais-RefinementList .ais-SearchBox-input {
    font-family: Hind, sans-serif;
    /*
    The "Hind" font family is vertically off-balance.
    Adding some padding top makes it more vertically aligned.
  */
    padding-top: 2px;
}

/* Hits */

.hit {
    color: #606060;
    font-size: 15px;
    /* line-height: 0; */
    position: relative;
}

    .hit h1 {
        font-weight: 800;
        text-transform: uppercase;
        font-size: 15px;
        line-height: 16px;
    }

.hit-category {
    color: #21243d;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 8px;
    opacity: 0.7;
    text-transform: uppercase;
}

.hit-description {
    margin-top: 2px;
}

.hit-info-container {
    overflow-wrap: break-word;
    word-break: break-word;
}

.hit-image-container {
    align-items: center;
    display: flex;
    /* height: 174px; */
    justify-content: center;
    margin: auto;
    /* width: 174px; */

    border: 1px solid #f0f0f0;
    padding: 30px;
    margin-bottom: 10px;
}

.hit-image {
    height: auto;
    max-height: 100%;
    max-width: 100%;
}

.hit .discount-label {
    background-color: #00b4cd;
    padding: 5px 10px;
    color: #fff;
    font-weight: 700;
    margin-top: 10px;
    position: absolute;
    top: 0;
    left: 1px;
    font-size: 14px;
    line-height: 18px;
}

.hit .product-home-heart {
    position: absolute;
    top: 10px;
    right: 10px;
}

    .hit .product-home-heart img {
        width: 25px;
    }

.hit-em {
    color: #e2a400;
    font-size: 11px;
    font-weight: 600;
}

.hit-current-price {
    color: #00b4cd;
    font-weight: 800;
}

.hit-strike {
    text-decoration: line-through;
}

.hit-rating {
    /* border: 1px solid rgba(226, 164, 0, 0.5); */
    /* border-radius: 4px; */
    /* margin-left: 4px; */
    /* padding: 0 4px; */
    margin: 5px 0 5px 0;
}


.star-rating, .back-stars, .front-stars {
    display: flex;
}

.star-rating {
    font-size: 11px;
}

.back-stars {
    color: #d0d0d0;
    position: relative;
}

.front-stars {
    color: #f50;
    overflow: hidden;
    position: absolute;
    top: 0;
    transition: all .5s;
}

.hit-btn-add-to-cart {
    margin: 20px 0;
    width: 100%;
    border-radius: 0;
    font-weight: 700;
    font-size: 15px;
    background-color: #7e7e7e;
    border: 1px solid #7e7e7e;
}

    .hit-btn-add-to-cart:hover, .hit-btn-add-to-cart:active, .hit-btn-add-to-cart:not(:disabled):not(.disabled):active {
        background-color: #00b4cd;
        border: 1px solid #00b4cd;
    }

    .hit-btn-add-to-cart:hover {
        color: #fff;
        background-color: #5a6268;
        border-color: #545b62;
    }

    .hit-btn-add-to-cart:hover, .hit-btn-add-to-cart:active, .hit-btn-add-to-cart:not(:disabled):not(.disabled):active {
        background-color: #00b4cd;
        border: 1px solid #00b4cd;
    }

.hits-empty-state {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: auto;
    max-width: 300px;
}

.hits-empty-state-title {
    font-family: Hind;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0;
    text-align: center;
}

.hits-empty-state-description {
    color: rgba(35, 37, 51, 0.6);
    font-size: 0.875rem;
    text-align: center;
}

.hits-empty-state .ais-ClearRefinements {
    margin-top: 1rem;
}

.hits-empty-state .ais-ClearRefinements-button--disabled {
    display: none;
}

.hits-empty-state .ais-ClearRefinements-button {
    background: rgba(10, 8, 41, 0.04);
    border-radius: 3px;
    color: #21243d;
    min-height: 48px;
    padding: 16px 24px;
}

/* ToggleRefinement */

.ais-ToggleRefinement-label {
    /*display: flex;*/
    flex-direction: row-reverse;
    justify-content: space-between;
}

/*.ais-ToggleRefinement-checkbox {
    font: inherit;
    margin-left: 1rem;
    margin-right: 0;
    position: relative;
}*/

    /*.ais-ToggleRefinement-checkbox:checked::before {
        color: #e2a400;
    }

    .ais-ToggleRefinement-checkbox::before {
        align-items: center;
        color: rgba(33, 36, 61, 0.32);
        content: 'No';
        display: flex;
        font-size: 0.8rem;
        height: 16px;
        position: absolute;
        right: 38px;
    }

    .ais-ToggleRefinement-checkbox:checked::before {
        content: 'Yes';
    }*/

.ais-ToggleRefinement-count {
    display: none;
}

/* RatingMenu */

/*.ais-RatingMenu-item:not(.ais-RatingMenu-item--selected) {
    opacity: 0.5;
}

.ais-RatingMenu-starIcon {
    margin-right: 0.5rem;
}*/

/* Hide all mobile-specific design on desktop */

@media (min-width: 900px) {
    [data-layout='mobile'] {
        display: none;
    }
}

@media (max-width: 767px) {
    .container-filters {
        background: #fff;
        border-radius: 16px;
        left: 0;
        max-width: initial;
        padding-bottom: 4rem;
        position: fixed;
        top: 0;
        transform: translateY(120vh);
        transition: transform 300ms cubic-bezier(0.465, 0.183, 0.153, 0.946);
        width: 100%;
        will-change: transform;
        z-index: 1033;
    }

    .container-filters-footer {
        display: none;
    }

    .container-filters-footer .btn {
        width: 100%;
    }

    .container-filters .container-header,
    .container-filters .container-body {
        padding: 1rem 2rem 0 2rem;
    }

    .filtering .container-carousel,
    .filtering .container-newsletter,
    .filtering .container-results,
    .filtering .site-footer,
    .filtering .container-breadcrumb {
        display: none;
    }

    .filtering .container-main {
        max-width: unset;
    }

    .filtering .container-filters {
        position: absolute;
        transform: translateY(0);
    }

    .filtering .container-filters-footer {
        background-color: #fff;
        border-top: 1px solid #ebecf3;
        bottom: 0;
        display: flex;
        justify-content: space-between;
        left: 0;
        padding: 1rem;
        position: fixed;
        width: 100%;
        z-index: 1033;
    }

    .filtering .show-filters-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1032;
    }

    [data-layout='desktop'] {
        display: none;
    }
}

@media (min-width: 768px) {
    [data-layout='mobile'] {
        display: none;
    }
}


.ais-HierarchicalMenu-showMore {
	background-color: #00b4cd !important
}

.ais-HierarchicalMenu-showMore:hover {
	background-color: #ff5500 !important
}