body {
    font-size: 15px;
    /* background: hsl(45 100% 97% / 1); */
    /* background: linear-gradient(to bottom,black 0%,#4a4a4a 37%); */
    /*padding: 15px;*/
    color: #333333;
    /*font-family: roboto, Helvetica Neue, helvetica, arial, sans-serif;
    font-family: "Times New Roman", Times, serif;*/
    font-family: 'Roboto', sans-serif;
    background-color: #fafafa;
}

header {
    /*height: 80px;
    width: calc(100% + 10px);
    background: #45332b;
    box-shadow: 20px 10px 65px #d9d9d9, -10px -50px 65px #ffffff;
    margin: -30px;
    top: 20px;
    left: 20px;
    position: fixed;*/
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    height: 75px;
}
header-mobile{
    display: none;
}

.logo {
    position: absolute;
    /*top: 16px;
    left: 38px;
    font-weight: 900;
    font-size: 30px;
    color: #ff4632;*/
    transform: rotate(3deg);
}

main {
    padding: 50px 5px;
    z-index: -10;
}

ul {
    /*padding: 10px;*/
}

a {
    color: #7a5200;
    text-decoration: none;
}

a:visited {
    color: #7a5200;
    text-decoration: none;
}

a:active {
    color: #45332b;
    text-decoration: none;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    /* font-weight: 800; */
}

pre {
    word-wrap: break-word;
    text-wrap: wrap;
}

.inline {
    display: inline-block;
    vertical-align: top;
    min-width: 50%;
}

.onlymob {
    display: none;
}

p {
    text-indent: 1.5em;
    text-align: justify;
}

li a {
    color: #000000;
    /*text-decoration: none;*/
}

.full-height {
    flex-grow: 3;
}

.footer {
    width: 100%;
    background: #4d422e;
    box-shadow: 20px 20px 65px #d9d9d9, -20px -20px 65px #ffffff;
    margin: -10px 0;
    position: absolute;
    text-align: justify;
    column-width: 200px;
    column-gap: 40px;
    column-rule: 1px solid #d6cfcd;
    float: top;
}

.footer ul li a {
    color: #d6cfcd;
    text-decoration: none;

}

.footer ul li {
    color: #d6cfcd;
}

.mobile {
    display: none;
}
.mob {
    display: none;
}

.desk {
    display: block;
}

.mobile li {
    /*display: inline-block;*/
    list-style: none;
    margin: 0 5px;
    padding: 0;

    /*font-size: .7em;*/
}

.mobile a {
    color: #fff;
}

/*меню */
/*====================================================*/
desktop {
    display: block;
}

mobile {
    display: none;
}

.menu {
    text-align: right;
    width: 100%;
    /*margin-top: -10px;*/
}

.menu-triger {
    display: none;
}

.menu-desktop {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.menu-desktop form {
    /*top: -6px;*/
    position: relative;
}

.menu-desktop ul {
    text-align: right;
    display: flex;
    margin: 1.5px 15px 0 0;
    align-items: center;
}

.menu-desktop li {
    list-style: none;
    margin: 0 7px;
    padding: 0;
    display: inline-block;

    /*border-top: solid #f2e3c3;*/
}

.menu-desktop a {
    color: #fff;
    text-decoration: none;
    font-family: "Century Gothic", sans-serif;
    font-size: .9rem;
}

.menu-close {
    background: url(https://snipp.ru/demo/449/close.png) 0 0 repeat;
    display: block;
    filter: brightness(50);
    width: 28px;
    height: 28px;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 100;
}

.menu-popup {
    background: #333333;
    display: none;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0;
    padding: 30px;
    z-index: 9999;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.menu-popup ul {
    margin: 0;
    padding: 0;
}

.menu-popup li {
    list-style: none;
    /*margin: 10px 0;*/
    padding: 0;
}

.menu-popup form {
    margin: 10px 0;
    padding: 0;
    font-size: 28px;
}

.menu-popup form input {
    margin: 10px 0;
    padding: 0;
    font-size: 28px;
    /*width: 0.25rem;
    height: 0.5rem;*/
}

.menu-popup form button {
    /*margin: 10px 0;*/
    /*padding: 0;*/
    font-size: 28px;
    /*width: 0.25rem;
    height: 2rem;*/
}

.menu-popup li a {
    font-size: 28px;
    font-family: "Arial";
    color: rgb(255, 255, 255);
    line-height: 1.4;
    text-decoration: none;
}


.menu-icon {
    height: 0.9rem;
    margin-top: .03rem;
    margin-right: 3px;
    color: #fff;
}

.body_pointer * {
    cursor: pointer;
}

/* Сброс стилей для поля ввода в браузерах webkit */
input {
    outline: none;
}

input[type=search] {
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
    font-family: inherit;
    font-size: 100%;
}

input::-webkit-search-decoration,
input::-webkit-search-cancel-button {
    display: none; /* Удаляем иконку поиска и сброса */
}

/* Поле ввода строки поиска */
input[type=search] {
    /*#45332b*/
    background: #fff url(/img_com/search-icon.png) no-repeat 9px center;
    /*background-blend-mode: overlay;  указываем режим смешивания */
    /* background-color: #fef9e7; */ /* задаем новый цвет для изображения */
    border: solid 1px #ccc;
    padding: 2px 5px 2px 32px;
    width: 150px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}

input[type=search]:focus {
    /*background: #ededed url(/img_com/search-icon.png) no-repeat 9px center;*/
    width: 250px;
    background-color: #fff;

    border-color: #45332b;
    /*-webkit-box-shadow: 0 0 5px rgba(109, 207, 246, .5);
    -moz-box-shadow: 0 0 5px rgba(109, 207, 246, .5);
    box-shadow: 0 0 5px rgba(109, 207, 246, .5);*/
}

.mobile input[type=search] {
    /*#45332b*/
    background: #ffffff url(/img_com/search-icon.png) no-repeat 9px center;
    border: solid 1px #ccc;
    /*padding: 4px 5px 4px 32px;*/
    width: 310px;

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;

}

.mobile_old input[type=search]:focus {
    /*background: #ededed url(/img_com/search-icon.png) no-repeat 9px center;*/
    width: 310px;
}

.mobile input[type=search]:focus {
    /*background: #ededed url(/img_com/search-icon.png) no-repeat 9px center;*/
    width: calc(100vw - 20px); /* Откроется в пределах экрана с отступами */
    max-width: 100%; /* Предотвращает выход за пределы экрана */
    padding-left: 35px; /* Отступ для иконки */
    box-sizing: border-box; /* Учитывает padding и width */
    transition: all 0.3s ease-in-out; /* Плавный переход */
}

/* Заполнитель */
input:-moz-placeholder {
    color: #58453b;
}

input::-webkit-input-placeholder {
    color: #58453b;
}

input:-moz-placeholder:focus {
    color: #999;
}

input::-webkit-input-placeholder:focus {
    color: #999;
}


/*навигация*/
/*====================================================*/
.pagination .paginationItem {
    /*display: inline-block;
    padding: 3px 5px;
    background: #e6dfd1;
    margin: 3px 5px;
    box-shadow: 2px 2px 4px #b6b0ae,
    -2px -2px 4px #f6eeec;*/
    display: inline-block; /* Display items in a row */
    margin-right: 5px; /* Add some spacing between items */
    border: 1px solid #b17649; /* Add border around each item */
    padding: 5px 10px; /* Add padding inside each item */
}

.pagination .paginationItemSelected {
    /*display: inline-block;
    padding: 3px 5px;
    background: #f5d9a6;
    margin: 3px 5px;
    box-shadow: 2px 2px 4px #b6b0ae,
    -2px -2px 4px #f6eeec;*/
    display: inline-block; /* Display items in a row */
    margin-right: 5px; /* Add some spacing between items */
    border: 1px solid #b17649; /* Add border around each item */
    padding: 5px 10px; /* Add padding inside each item */
    background: #b17649;
    color: white;
}
.pagination .paginationItemSelected a,.pagination .paginationItemSelected a:visited,.pagination .paginationItemSelected a:hover{
    color: white;
}

.pagination {
    align-self: center;
    text-align: center;
    align-items: center;
    font-size: large;
    margin: 25px 0 60px;
    width: 100%;
    flex: available;
}
.pagination select
{
    border: 1px solid #b17649;
    padding: 7.5px 10px 8px 20px;
}
.pagination form{
    display: inline-block;
}
.pagination ul{
    width: 100%;
}
.paginationList {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Style for pagination items */
.paginationList .paginationItem {
    display: inline-block !important; /* Display items in a row */
    margin-right: 5px; /* Add some spacing between items */
    border: 1px solid #b17649; /* Add border around each item */
    padding: 5px 10px; /* Add padding inside each item */
}

/* Remove underline from anchor links */
.paginationList .paginationItem a {
    text-decoration: none;
    color: #000; /* Set link color */
}

/* Style for the last item (forward link) */
.paginationList .paginationItem:last-child {
    margin-right: 0; /* Remove spacing for the last item */
}

/* Optional: Hover style for items */
.paginationList .paginationItem:hover {
    background-color: #f0f0f0;
}

.nav_cat {
    width: 100%;
    text-align: center;
    align-self: center;
    column-width: 300px;
    column-gap: 25px;
    column-rule: 1px solid #d6cfcd;
    padding: 10px 15px;
}

.nav_cat_item {
    text-align: left;
    max-width: 280px;
    padding: 10px 20px;
    /*height: 125px;*/
    vertical-align: middle;
}

.nav_cat_item img {
    /*float: left;*/
    max-width: 100px;
    display: inline-block;
    position: absolute;
    will-change: transform;
}

/*.nav_cat_item>img:after {
    content: " ";
    display: table;
    clear: both;
}*/
.nav_cat_item h2 {
    /*padding: 20px;*/
    display: inline-block;
    max-width: 190px;
    /* height: 105px;*/
    padding-left: 110px;
}

.nav_cat_item div {
    font-size: 1.5em;
    display: inline-block;
}

/*товары */
/*====================================================*/
.cat-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*margin: -10px;*/
}

.card {
    /* border-radius: 8px; */
    border: 1px solid rgba(0, 0, 0, .05);
    /*background: linear-gradient(145deg, #c1bab9, #e5dddb);*/
    /*background: linear-gradient(145deg, #e7e5e4, #ede1de);
    box-shadow: 2px 2px 4px #b6b0ae66, -2px -2px 4px #f6eeec66;*/
    overflow: hidden;
    margin: 6px 4px;
    /*font-size: 1.1em;
    font-family: "Arial";*/
    /* font-weight: bold; */
    /*display: flex;*/
    width: 24.1%;
    /*align-self: stretch;*/
    text-align: center;
    /*flex-direction: column;*/
    box-sizing: border-box;
    position: relative;
    transition: all 0.3s ease-in-out; /* добавлено свойство transition для плавного перехода при изменении свойств */
}

.card:hover {
    z-index: 1; /* устанавливаем z-index на большее значение для перемещения карточки вверх и поверх соседних */
    transform: scale(1.1); /* увеличиваем масштаб карточки */
    height: auto; /* устанавливаем высоту карточки в автоматический режим для растяжения вниз */
    overflow: visible;
}

.card:hover .product-info {
    /*overflow: visible;*/
    position: absolute;
    display: block;
}

*, :after, :before {
    box-sizing: border-box;
}

.card:hover .product-info a {
    display: block; /* отображаем ссылку на покупку */
    /*margin-top: 10px;  добавляем отступ сверху */
}

.product-info {
    overflow: hidden; /* скрываем блок с информацией о продукте по умолчанию */
    position: relative;
    display: none;
    background-color: #fff;
    /*background: linear-gradient(145deg, #c1bab9, #e5dddb);*/
    /*background: linear-gradient(145deg, #e7e5e4, #ede1de);
    box-shadow: 2px 2px 4px #b6b0ae66, -2px -2px 4px #f6eeec66;*/
    width: 100%;
    border-radius: 0.25em;
    text-align: left;
    color: #000;
}

.card-buy-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2em 0.5em;
    background-color: #fefdfb;
    text-shadow: 1px 1px 2px white;
    /*color: #b17649;*/
    border-top: solid 0.05rem #b17649;
    border-radius: 0 0 8px 8px;
    font-weight: 500;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu;
}
.card-buy-line-price{
    font-weight: 700;
    /*font-size: 1.1rem;*/
}

.buyButton_cat{
color: white;
background-color: #b17649;
border-radius: .7rem;
margin: 2px;
padding: 3px 20px;
text-shadow: none;
}

.card a img {
border-radius: 0.25em 0.25em 0 0;
position: relative;
background: radial-gradient(circle at center, #bdbdbd 0%, #bdbdbd 10%, #6b6b6b 95%, #6b6b6b 100%);
}

.card .product-info h2 {
font-size: 0.83rem;
font-weight: 200;
}

.tovVariantiMin h6 {
font-weight: 400;
font-family: sans-serif;
font-size: 0.8em;
margin-bottom: -8px;
}

.tovVariantiMin .param-value {
width: 55%;
line-height: 1.3em;
}

.tovVariantiMin .param-name {
width: 42%;
}

.tovVariantiMin .card-body {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}

.tovVariantiMin .card-body .btn {
font-size: .75em;
padding: .1rem .6rem .2rem;
margin: .3em .25em;
border-radius: 0.7rem;
}

.tovVariantiMin .card-body {
padding: .4em .2em;
}

.tovVariantiMin ul {
padding: 0;
font-size: 0.75rem;
}

.tovVariantiMin .list-group-item {
padding: 0 .5rem;
background-color: #ffffff66;
}

/*.tovVariantiMin .list-group-item:nth-of-type(even) {
background-color: #f9f8f766;
}*/
#svyaz .card {
    width: 13.1%;
}

.absent img{
    /*opacity: 40%;*/
    /* Уменьшаем насыщенность до оттенков серого (0% насыщенности)
    filter: grayscale(100%);*/

    /* Добавляем насыщенность обратно (50% насыщенности) */
    filter: contrast(80%) brightness(100%);
}
.absent::before {
    content: ''; /* Добавляем пустое содержимое, чтобы псевдоэлемент существовал */
    position: absolute; /* Позиционируем псевдоэлемент абсолютно относительно родительского блока */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    display: block;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.5); /* Цвет с прозрачностью */

}
.absent img{
    opacity: 0.4;
}
.absent .product-info::before {
    content: ''; /* Добавляем пустое содержимое, чтобы псевдоэлемент существовал */
    position: absolute; /* Позиционируем псевдоэлемент абсолютно относительно родительского блока */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    display: block;
    background-color: rgba(255, 255, 255, 0.5); /* Цвет с прозрачностью */
    pointer-events: none;
}

.absent .card_tovar_price {
    display: none;
}

.oldprice {
    font-weight: normal;
    /*text-decoration: line-through solid red;*/
    text-decoration-line: line-through;
    text-decoration-color: red;
    text-decoration-style: solid;
}

.fullcard {
    border-radius: 10px;
    border: 1px solid;
    border-color: #b17649;
    /*background: linear-gradient(145deg, #c1bab9, #e5dddb);
    box-shadow: 3px 3px 6px #b6b0ae,
    -3px 6px #f6eeec;*/
    overflow: hidden;
    margin: 15px;
    text-align: center;
    /*font-size: 16px;
    font-family: "Arial";
    font-weight: bold;
    /*display: inline-block;9*/
    display: flex;
    width: calc(94% + 18px);
    /*vertical-align: top;*/
    align-self: stretch;
    flex-direction: column;
}

.fullcard p {
    text-align: justify;
    margin: -10px 10px 5px;
    color: #9a9b9a;
}

.card h2 {
    /* font-weight: 600; */
    font-weight: 200;
    font-family: "Century Gothic", sans-serif;
    font-size: .83rem;
    text-align: center;
    margin: 6px 4px 5px;
    color: #555;
    flex: 1;
}

.card h2 div {
    font-weight: 600;
}
.product-info h2 div {
    height:1.65rem;
}

.card img {
    width: 100%;
}

.card a {
    color: #000000;
    text-decoration: none;
    flex: 1;
}

.incard {
    border-radius: 6px;
    background: #d6cfcd;
    box-shadow: inset 2px 2px 3px #c3bcbb,
    inset -2px -2px 3px #e9e2df;
    margin: 3px;
    padding: 5px;
    font-size: smaller;
    text-align: left;
    font-weight: normal;
    flex: 1;
}

.incard_fixed {
    white-space: nowrap;
    overflow: hidden;
    /*height: 67px;*/
}

.card_100 {
    border-radius: 5px;
    background: linear-gradient(145deg, #c1bab9, #e5dddb);
    box-shadow: 6px 6px 12px #b6b0ae,
    -6px -6px 12px #f6eeec;
    padding: 3px;
    margin: 5px;
    font-size: 18px;
    font-family: "Arial";
    /*text-align: center;*/
    display: inline-block;
    vertical-align: top;
    /*width: 98%;*/
}

.card_100 h1 {
    overflow: hidden;
    /*height: 48px;*/
    margin: 14px;
    text-align: center;
}

.tovar_img {
    display: inline-block;
    background: #0a0500;
    text-align: center;
    padding: 10px;
    max-width: 600px;
    font-size: 0pt;
}

.buyButton {
    /*position: relative;*/

    display: inline-block;
    margin: 2px auto 0px;
    padding: 3px 7px;

    overflow: hidden;
    /*border:1px solid /*rgba(202, 194, 193, 0.2)*//*#45332b;*/
    outline: none;
    border-radius: 3px;
    /*box-shadow: 0 1px 4px rgba(0, 0, 0, .2);*/

    background-color: #ebd9bc;
    color: #4f321b;
    font-size: 1.25em;

    transition: background-color .3s;
    /*width: 100%;*/
}

.buyButtonIn {
    margin: 2px auto 0px;
    padding: 3px;

    overflow: hidden;
    border: 1px solid rgba(202, 194, 193, 0.2);
    outline: none;
    border-radius: 2px;
    /*box-shadow: 0 1px 4px rgba(0, 0, 0, .2);*/
    font-size: 1.25em;

    background-color: #d6cfcd;
    color: #ecf0f1 !important;
}

.card_tovar_bottom .buyButton {
    width: 100%;
}

.card_tovar_price {
    /*position: relative;*/
    overflow: hidden;
    display: inline-block;
    /*border: 1px 0px solid #cac2c1;*/
    /*outline: #555555 1px;*/
    border-radius: 2px;
    margin: 0px auto;
    padding: 3px;
    width: 100%;
}

.card_tovar_buyBlock {
    /* position: relative;*/
    width: 100%;
}

.card_tovar_buyBlock form {
    margin: 0;
}


@media (pointer: coarse) {
    body{
        /*background-color: lightgrey;*/
    }
    desktop {
        display: none;
    }

    mobile {
        display: block;
    }

    html {
        font-size: 8px;
    }

    .menu_mob_right {
        position: absolute;
        top: 100%;
        left: unset;
        right: 0;
        width: 100%;
        background-color: #f9f9f9;
        padding: 0;
        margin: 0;
        display: none;
        min-width: 200px;
    }
    .mob {
        display: block;
    }
    .mob a{
        font-size: 1.8rem;
    }
    .mob li ul li a{
        font-size: 2.1rem;
    }
    .desk {
        display: none;
    }

    .mobile {
        display: flex;
        align-items: center;
        gap: 10px;          /* вместо margin у li можно так */
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        padding: 0;
        margin: 0;
    }

    .mobile-left {
        left: 10px;
    }

    .mobile-right {
        right: 10px;
    }
    
    .mobile input[type=search]{
    width: 150px;
    }

    ol, ul {
        padding-left: 0;
    }

    .product-info {
        display: block;
    }

    .list-group-item {
        font-size: 1.6rem;
    }

    .product-info img, .product-info h2, .product-info .card-buy-line {
        display: none;
    }

    .card-buy-line-price{
        font-weight: 700;
        font-size: 1em;
    }


    .menu-triger {
        /*background: url(https://snipp.ru/demo/449/menu.png) 0 0 repeat;*/
        display: block;
        /*width: 50px;
        height: 50px;*/
        /*font-size: 22pt;*/
        position: absolute;
        right: 28px;
        top: .3rem;
    }

    .menu-desktop {
        display: none;
    }

    .logo {
        position: relative;
    }

    .logo img {
        position: relative; /* было absolute */
        top: 0;
        left: -2rem;
        width: 14rem !important;
        display: block;
    }

    header {
        /*height: 60px;
        background: #503d32;
        box-shadow: 7px 7px 21px #888888, -5px -5px 15px #ffffff;
        margin: -20px;*/
        display:none;
    }
    header-mobile{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #1e1e1e;
        height: 7rem;
        z-index: 100;
    }

    .inner-block, .inner-block-m {
        display: block !important;
        opacity: 1 !important;
    }
    .inner-block {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: auto;          /* вместо 100px */
        margin-left: 0;       /* убираем смещение */
    }

    .header-top, .header-top-m {
        height: 2.9rem !important;
    }

    .header-middle, .header-middle-m {
        height: 5.4rem !important;
    }

    .header-middle .logo, .header-middle-m .logo {
        display: none;
    }

    h6{
        font-size: 1.9rem;
    }
    .info {
        margin-left: 1rem !important;
        padding-top: 0.2rem !important;
    }

    .info-block {
        margin-right: 1rem !important;
    }

    .pagination {
        font-size: x-large;
    }

    .menu-icon {
        height: 2.7rem;   /* 3rem часто слишком жирно, но можешь вернуть 3rem */
        width: auto;
        margin: 0;
        display: block;
    }
    .logo-svg {
        height: 6rem;
        left:-2rem;
        width: auto;
        margin: 0;
        display: block;
        color:#fff;
    }

    .card {
        border-radius: 20px;
        /*background: linear-gradient(145deg, #c1bab9, #e5dddb);
        box-shadow: 6px 6px 12px #b6b0ae,
        -6px -6px 12px #f6eeec;*/
        padding: 0px;
        margin: 5px 5px 15px;
        font-size: 2em;
        font-family: "Arial", serif;
        text-align: center;
        display: inline-block;
        width: auto;
        border: solid 1px #bbb;
    }

    .card:hover{
        transform: none;
    }
    .card:hover .product-info{
        position: static;
    }

    .card h2{
        font-size: 2rem;
    }

    .fullcard {
        font-size: 18px;
        font-family: "Arial";
        text-align: center;
        display: inline-block;
    / / width: auto;

    }

    .card_100 {
        width: 97%;
    }

    .tovar_img {
        /*overflow: scroll;*/
        /*
        max-width: 70%;*/
        display: block;
        /*text-align: left;*/
    }

    .tovar_img img:first-child {
        /*transform: scale(0.6,0.6);*/
        width: 97%;
        height: auto;
        /*left: -30%;
        position: relative;*/
    }

    .incard_fixed {
        white-space: normal !important;
        overflow: visible;
        height: auto !important;
    }

    .onlymob {
        display: inline-block;
    }

    .incard .full-height form {
        font-size: 22px;
        margin: 3px;
    }
}

/*phone horizont*/
@media (pointer: coarse) and (orientation: landscape) {
    .card {
        width: 47%;
        vertical-align: top;
    }

    .fullcard {
        width: calc(94% - 8px);
        vertical-align: top;
    }

    .incard_fixed {
        white-space: nowrap !important;
        overflow: hidden !important;
        height: 67px;
    }
    
    
    .menu-icon {

    }

    .card h2 {
        overflow: hidden;
        height: 48px;
        margin: 14px;
        color: #333;
    }
}

/*nout 900*/
@media (pointer: fine) and (max-width: 900px) {
    .card {
        width: 47%;
        vertical-align: top;
    }

    .fullcard {
        width: calc(94% - 8px);
        vertical-align: top;
    }
}

.cat_img_dop {
    width: 100%;
    /*width:240px;
    height:180px;*/
    position: absolute;
    top: 0px;
    left: 0px;
}

.card_tovar_bottom {
    width: 100%;
    text-align: justify-all;
}

.card_tovar_bottom:only-child {
    position: relative;
}

.price1 {
    background-color: #ffeccc;
    text-align: left;
}

.price2 {
    background-color: #edddb9;
    text-align: left;
}
.price5 {
    background-color: #eaecf1;
    text-align: left;
}
.price4 {
    background-color: #f3f4f7;
    text-align: left;
}

.price3 {
    /*background-color:#dcc194;*/
    border-radius: 6px;
    background: #d6cfcd;
    box-shadow: inset 2px 2px 3px #c3bcbb,
    inset -2px -2px 3px #e9e2df;
    margin: 0px;

    /*font-size: smaller;*/
    text-align: left;
    font-weight: bolder;
    flex: 1;
}

.price3 td {
    padding: 5px;
}

/*#242526*/

/*3a3b3c*/

/*8a8d91*/
@media not all and (min-resolution: .001dpcm) {
    @media {
        .nav_cat {
            width: 100%;
            text-align: left;
            /*column-width: 300px;
            column-gap: 25px;
            column-rule: 1px solid #d6cfcd;*/
            padding: 10px;
        }
    }
}

.content {
    display: flex;
    padding-top: 90px;
    flex-wrap: wrap;
    justify-content: center;
}

.tovar-block {
    background-color: #f0f0f0;
    max-width: 1200px;
    margin-top: -1rem;
}

.tovar-block h1 {
    font-size: 1.3rem;
    padding-top: 8px;
    text-align: left;
    font-family: Roboto, sans-serif;
}

.tovar-block h5 {
    font-size: .95rem;
    padding-top: 8px;
    text-align: left;
    font-family: Roboto, sans-serif;
}

.tovPhoto {
    background-color: #f2eeed;
}


.content-items {
    flex-basis: 80%;
}



/*===========================================*/
/*===========================================*/
/*===========================================*/

.header-top, .header-top-m {
    background-color: #333333;
    width: calc(100% + 10px);
    display: flex;
    justify-content: flex-start;
    z-index: 2;
    position: relative;
    color: #f9f1e6;
    height: 2rem;
}

.inner-block, .inner-block-m {
    display: none;
    opacity: 0;
    width: 100px;
    transition: all 0.3s ease-in-out;
    margin-left: 10px;
}

.header-middle, .header-middle-m {
    /* background: linear-gradient(180deg, #666666,#424242,#333333); */
    width: calc(100% + 10px);
    /*padding: 20px;*/
    text-align: center;
    position: relative;
    z-index: 1;
    height: 5.8rem;
    display: flex;
    flex-wrap: nowrap;
    background-color: #fff;
}

.header-bottom, .header-bottom-m {
    background-color: #fff;
    width: calc(100% + 10px);
    /*padding: 10px;*/
    position: relative;
    z-index: 1;
    color: #f6f6f6;
    font-family: "Century Gothic", SansSerif, sans-serif;
    text-align: left;
    height: 2.4rem;
    display: flex;
    align-items: center;
    font-weight: 400;
    border-top: solid 1px #b17649;
    border-bottom: solid 1px #b17649;
}

.content {
    margin-top: 10.1rem;
    /*padding: 20px 5px 0 10px;*/
}

.inner-block .logo a img, .inner-block-m .logo a img {
    width: 6rem;
    filter: grayscale(1) brightness(10);
}

.header-middle .logo, .header-middle-m .logo {
    top: 1.2rem;
    left: 2.5rem;
    width: 200px;
    position: relative;
}

.header-middle .logo img, .header-middle-m .logo img {
    filter: hue-rotate(319deg) saturate(8) brightness(0.7);
}

/*===========================================*/
nav {

    /* border-top: solid 1px #333; */

    /* border-bottom: solid 1px #333; */

    width: 100%;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    height: 100%;
    border-top: solid 1px #b17649;
    border-bottom: solid 1px #b17649;
}

nav li {
    position: relative;
    height: 100%;
    border-right: 1px solid #fefefe;
}

nav li:last-child {
    border-right: none;
}

nav li a,nav li a:not([href]):not([class]) {
    display: flex;
    align-items: center;
    color: #402d26;
    text-decoration: none;
    padding: 0 15px;
    height: 100%;
    white-space: nowrap;
}

nav li a:visited,nav li a:visited:not([href]):not([class]) {
    color: #7a5200;
}

nav li:hover {
    background-color: #f9f1e6;
}

nav li ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #f9f9f9;
    padding: 0;
    margin: 0;
    display: none;
    min-width: 240px;
}

nav li:hover > ul {
    display: block;
    width: max-content;
}
nav li:last-child:hover > ul {
    position: fixed;
    right: 0;
    left: auto;
}
@media (pointer: coarse) {
    nav li:hover > ul{
        position: fixed;
        left: 0;
        min-width:100vw;
    }
}


nav li ul li {
    height: auto;
    border-bottom: 1px solid #ccc;
    background-color: #66615f;
    width: 100%;
    min-width: 240px;
}

nav li ul li a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 4px 15px;
    background-color: #f9f9f9;
}

nav li a:hover {
    /*color: #f2e3c3;*/
    color: #7c5d00 !important;
}

nav li ul li a:hover {
    color: #7c5d00 !important;
    background-color: #fff0d1;
}

nav li ul li:hover {
    background-color: #fff0d1;
}

/*===========================================*/
.info {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #777;
    margin-left: 15rem;
    padding-top: .6rem;
}

.info-block {
    display: flex;
    align-items: flex-start;
    margin-top: 0;
    margin-right: 2.3rem;
}

.flag {
    height: 1.1rem;
    margin-top: .2rem;
    margin-right: 7px;
    color: #b17649;
}
.info-text {
    margin: 0;
    text-indent: 0;
    font-family: "Century Gothic", sans-serif;
    font-size: .88rem;
    line-height: .96rem;
}

.info-block a, .info-block a:hover {
    font-family: "Century Gothic", sans-serif;
    color: #777;
    text-decoration: none;
}

.cross {
    position: relative;
    display: inline-block;
}

.cross:before, .cross:after {
    content: "";
    position: absolute;
    height: 1px;
    width: 50%;
    top: 50%;
    background-color: black;
}

.cross:before {
    left: 0;
    transform: rotate(45deg);
}

.cross:after {
    right: 0;
    transform: rotate(-45deg);
}

.list-group-item {
    /*border-block: 1px solid rgb(177 118 73);*/
}

.list-group-item:last-child, .list-group-item:first-child {
    border-radius: 0;
}

.list-group-item:first-child {
    /*border-top: solid 2px;*/
}

.list-group-item:last-child {
    /*border-bottom: solid 2px;*/
}

/* Стили для блока 'cart' */
.cart-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 180px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    min-height: 50vh; /* Минимальная высота половина высоты окна */
    max-height: calc(100vh - 180px);
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 1rem;
    padding: 20px;
    overflow-y: hidden; /* Убираем прокрутку для всего блока, так как у нас будут отдельные прокрутки внутри */
    z-index: 101;
}
/* Стили для overlay */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный цвет фона */
    z-index: 3; /* Позиционируем над остальными элементами страницы, кроме блока 'cart' */
}
/* Стили для кнопки 'Нажми для добавления в корзину' */
.cart-button {
    cursor: pointer;
}

/* Стили для шапки блока 'cart' */
.cart-header {
    /* Здесь можно добавить стили для шапки */
}

/* Стили для контента блока 'cart' */
.cart-content {
    flex-grow: 1; /* Разрешаем контенту растягиваться, чтобы он занимал доступное пространство с учетом шапки и низа */
    overflow-y: auto; /* Добавляем прокрутку только для контента, если он не влезает */
    /* Здесь можно добавить стили для контента */
}

/* Стили для низа блока 'cart' */
.cart-footer {
    /* Здесь можно добавить стили для низа */
}

/*===================================*/
/* Стили для блока 'cart' */
.cart-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 50%; /* Центрирование по вертикали */
    left: 50%; /* Центрирование по горизонтали */
    transform: translate(-50%, -50%);
    width: 650px;
    min-height: 60vh; /* Минимальная высота половина высоты окна */
    max-height: calc(100vh - 180px);
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 1rem;
    padding: 20px;
    overflow-y: hidden; /* Убираем прокрутку для всего блока, так как у нас будут отдельные прокрутки внутри */
    z-index: 10;
}

/* Стили для overlay */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный цвет фона */
    z-index: 3; /* Позиционируем над остальными элементами страницы, кроме блока 'cart' */
}

/* Стили для кнопки 'Нажми для добавления в корзину' */
.cart-button {
    cursor: pointer;
}

/* Стили для шапки блока 'cart' */
.cart-header {
    height: 50px; /* Фиксированная высота для шапки */
    /* Здесь можно добавить стили для шапки */
}

/* Стили для контента блока 'cart' */
.cart-content {
    position: absolute;
    top: 50px; /* Начинаем сразу после шапки */
    bottom: 30px; /* Заканчиваем перед низом */
    left: 0;
    right: 0;
    overflow-y: auto; /* Добавляем прокрутку только для контента, если он не влезает */
    overflow-x: hidden;
    /*min-height: calc(100% - 100px);*/
    /* Здесь можно добавить стили для контента */
}

/* Стили для низа блока 'cart' */
.cart-footer {
    height: 26px; /* Фиксированная высота для низа */
    position: fixed;
    bottom: 0;
    text-align: center;
    width: 96%;
    /* Здесь можно добавить стили для низа */
}
.tovar .cart-footer{
    display: none;
}

.cart-list{
    display: table-row !important;
}
.cart-list span{
    margin-left: 158px;
    display: block;
}
.cart_price{
    text-align: center;
}
.cart_price input[type="number"]{
    width: 3rem;
    text-align: right;
}
.cart-close {
    transform: rotate(-45deg);
    position: absolute;
    top: 0px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
}
.cart-del {
    transform: rotate(-45deg);
    /* position: absolute; */
    /* top: 27%; */
    /* right: 15px; */
    margin-top: -15px;
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
}
.cart-data{
    border-radius: 10px;
    border: 1px solid;
    border-color: #b17649;
    margin: 1rem;
    padding: 1rem;
    height: fit-content;
}

     /* Затенение */
 .search-overlay {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.7);
     z-index: 9999;
     display: none; /* Скрыто по умолчанию */
     justify-content: center;
     align-items: center;
 }

/* Окно поиска */
.search-modal {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.search-modal input[type=search] {
    width: calc(100% - 40px);
    padding-left: 35px;
    height: 40px;
    font-size: 16px;
    box-sizing: border-box;
    background: #ededed url(/img_com/search-icon.png) no-repeat 10px center;
}

.search-modal button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.search-modal .close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 2.2rem;
    cursor: pointer;
    /*color: #fff;*/
}

/* Активация модального окна только для мобильных устройств */
@media (max-width: 768px) {
    .mobile-search {
        display: block;
    }

    .desktop-search {
        display: none;
    }
}


@media (pointer: coarse) {
    html, body {
        margin: 0;
        padding: 0;
    }
    main{
        padding: 0;
    }
/*header-mobile*/
    .info-text{
        font-size: 2.3rem;
        line-height: 4.5rem;
    }
    .cat-m-block, .cat-m-block:visited{
        display: block;              /* ключевой момент */
        text-decoration: none;


        background-size: cover;
        background-position: center;

        transition:
                transform 0.12s ease,
                filter 0.12s ease;
        background-color: #3c3c3c;
        border-radius: 2rem;
        background-size: 30vw;
        width: 28.5vw;
        height: 34vw;
        background-repeat: no-repeat;
        margin: .6rem .1rem;

        display: flex;
        align-items: flex-end;   /* по вертикали вниз */
        justify-content: flex-start; /* по горизонтали влево */

        padding: 1rem;           /* чтобы текст не прилипал */
        text-align: left;
        color: #fff;
        font-size: 1.8rem;
        line-height: 2rem;
        overflow-x: hidden;
        text-shadow: -3px 0px 4px #69626f,-1px -1px 2px #69626f,2px 0px 4px #69626f;
    }

    .cat-m-block:hover {
        color: #fff;
        transform: scale(0.985);
        filter: brightness(1.05);
    }

    .cat-m-block:active {
        color: #fff;
        transform: scale(0.94);
        filter: brightness(0.95);
    }
    /*cart-mobile*/
    .cart-footer {
        margin-bottom: 1.5rem;
        padding-top: 1.5rem;
        font-size: 2.3rem;
        height: auto;
        background: rgba(255, 255, 255, .8);
        width: 100%;
        left: 0;
    }
    .cart-item{
        font-size: 2.3rem;
    }
    .cart-close{
        font-size: 4rem;
    }
    .cart-header,.cart-header h4,#cart-in .list-group-item{
        font-size: 2.3rem;
    }
    .cart_price input[type="number"] {
        width: 5rem;
    }
    .cart-container{
        width: 99%;
        max-width: 100%;
        min-height: 72vh;
        max-height: calc(100vh - 50px);
    }
    .cart-list span {
        margin-left: 8px;
    }
    .cart-content{
        bottom: 55px;
    }
    .cart-data{
        width: 96vw;
    }
    .form-control{
        font-size: 3.5rem;
    }
        /*================*/
    .cart-list {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .cart-list td:first-child {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .cart-list td:first-child a {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 10px;
    }

    .cart-list td:first-child img {
        /*width: 100%;*/
        height: auto;
    }

    .cart-list td:nth-child(2) {
        /*width: 100%;*/
        text-align: center;
    }

    .cart-list td:not(:first-child):not(:nth-child(2)) {
        flex: 1;
        text-align: center;
    }

    .cart-list .cart_price {
        margin-bottom: 10px;
    }

    .cart-del {
        margin-top: 0;
        font-size: 5rem;
    }
/*footer 100%*/
    .footer{
        /*width: calc(100% + 20px);
        margin: 0 -1px;*/
        padding: 12px 12px 6px 110px;
    }

}
@media screen and (pointer: coarse),(hover: none) {
    .fullcard{
        margin-left: 0;
    }
    .content {
        /*margin-right: -2rem;*/
        margin-top: 0;
        padding-top: 7.5rem;
        flex-direction: column;
    }

    .footer{
        margin: 0;
        box-shadow: none;
    }
}

body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}
.disable-interaction {
    pointer-events: none !important;
}
.none{
    display: none!important;
}