@font-face {
    font-family: 'Font Awesome 5 Brands';
    font-style: normal;
    font-weight: normal;
    src: url("../lib/fontawesome/webfonts/fa-brands-400.eot");
    src: url("../lib/fontawesome/webfonts/fa-brands-400.eot?#iefix") format("embedded-opentype"), url("../lib/fontawesome/webfonts/fa-brands-400.woff2") format("woff2"), url("../lib/fontawesome/webfonts/fa-brands-400.woff") format("woff"), url("../lib/fontawesome/webfonts/fa-brands-400.ttf") format("truetype"), url("../lib/fontawesome/webfonts/fa-brands-400.svg#fontawesome") format("svg");
    font-display: swap;
}

.fab {
    font-family: 'Font Awesome 5 Brands';
}

* {
    outline: none !important;
}

body {
    font-size: 16px;
    font-family: "Roboto Slab", serif;
    color: #343434;
    background: #f1f1f1;
}

a {
    color: #343434;
}

img {
    max-width: 100%;
}

a:focus,
a:hover {
    text-decoration: none;
    outline: none;
}

.header {
    /* padding: 6px 0px; */
    background: #fff;
    position: sticky;
    top: 0px;
    box-shadow: 0px 0px 10px #ccc;
    z-index: 99;
}

.headerBlock {
    padding: 0px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.headerBlock .logo {
    display: block;
}

.headerBlock .logo img {
    max-height: 46px;
}

.banner {
    text-align: center;
}

section.content {
    margin-bottom: 20px;
}

.footer {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    background: #ffffff;
    /* border-radius: 10px 10px 0px 0px; */
    /* margin: 0px 10px; */
    box-shadow: 0px 3px 0px -1px rgb(241, 242, 243) inset;
    z-index: 99;
}

.footerBlock {
    padding: 18px 0px 13px 0px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.footerBlock a {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    width: calc(100% / 3);
}

.footerBlock i {
    font-size: 22px;
}

.footerBlock a:hover {}

.footerBlock span {
    display: block;
    width: 100%;
    font-size: 16px;
    margin-top: 2px;
}

.headerName {
    padding: 20px 0px;
    font-size: 20px;
    font-weight: 600;
}

.categoryItems {
    /* display: grid; */
    /* grid-template-columns: repeat(2, 1fr); */
    /* gap: 10px; */
}

.categoryItem {
    display: flex;
    align-items: center;
    /* position: sticky; */
    /* top: 0px; */
    min-height: 80px;
    margin-bottom: 10px;
    padding: 10px 15px;
    width: 100%;
    box-shadow: 0px 0px 8px rgb(241, 242, 243);
    box-sizing: border-box;
    border-radius: 10px;
    background-color: #fff;
    z-index: 1;
    transition: all 0.2s ease-out;
}

.categoryItem:hover {
    box-shadow: 0px 0px 18px rgb(241, 242, 243);
    background: #a6e66e;
}

.catImg {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    flex-grow: 0;
    flex-shrink: 0;
    object-fit: cover;
}

.catName {
    height: 100%;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    position: relative;
    margin: 0 20px;
}

.categoryItem i {
    font-size: 20px;
    color: #000000;
}

.categoryItem:after {
    content: "\f105";
    /* position: absolute; */
    top: 50%;
    /* transform: translateY(-50%); */
    right: 6px;
    color: #fff;
    font-size: 16px;
    font-family: 'Font Awesome 5 Pro';
    margin-left: 15px;
    font-weight: 600;
    color: #181818;
    font-size: 22px;
}

.miniMenu {
    width: 73px;
}

.mobile_burger {
    width: 36px;
    height: 20px;
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    position: relative;
    margin: 0px 0px 0px auto;
}

.mobile_burger span {
    display: block;
    position: absolute;
    width: 100%;
    opacity: 1;
    left: 0px;
    /*-webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;*/
    height: 2px;
    background-color: #343434;
    border-radius: 0px;
}

.mobile_burger span:nth-child(1) {
    top: 0
}

.mobile_burger span:nth-child(2) {
    top: 9px
}

.mobile_burger span:nth-child(3) {
    top: 18px
}

.mobile_burger span:nth-child(4) {
    display: none
}

.openMenu .mobile_burger span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg)
}

.openMenu .mobile_burger span:nth-child(2) {
    opacity: 0
}

.openMenu .mobile_burger span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg)
}

.main-sidebar {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .03);
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #f1f1f1;
    z-index: 892;
    max-width: 400px;
    left: 0px;
    transition: all .5s;
}

body.sidebar-show {
    overflow: hidden;
}

body:not(.sidebar-show) .main-sidebar {
    left: calc(-100vw - 400px);
}

body.sidebar-show:before {
    content: '';
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0;
    z-index: 891;
    -webkit-animation-name: fadeinbackdrop;
    animation-name: fadeinbackdrop;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@-webkit-keyframes fadeinbackdrop {
    to {
        opacity: .6
    }
}

@keyframes fadeinbackdrop {
    to {
        opacity: .6
    }
}

.main-sidebar .sidebar-brand {
    display: flex;
    width: 100%;
    text-align: left;
    height: 60px;
    line-height: 60px;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    box-shadow: 0 0 6px rgb(84 84 84);
    background-color: #ffffff;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
    padding-left: 15px;
}

.sidebar-brand img {
    height: 46px;
}

.main-sidebar .sidebar-brand a.sidebarClose {
    color: #343434;
    font-size: 40px;
    position: absolute;
    top: 50%;
    right: 6px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-weight: 300;
    transform: translateY(-50%);
}

.sidebar-menu {
    padding: 15px 15px 80px 15px;
    position: absolute;
    top: 60px;
    left: 0px;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.productItems {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.productItem {
    box-shadow: 0px 0px 8px rgb(221 221 221);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.productTop {
    width: 100%;
}

.productListImg {
    display: block;
    height: 300px;
    overflow: hidden;
}

.productListInfoBlock {
    height: calc(100% - 300px);
}

.productListImg img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.productListName {
    font-size: 16px;
    line-height: 20px;
    display: block;
    min-height: 40px;
    font-weight: 500;
    width: 100%;
}

.productListName:hover {}

.productListInfoBlock {
    padding: 9px 15px 15px 15px;
    display: flex;
    flex-wrap: wrap;
    place-content: space-between;
}

.productListInfo {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 14px 0px 10px 0px;
}

.productListPrice {
    font-weight: 500;
    font-size: 16px;
}

.productListWeight {
    color: #a5a5a5;
    font-weight: 400;
    font-size: 16px;
}

.productListBtns {
    text-align: center;
}

.productListBtns .addCart {}


.productCustomFieldItem {
    display: table;
    width: 100%;
    font-size: 16px;
}

.productCustomFieldName {
    display: table-cell;
    width: 50%;
    position: relative;
    padding: 8px 0;
    color: #464646;
    vertical-align: middle;
}

.productCustomFieldName span {
    padding-right: 12px;
    position: relative;
    background-color: #fff
}

.productCustomFieldName:after {
    content: "";
    display: block;
    width: 100%;
    height: 20px;
    position: absolute;
    left: 0;
    bottom: 12px;
    border-bottom: 1px dashed #ccc
}

.productCustomFieldVal {
    display: table-cell;
    width: 50%;
    padding: 8px 15px 8px 15px;
    vertical-align: middle;
    /* text-transform: lowercase; */
    text-align: right;
}

.fieldsBg .productCustomFieldItem:nth-child(odd) {
    background: #f7f7f7;
}

.fieldsBg .productCustomFieldName {
    padding-left: 15px;
}

.fieldsBg .productCustomFieldName span {
    background: 0 0
}

.fieldsBg .productCustomFieldName:after {
    display: none
}

.productBlockWrap {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.productBlockImage {
    width: 350px;
    /* margin-right: 15px; */
    background: #fff;
    padding: 15px 15px 15px 15px;
    border-radius: 10px 0px 0px 10px;
}

.productBlockImage img {
    border-radius: 10px;
}

.productBlock {
    background: #fff;
    border-radius: 0px 10px 10px 0px;
    padding: 15px 15px 15px 15px;
    flex: 1;
}

.productPriceBlock {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0px 0px 10px 0px;
}

.productPrice {
    font-weight: 600;
    font-size: 20px;
}

.productWeight {
    color: #a5a5a5;
    font-weight: 400;
    font-size: 16px;
}

.productDescription {
    font-size: 16px;
    padding-bottom: 15px;
}

.productLeftPrice {}

.cartBlock {
    background: #fff;
    padding: 25px 15px 15px 15px;
    border-radius: 10px;
    position: relative;
}

.cartItems {}

.cartItem {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    padding-bottom: 15px;
    position: relative;
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 15px;
}

.cartItemLeft {
    width: 140px;
    height: 110px;
    border-radius: 10px;
    overflow: hidden;
}

.cartItemLeft img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cartItemRight {
    width: calc(100% - 140px);
    padding: 0px 0px 0px 15px;
    display: flex;
    flex-wrap: wrap;
    place-content: space-between;
}

.cartItemName {
    /* font-size: 14px; */
    line-height: 18px;
    display: block;
    font-weight: 500;
    padding-right: 18px;
}

.cartItemPriceBlock {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.cartItemPrice {
    font-weight: 600;
}

.cartItemQuantityBlock {}

.cartItemRemove {
    position: absolute;
    top: 0px;
    right: 0px;
}

.cartItemRemove i {}

.qty {
    display: inline-flex;
    align-items: stretch;
    border-radius: 10px;
    overflow: hidden;

    /* подстроить под дизайн */
    background: #f1f1f1;
}

.cartQty {
    width: 35px;
    min-width: 35px;
    color: #343434;
    background: transparent;
    cursor: pointer;
    border: 0px;
    outline: none;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, color .15s ease;
    padding: 0px;
}

.cartQty:hover {
    background: #eee;
}

.cartQty:active {
    background: #e4e4e4;
}

.cartQuantity {
    width: 34px;
    border: none;
    text-align: center;
    font-size: 16px;
    -moz-appearance: textfield;
    height: 30px;
    line-height: 30px;
    background: #f1f1f1;
}

/* убрать стрелки у number на WebKit */
.cartQuantity::-webkit-outer-spin-button,
.cartQuantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* состояния */
.qty--disabled .cartQty {
    cursor: not-allowed;
    opacity: .6;
}

.qty--disabled .cartQuantity {
    background: #fafafa;
    color: #999;
}

.cartQty:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.footerItemMenu {
    position: relative;
}

.cartCount {
    position: absolute;
    top: -10px;
    right: 6px;
    min-width: 22px;
    background: #a6e66e;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    padding: 0px 5px;
    border: 2px solid #fff;
}

.cartBlockTotal {
    padding: 0px 0px 10px 0px;
}

.cartTotalItem {
    text-align: right;
}

.cartTotalItem span {
    display: inline-block;
    width: 80px;
    padding-left: 6px;
}

.textError {
    text-align: right;
}

.productAddBlock {
    display: flex;
    align-items: center;
}

.productAddBlock .cartItemQuantityBlock {
    margin-right: 10px;
}

.productAddBlock .cartQuantity {
    height: 38px;
}

.pageBack {
    position: fixed;
    /* position: sticky; */
    top: 66px;
    padding-top: 10px;
    z-index: 1;
    display: inline-block;
}

.pageBackLink {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 15px;
    line-height: 20px;
    width: auto;
}

.pageBackLink:before {
    content: "\f104";
    font-family: 'Font Awesome 5 Pro';
    font-weight: 500;
    color: #181818;
    font-size: 22px;
    margin-right: 6px;
}

.removePromocod {
    padding-left: 18px;
    padding-right: 18px;
}

footer {
    margin-bottom: 100px;
}

.footerPayment {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
}

.footerImages {
    display: flex;
    flex-wrap: wrap;
    padding: 0px;
    margin-bottom: 0px;
}

.footerImages li {
    display: flex;
    list-style-type: none;
    margin: 10px 20px;
}

.footerImages li img {
    align-self: left;
    height: 35px;
    width: 75px;
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: left center;
    object-position: left center;
}

.homePage {}

.homeWrap {
    display: flex;
    flex-wrap: wrap;
}

.homeBanner {
    height: 100vh;
    width: 40%;
    object-fit: cover;
    background-size: cover !important;
    position: fixed;
    top: 0px;
    left: 0px;
}

.homeWrapContent {
    width: 60%;
    margin-left: 40%;
    position: relative;
}

.homeWrapContent .footer {
    /* position: absolute; */
    left: 40%;
    width: 60%;
}

.adena {
    text-align: right;
    font-size: 14px;
}

.adena img {
    margin: 10px;
}

.inputCode {
    max-width: 400px;
    margin: 0px 0px 0px auto;
}

#checkout-form {
    max-width: 600px;
    margin: 0px auto;
}

/* Лоадер для корзины */
.cartLoader {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.cartLoader .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #a8e678;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

body.cart-loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Попап для бесплатных товаров */
.free-products-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1059;
    display: flex;
    justify-content: center;
    align-items: center;
}

.free-products-popup .popup-content {
    background: white;
    border-radius: 10px;
    padding: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.free-products-popup h4 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 22px;
}

.free-products-list {
    max-height: 400px;
    overflow-y: auto;
}

.free-product-item {
    display: flex;
    align-items: center;
    padding: 10px 0px;
    border-bottom: 1px solid #eee;
}

.free-product-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}

.free-product-item .product-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.free-product-item .product-name {
    font-weight: 500;
    line-height: 18px;
    padding-right: 15px;
    font-size: 16px;
}

.close-popup {
    margin-top: 20px;
    width: 100%;
}

.kbjuInfo {
    font-size: 14px;
    padding-top: 8px;
}