/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */



.product .product_custom {
    margin: 0px 0px 20px 0px;
    padding: 0.1px;
}

.product .product_custom li {
    list-style-type: none;
}

.site-header .extras-menu .menu-item-cart > .mini-cart-content.opened {
    opacity: 1;
    z-index: 9998;
    top: 100%;
    transform: scaleX(1);
}

.error.error-msg {
    display: block;
    color: red;
}
.success.success-msg {
    display: block;
    color: green;
}

.loading{
    position: relative;
}
.small-loader{
    background: url(../img/loading.gif) no-repeat center #fefefe;
    opacity: 0.5;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.woocommerce .button.btn-request-stock {
    padding: 0px 25px;
    display: block;
    margin: 3px 0px !important;
    height: 25px;
    line-height: 25px;
    background: red;
    color: #fff;
    border-radius: 3px;
    box-shadow: 1px 2px 0 1px #b90f08;
    width: 100%;
    max-width: 100px;
}

.woocommerce .button.btn-request-stock:hover,
.woocommerce .button.btn-request-stock:active {
    color: #fff;
    background: #b90f08;
}

/**
* Request stock
 */
.validated-failed{border: 1px solid red !important;}


/**
* MODAL
 */
.modal-open {
    overflow: hidden
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: .5rem;
    pointer-events: none
}

.modal.fade .modal-dialog {
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out, -webkit-transform .3s ease-out;
    -webkit-transform: translate(0, -25%);
    transform: translate(0, -25%)
}

.modal.show .modal-dialog {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0)
}

.modal-dialog-centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (.5rem * 2))
}

.modal-content {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000
}

.modal-backdrop.fade {
    opacity: 0
}

.modal-backdrop.show {
    opacity: .5
}

.modal-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem
}

.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto
}

.modal-title {
    margin-bottom: 0;
    margin-top: 0;
    line-height: 1.5
}

.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem
}

.modal-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #e9ecef
}

.modal-footer > :not(:first-child) {
    margin-left: .25rem
}

.modal-footer > :not(:last-child) {
    margin-right: .25rem
}

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto
    }

    .modal-dialog-centered {
        min-height: calc(100% - (1.75rem * 2))
    }

    .modal-sm {
        max-width: 300px
    }
}

@media (min-width: 992px) {
    .modal-lg {
        max-width: 800px
    }
}
.product-cat-page .cat-list > ul {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    padding: 30px;
    list-style: none;
}
.product-cat-page .cat-list > ul > li {
    width: 25%;
    padding: 15px 25px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.product-cat-page .cat-list > ul > li > a {
    display: flex;
}
.product-cat-page .cat-list > ul > li .cat-image {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}
.product-cat-page .cat-list .cat-name {
    font-size: 18px;
    color: #000;
    line-height: 1.2;
    display: block;
}
.product-cat-page .cat-list > ul > li .cat-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}
.woocommerce-products-header .cat-image {
    max-width: 80px;
}
.woocommerce-products-header .desc-container {
    background: #fff;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}
.woocommerce-products-header {
    border: 0 !important;
}
h3.box-title {
    border-bottom: 2px solid #000;
}
.filter-title {
    font-size: 22px;
    font-weight: normal;
    border-bottom: 2px solid;
    line-height: 1.6;
    color: #000;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
ul.filter-options {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    gap: 15px;
}
ul.filter-options li {
    background: #fff;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    width: 150px;
}
ul.filter-options li .item-img {
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}
ul.filter-options li .item-name {
    margin-top: 10px;
}
.filter-title a {
    color: #06c;
}
.filter-at-types-container div.search-box {
    max-width: 350px;
    margin-bottom: 15px;
    position: relative;
}
.filter-at-types-container div.search-box input#search-model {
    float: none;
    width: 100%;
    padding: 0px 15px;
    background: #fff;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0;
    border-radius: 4px;
    height: 45px;
    line-height: 45px;
}
.filter-at-types-container .search-box svg {
    position: absolute;
    top: 0px;
    bottom: 0;
    margin: auto;
    right: 15px;
}
ul.filter-options.filter-models {
    display: grid;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
ul.filter-options.filter-models li {
    width: auto;
    padding: 0;
    text-align: left;
    border: 1px solid #E9EBEC;
}
ul.filter-models li.active, ul.filter-models li:hover {
    border: 1px solid #CFDFEF;
    background: #edf5fc;
}
ul.filter-models li a {
    padding: 8px 14px 8px 6px;
    display: grid;
    align-items: center;
    grid-template-columns: 55px 1fr;
    grid-template-rows: 55px;
    gap: 0px 0px;
    white-space: nowrap;
    color: #0E1723;
    text-decoration: none !important;
}
ul.filter-options.filter-models li .item-img {
    width: 55px;
    height: 55px;
}
ul.filter-options.filter-models li .item-name {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: fit-content;
    margin-left: 4px;
    margin-top: 0;
    line-height: 1.2;
}
ul.filter-options li .item-img img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}
ul.filter-options.filter-models li .item-name span {
    color: #535E6D;
    font-size: 0.8em;
    line-height: 1em;
}
