.custom-mu-btn {
    background: white;
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 200;
    src: url('/../assets/fonts/montserrat-v29-cyrillic-200.woff2') format('woff2'),
    url('/../assets/fonts/montserrat-v29-cyrillic-200.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('/../assets/fonts/montserrat-v29-cyrillic-300.woff2') format('woff2'),
    url('/../assets/fonts/montserrat-v29-cyrillic-300.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('/../assets/fonts/montserrat-v29-cyrillic-regular.woff2') format('woff2'),
    url('/../assets/fonts/montserrat-v29-cyrillic-regular.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('/../assets/fonts/montserrat-v29-cyrillic-500.woff2') format('woff2'),
    url('/../assets/fonts/montserrat-v29-cyrillic-500.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('/../assets/fonts/montserrat-v29-cyrillic-600.woff2') format('woff2'),
    url('/../assets/fonts/montserrat-v29-cyrillic-600.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('/../assets/fonts/montserrat-v29-cyrillic-700.woff2') format('woff2'),
    url('/../assets/fonts/montserrat-v29-cyrillic-700.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    src: url('/../assets/fonts/montserrat-v29-cyrillic-800.woff2') format('woff2'),
    url('/../assets/fonts/montserrat-v29-cyrillic-800.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    src: url('/../assets/fonts/montserrat-v29-cyrillic-900.woff2') format('woff2'),
    url('/../assets/fonts/montserrat-v29-cyrillic-900.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Commissioner';
    font-style: normal;
    font-weight: 200;
    src: url('/../assets/fonts/commissioner-v20-cyrillic-200.woff2') format('woff2'),
    url('/../assets/fonts/commissioner-v20-cyrillic-200.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Commissioner';
    font-style: normal;
    font-weight: 300;
    src: url('/../assets/fonts/commissioner-v20-cyrillic-300.woff2') format('woff2'),
    url('/../assets/fonts/commissioner-v20-cyrillic-300.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Commissioner';
    font-style: normal;
    font-weight: 400;
    src: url('/../assets/fonts/commissioner-v20-cyrillic-regular.woff2') format('woff2'),
    url('/../assets/fonts/commissioner-v20-cyrillic-regular.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Commissioner';
    font-style: normal;
    font-weight: 500;
    src: url('/../assets/fonts/commissioner-v20-cyrillic-500.woff2') format('woff2'),
    url('/../assets/fonts/commissioner-v20-cyrillic-500.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Commissioner';
    font-style: normal;
    font-weight: 600;
    src: url('/../assets/fonts/commissioner-v20-cyrillic-600.woff2') format('woff2'),
    url('/../assets/fonts/commissioner-v20-cyrillic-600.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Commissioner';
    font-style: normal;
    font-weight: 700;
    src: url('/../assets/fonts/commissioner-v20-cyrillic-700.woff2') format('woff2'),
    url('/../assets/fonts/commissioner-v20-cyrillic-700.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Commissioner';
    font-style: normal;
    font-weight: 800;
    src: url('/../assets/fonts/commissioner-v20-cyrillic-800.woff2') format('woff2'),
    url('/../assets/fonts/commissioner-v20-cyrillic-800.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Commissioner';
    font-style: normal;
    font-weight: 900;
    src: url('/../assets/fonts/commissioner-v20-cyrillic-900.woff2') format('woff2'),
    url('/../assets/fonts/commissioner-v20-cyrillic-900.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('/../assets/fonts/open-sans-v40-cyrillic-300.woff2') format('woff2'),
    url('/../assets/fonts/open-sans-v40-cyrillic-300.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('/../assets/fonts/open-sans-v40-cyrillic-regular.woff2') format('woff2'),
    url('/../assets/fonts/open-sans-v40-cyrillic-regular.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 500;
    src: url('/../assets/fonts/open-sans-v40-cyrillic-500.woff2') format('woff2'),
    url('/../assets/fonts/open-sans-v40-cyrillic-500.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('/../assets/fonts/open-sans-v40-cyrillic-600.woff2') format('woff2'),
    url('/../assets/fonts/open-sans-v40-cyrillic-600.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('/../assets/fonts/open-sans-v40-cyrillic-700.woff2') format('woff2'),
    url('/../assets/fonts/open-sans-v40-cyrillic-700.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 800;
    src: url('/../assets/fonts/open-sans-v40-cyrillic-800.woff2') format('woff2'),
    url('/../assets/fonts/open-sans-v40-cyrillic-800.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 200;
    src: url('/../assets/fonts/roboto-condensed-v27-cyrillic-200.woff2') format('woff2'),
    url('/../assets/fonts/roboto-condensed-v27-cyrillic-200.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 300;
    src: url('/../assets/fonts/roboto-condensed-v27-cyrillic-300.woff2') format('woff2'),
    url('/../assets/fonts/roboto-condensed-v27-cyrillic-300.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('/../assets/fonts/roboto-condensed-v27-cyrillic-regular.woff2') format('woff2'),
    url('/../assets/fonts/roboto-condensed-v27-cyrillic-regular.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 500;
    src: url('/../assets/fonts/roboto-condensed-v27-cyrillic-500.woff2') format('woff2'),
    url('/../assets/fonts/roboto-condensed-v27-cyrillic-500.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 600;
    src: url('/../assets/fonts/roboto-condensed-v27-cyrillic-600.woff2') format('woff2'),
    url('/../assets/fonts/roboto-condensed-v27-cyrillic-600.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('/../assets/fonts/roboto-condensed-v27-cyrillic-700.woff2') format('woff2'),
    url('/../assets/fonts/roboto-condensed-v27-cyrillic-700.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 800;
    src: url('/../assets/fonts/roboto-condensed-v27-cyrillic-800.woff2') format('woff2'),
    url('/../assets/fonts/roboto-condensed-v27-cyrillic-800.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 900;
    src: url('/../assets/fonts/roboto-condensed-v27-cyrillic-900.woff2') format('woff2'),
    url('../fonts/roboto-condensed-v27-cyrillic-900.ttf') format('truetype');
}


html * {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

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


body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;

}

a {
    color: #131313;
    text-decoration: none;
}

a:hover:not(.stophover) {
    color: #E6231E;
}

.card-edit-btn {
    color: #E6231E;
}

.card-edit-btn:hover {
    color: #E6231E;
    background-color: #fff !important;
    border-color: #E6231E !important;
}

.card-delete-btn:hover {
    background-color: #000;
}

.card-delete-btn:hover svg path {
    fill: #fff;
}

.card-delete-btn:active {
    background: black !important;
    color: white !important;
}

.show-map-btn:hover {
    color: #fff!important;
}

.catalog-menu {
    display: none;
    position: absolute;
    background-color: white;
    width: 100%;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px;
    font-family: 'Helvetica', sans-serif;
    transition: all 0.3s ease;
}

.catalog-menu a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding-right: 20px;
    /* Отступ для стрелки */
}

/* Стрелка только у главной категории */
.catalog-menu .category-link::after {
    content: "\2192";
    /* Стрелка */
    font-size: 14px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

/* Эффект при наведении для главной категории */
.catalog-menu .category-link:hover {
    color: #E6231E;
    /* Основной цвет #E6231E */
}

.catalog-menu .category-link:hover::after {
    transform: translateY(-50%) translateX(5px);
    /* Сдвиг стрелки вправо при наведении */
}


.catalog-button {
    position: relative;
}

.catalog-menu .left-panel {
    float: left;
    width: 20%;
}

.catalog-menu .right-panel {
    float: right;
    width: 75%;
}

.catalog-menu ul {
    list-style-type: none;
    padding: 0;
}

.catalog-menu li {
    margin: 10px 0;
}

.catalog-menu a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

/* Стрелка */
.catalog-menu a::after {
    font-size: 14px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

/* Эффект при наведении */
.catalog-menu a:hover {
    color: #E6231E;
    /* Ваш основной цвет #E6231E */
}

.catalog-menu a:hover::after {
    transform: translateY(-50%) translateX(5px);
    /* Сдвиг стрелки вправо при наведении */
}

.catalog-menu .category {
    margin-bottom: 20px;
}

.catalog-menu .category h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

/* Современные колонки */
.subcategory-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.subcategory-column {
    width: 30%;
    margin-bottom: 20px;
}

.subcategory-column h3 {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

.subcategory-column ul {
    list-style: none;
    padding: 0;
}

.subcategory-column li {
    margin: 5px 0;
    font-size: 12px;
}

.subcategory-column a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.subcategory-column a:hover {
    color: #E6231E;
}

/* Контент подкатегорий */
.category-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-content.active {
    display: block;
    opacity: 1;
}

.category-content-right {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-content-right.active {
    display: block;
    opacity: 1;
    font-size: 10px;
    margin-left: 40px;
}

.category-content-nav {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-content-nav.active {
    display: block;
    opacity: 1;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.card {
    width: 220px;
}

.card__image > img {
    /*width: 100%;*/
    /*height: 100%;*/
    transition: 0.2s;
}

.card__image {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card__top {
    flex: 0 0 220px;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 220px;
}

.card__top img {
    object-fit: contain;
}

.card__bottom a {
    text-align: left;
}

@media (max-width: 768px) {
    .card {
        width: 100%;
        /* Adjust for smaller screens */
    }
}

h1 {
    font-size: 28px;
    margin: 0 0 30px 0;
    padding: 0;
}

.nav-link:hover {
    color: #E6231E !important;
}

.text-body-tertiary:hover {
    color: #313131 !important;
}

header .form-control {
    border-color: #E6231E;
    border-radius: 5px 0 0 5px;
}

header .form-control:focus {
    border-color: #131313;
}

header .btn-danger {
    border-radius: 0 5px 5px 0;
    background-color: unset;
    color: var(--bs-btn-bg);
}

.btn-primary,
.btn-danger {
    --bs-btn-bg: #E6231E;
    --bs-btn-border-color: #c21f1b;
    --bs-btn-hover-bg: #c21f1b;
    --bs-btn-hover-border-color: #c21f1b;
    --bs-btn-active-bg: #c21f1b;
    --bs-btn-active-border-color: #c21f1b;
    --bs-btn-disabled-bg: #f68380;
    --bs-btn-disabled-border-color: #df8582;
}

.btn-outline-danger {
    --bs-btn-color: #E6231E;
    --bs-btn-border-color: #E6231E;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #c21f1b;
    --bs-btn-hover-border-color: #c21f1b;
    --bs-btn-focus-shadow-rgb: 220, 53, 69;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #c21f1b;
    --bs-btn-active-border-color: #c21f1b;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #dc3545;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #dc3545;
    --bs-gradient: none;
}

header .container {
    position: relative;
}

.fa-solid.fa-heart {
    color: #E6231E;
    margin: 5px 5px 0 0;

}


.text-body-tertiary .fa-regular.fa-heart {
    color: #E6231E;
    font-weight: 400;
    -webkit-text-stroke: 0;
    text-stroke: 0;
    margin: 0;
}

/* Избранное в шапке */
.fa-regular.fa-heart,
.fa-regular.fa-solid {
    color: #fff;
    -webkit-text-stroke: 1px #E6231E;
    text-stroke: 2px #E6231E;
    font-weight: 900;
    margin: 5px 5px 0 0;
}


.fa-location-dot {
    color: #131313;
}

.text-danger {
    --bs-text-opacity: 1;
    color: #E6231E !important;
}

:active,
:hover,
:focus {
    outline: 0 !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
}


.product__image {
    height: 160px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.product__image img {
    height: 100%;
    object-fit: contain;
}

.name {
    overflow: hidden;
    height: 40px;
}

.footer {
    position: absolute !important;
    right: 0;
    left: 0;
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer ul li {
    padding: 3px 0;
}

footer a {
    color: #646464;
}

.carousel-control-next,
.carousel-control-prev {
    width: 5%;
}

.rating {
    font-size: 24px;
    color: #FC9700;
    line-height: 21px;
    margin-left: 5px;
    vertical-align: text-top;
}

.rating::before {
    letter-spacing: -1px;
}


.form-check-input:checked {
    background-color: #E6231E;
    border-color: #E6231E;
}

summary::-webkit-details-marker {
    display: none;
    margin-right: 10px;
}

summary {
    color: #E6231E;
    /* Цвет текста кнопки */
    cursor: pointer;
    /* Делаем курсор указателем при наведении */
}

/* Стили для основного изображения */
#main-image img {
    width: 100%;
    height: auto;
}

/* Стили для контейнера дополнительных изображений */
.additional-images {
    overflow: hidden;
    max-height: 470px;
}

/* Стили для маленьких изображений */
.additional-images img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    cursor: pointer;
    background: #fff;
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 14px;
}

.additional-images img.active {
    border: 1px solid #E6231E;
}

.options img {
    border: 1px solid #d7d7d7;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
}

.options img.active {
    border: 1px solid #E6231E;
}

.characteristics {
    background: url(../images/dots.svg) repeat-x 0 15px;

}

.slider-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.slider-container img {
    width: 100%;
    display: none;
}

.slider-dots {
    text-align: center;
    margin-top: 10px;
}

.slider-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 5px;
}

.slider-dot.active {
    background-color: #333;
}

.container {
    max-width: 1800px !important;
}

.container.container-menu {
    max-width: 1440px !important;
}

@media (max-width: 991.98px) {
    .navbar-toggler.top-0 {
        top: -120px !important;
    }

    .wishlist {
        position: absolute;
        top: 0;
        right: 10px;
    }

    .text-nowrap {
        white-space: unset !important;
    }

    iframe {
        height: 50vh;
    }

    .slider-container {
        position: relative;
        max-width: 100%;
        overflow: hidden;
        display: block;
    }

    .slider-container img {
        width: 100%;
        display: none;
    }

}

@media (max-width: 768px) {
    .sort {
        position: absolute;
        top: -40px;
        right: 0;
    }
}


.impr a {
    color: #E6231E;
    text-decoration: underline;
}

.impr a:hover {
    text-decoration: none;
}


input,
select,
textarea {
    box-sizing: border-box;
}

.add_product {
    background-color: #EEEEEE;
    padding-top: 40px;
    padding-bottom: 100px;
}

.add_product .container {
    padding: 0 16px;
}

.add_product h1 {
    font-size: 28px;
    font-weight: 600;
    line-height: 38px;
    margin: 0;
    text-align: center;
}

.add-product__header-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.add-product__back {
    position: absolute;
}

.add_product .add_product_form {
    margin: 0 auto;
    margin-top: 30px;
    background-color: #fff;
    padding: 25px 30px;
}

.add_product .add_product_form form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/*.add_product .add_product_form .row {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*}*/

/*.add_product .add_product_form .form_param_item {*/
/*    width: calc(50% - 15px);*/
/*    margin-bottom: 30px;*/
/*}*/

.add_product .add_product_form .nice-select {
    width: 100%;
    border: 1px solid #494949;
    padding-left: 20px;
}

.add_product .add_product_form .nice-select .list {
    width: 100%;
    border: 1px solid silver;
}


.add_product .add_product_form .name_param {
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: bold;
    line-height: 23px;
}

.add_product .add_product_form .form_param_item input,
.add_product .add_product_form .form_param_item select {
    width: 100%;
    border: 1px solid #494949;
    max-height: 43px;
    font-size: 17px;
    font-weight: 400;
    line-height: 23px;
    border-radius: 5px;
    outline: none;
    padding: 9px 20px;
}


.add_product .add_product_form .form_param_item input {
    width: 100%;
}


.add_product .add_product_form .form_param_item.file {
    position: relative;

}


.add_product .add_product_form .form_param_item.file label {
    cursor: pointer;
    display: flex;
    gap: 15px;
}

.hidden_input .row {
    flex-wrap: wrap;
    gap: 15px;
}

.hidden_input .form_param_item {
    flex: 0 0 calc(50% - 15px);
}

.form_param_item.hidden {
    display: none;
}

.add_product .add_product_form .form_param_item.file label img:nth-child(2) {
    background-color: #e9e9e9;
    padding: 24px;
    border-radius: 7px;
}

.add_product .add_product_form .form_param_item.file input {
    width: 0;
    height: 0;
    position: absolute;
    opacity: 0;
}

.add_product .add_product_form .write_character {
    font-size: 17px;
    font-weight: 400;
    color: #000;
    opacity: 0.6;
    margin-top: 20px;
    display: inline-block;
    text-decoration: none;
    transition: .3s;
}

.add_product .add_product_form .write_character:hover {
    color: #E6231E;
    opacity: 1;
}

.add_product .add_product_form .form_param_item textarea {
    height: 158px;
    width: 100%;
    outline: none;
    border: 1px solid #494949;
    padding: 9px 20px;
    font-size: 17px;
    font-weight: 400;
    line-height: 23px;
    border-radius: 6px;
    resize: none;
}

.add_product .add_product_form button {
    font-size: 17px;
    font-weight: 400;
    line-height: 23px;
    color: #E6231E;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

@media (max-width: 480px) {
    .add_product .add_product_form {
        padding: 25px 0;
    }
    .add-product__back {
        top: -20px;
    }
    .add_product .add_product_form button {
        font-size: 14px;
        padding: 10px;
    }
}

#category2S,
#category3S {
    background-color: #fff;
}

.previewq {
    margin-top: 10px;
}

@media (max-width: 480px) {
    .hidden_input .form_param_item {
        flex: 0 0 auto;
        width: 100%;
    }

    .add_product {
        padding: 25px 0 60px 0;
    }

    .add_product h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .add_product .add_product_form .row {
        align-items: end;
        flex-wrap: wrap;
        gap: 20px;
    }

    .add_product .add_product_form .form_param_item {
        width: 100%;
    }

    .add_product .add_product_form form {
        gap: 20px;
    }

    .add_product .add_product_form .name_param {
        font-size: 15px;
    }

    .add_product .add_product_form .form_param_item input,
    .add_product .add_product_form .form_param_item select {
        font-size: 15px;
    }

    .add_product .add_product_form .form_param_item.file label img:nth-child(1) {
        width: 61px;
        height: fit-content;
    }

    .add_product .add_product_form .form_param_item.file label img:nth-child(2) {
        width: 21px;
        padding: 20px;
    }
}


.card__image {
    text-align: center;
    max-height: 220px;
}

img {
    width: 100% !important;
    height: 100% !important;
}


.inner-container-header-old {
    display: grid;
    grid-template-columns: auto 150px 1fr auto;
    grid-template-rows: auto auto;
    gap: 0px;
    grid-auto-flow: row;
    grid-template-areas:
        "city-block gen-menu gen-menu top-bar"
        "logo catalogs-menu search-block icon-block";
}

.menu-transfer-inner {
    display: flex;
    justify-content: center;
}

.city-block-inner {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.inner-container-header-old .gen-menu {
    grid-area: gen-menu;


}

.inner-container-header-old .top-bar {
    grid-area: top-bar;
    font-size: 14px;
    font-family: "Roboto Condensed", serif;
    color: #202020;
    line-height: 58px;
}

.inner-container-header-old .logo {
    grid-area: logo;
    margin-bottom: 5px;
    font-size: 24px;
    white-space: nowrap;
    font-weight: bold;
    margin-right: 22px;
}

.inner-container-header-old .logo .img-logo {
    height: 48px !important;
    width: auto !important;
}

.inner-container-header-old .catalogs-menu {
    grid-area: catalogs-menu;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.inner-container-header-old .search-block {
    grid-area: search-block;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.inner-container-header-old .icon-block {
    grid-area: icon-block;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.inner-container-header-old .city-block {
    grid-area: city-block;
    font-size: 14px;
    margin-top: 5px;
    color: silver;
    font-family: "Roboto Condensed", serif;
}


.inner-container-header-old .togle-block {
    grid-area: togle-block;
    margin-right: 5px;
    display: none;
    line-height: 33px;
}

.logo a {
    text-decoration: none;
    color: #000;
}

.logo a:hover {
    color: red;
}

.icon-block .links-text {
    font-size: 12px;
    font-family: "Roboto Condensed", serif;
}

.inner-container-header-old .icon-item {
    display: flex;
    flex-direction: column;
    margin: 10px;
    align-items: center;
}

.inner-container-header-old .icon-item i {
    font-size: 20px;
}

.inner-container-header-old .icon-inner .fa-solid.fa-heart {
    margin: 0;
}

.inner-container-header-old .top-bar .top-bar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.inner-container-header-old .top-bar .top-bar-nav a {
    margin: 0;
}

@media (max-width: 992px) {
    .inner-container-header-old {
        grid-template-columns: max-content max-content 1fr auto;
        grid-template-rows: auto auto auto auto;
        grid-template-areas: "city-block  city-block city-block top-bar"
            "logo logo logo logo"
            "togle-block search-block search-block search-block"
            "icon-block icon-block icon-block icon-block";
    }

    .inner-container-header-old .icon-block .links-text {
        display: none;
    }

    .inner-container-header-old .logo {
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

    .inner-container-header-old .catalogs-menu {
        display: none;
    }

    .inner-container-header-old .gen-menu {
        display: none;
    }

    .city-block {
        margin: 10px 0 6px;
    }
    /*
    header .container div a {
        display: inline-block;
    }
*/
    .inner-container-header-old .togle-block {
        display: block;
    }
    .inner-container-header-old .icon-block {
        justify-content: end;
    }
    .city-block-inner {
        justify-content: flex-start;
    }
}

@media (max-width: 450px) {
    .inner-container-header-old .top-bar {
        font-size: 12px;

    }

}

/*---------------------------------------*/
.catmobile {
    display: none;
}

/* Основные стили для меню */
.category-menu {
    font-family: Arial, sans-serif;
}

.category-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-menu > ul {
    display: flex;
    flex-wrap: wrap;
}

.category-menu > ul > li {
    position: relative;
    margin: 0 15px;
}

.category-menu > ul > li > a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    background: #333;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.category-menu > ul > li > a:hover {
    background: #555;
}

/* Стили для подкатегорий */
.category-menu ul ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 200px;
}

.category-menu ul ul ul {
    left: 100%;
    top: 0;
    margin-left: 1px;
    /* Чтобы не перекрывалось */
}

.category-menu ul ul li {
    position: relative;
}

.category-menu ul ul li > a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    background: #fff;
    border-bottom: 1px solid #ddd;
    transition: background 0.3s ease;
}

.category-menu ul ul li > a:hover {
    background: #eee;
}

/* Анимация */
.submenu {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.category-menu ul li:hover > ul,
.category-menu ul ul li:hover > ul {
    display: block;
    opacity: 1;
}

/* Мобильные стили */
@media (max-width: 768px) {
    .category-menu {
        font-size: 14px;
    }

    .category-menu > ul {
        flex-direction: column;
    }

    .category-menu > ul > li {
        margin: 5px 0;
    }

    .category-menu ul ul {
        position: static;
        box-shadow: none;
    }

    .category-menu ul ul ul {
        position: static;
    }
}

/*-----------------------------------------------*/
.dispblock {
    display: block !important;
}

.cataloger-button,
.name-users {
    margin: 10px 0;
}

.name-users i {
    color: #c21f1b;
    margin-left: 10px;
    font-size: 18px;
}

.cataloger-button .btn {
    border: 1px solid #333;
}


.collapsefilters {
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: 0fr;
    grid-template-rows: 0fr;
    overflow: hidden;
    -webkit-transition: 0.7s cubic-bezier(0.075, 0.82, 0.165, 1);
    -o-transition: 0.7s cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 0.7s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.custom-mt-2-5 {
    margin-top: 2.5rem;
}

.accfilters {
    -webkit-transition: -webkit-transform 0.4s ease;
    transition: -webkit-transform 0.4s ease;
    -o-transition: transform 0.4s ease;
    transition: transform 0.4s ease;
    transition: transform 0.4s ease, -webkit-transform 0.4s ease;
}

.accfilters.vtops {
    -webkit-transform: translateY(-1rem);
    -ms-transform: translateY(-1rem);
    transform: translateY(-1rem);

}

.catalogserch .accfilters.vtops {
    transform: translateY(1.2rem);
}

.collapsefilters > div {
    overflow: hidden;
}

.catalogserch .custom-mt-2-5 {
    margin-top: -1rem;
}

.collapsefilters.show {
    -ms-grid-rows: 1fr;
    grid-template-rows: 1fr;
}

@media (min-width: 768px) {
    .collapsefilters {
        -ms-grid-rows: 1fr;
        grid-template-rows: 1fr;

    }
}

@media (max-width: 992px) {
    .toglefix {
        margin-top: -75px;
    }
}

.headerbutton {

    width: 130px;
}

.search-for-results {
    position: absolute;
    top: 100%;
    left: 0px;
    right: 0px;
    background-color: white;
    z-index: 1000;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 16px;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    display: block;
}

.search-for-results div a {
    margin: 12px 0 0 15px;
}

.search-for-results div:last-child {
    margin-bottom: 15px;
}

.catalog-headers {
    position: relative;
}

.headers-h1 {
    font-family: "Commissioner", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
}

.headers-h1 h1 {
    margin: 15px 0 20px;
}

.catalog-headers::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: red;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: skewX(45deg);
}

.total-del-price {
    white-space: nowrap;
    font-size: 20px;
    font-weight: 600;
}

/*----------------------------------------------------*
       /* Основной стиль для overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Полупрозрачный черный фон */
    display: none;
    /* Скрыть по умолчанию */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Выше всего */
}

.overlay .spinner {
    border: 8px solid #f3f3f3;
    /* Серый фон */
    border-top: 8px solid #3498db;
    /* Синий цвет */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*------------------------------------------------*/
.subscription-select-container {
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #ffffff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.125);
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.subscription-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    border-bottom: 1px solid #e9ecef;
}

.subscription-option:last-child {
    border-bottom: none;
}

.subscription-option span {
    font-size: 14px;
}

.subscription-option .btn {
    margin-left: 10px;
}

/* Анимация для эффекта нажатия */
.subscription-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    border-bottom: 1px solid #e9ecef;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.subscription-option:active {
    transform: scale(0.98);
    background-color: #f0f0f0;
}

/* Анимация появления селектора */
.subscription-select-container {
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #ffffff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.125);
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.subscription-select-container.show {
    opacity: 1;
    transform: scale(1);
}

/* Анимация скрытия селектора */
.subscription-select-container.hide {
    opacity: 0;
    transform: scale(0.9);
}

/* Стиль для выделения текущей подписки */
.subscription-option.current-subscription {
    background-color: #d1ecf1;
    /* Цвет фона для выделения */
    border-color: #bee5eb;
    /* Цвет границы для выделения */
    color: #0c5460;
    /* Цвет текста для выделения */
}

/*----------------------------------------------------------------------*/
#search_results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    z-index: 1000;
    display: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 5000;
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
}

#search_results ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#search_results ul li {
    padding: 16px 20px;
    /* Увеличенные отступы */
    font-size: 18px;
    /* Увеличенный шрифт */
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
    /* Плавный переход фона */
}

#search_results ul li:last-child {
    border-bottom: none;
    /* Удаление границы у последнего элемента */
}

#search_results ul li:hover {
    background-color: #f0f0f0;
    /* Более заметный фон при наведении */
}

#search_results ul li a {
    color: #333;
    /* Цвет текста */
    text-decoration: none;
    /* Убираем подчеркивание ссылок */
    display: block;
    width: 100%;
}

#search_results ul li a:hover {
    color: #007bff;
    /* Цвет текста при наведении */
}

/*.container div {
    flex: 1 1 calc(50% - 10px); !* Two divs per row with gap *!
}*/

.search_txt_new {
    font-size: 18px;
}

@media (max-width: 991px) {
    .search_txt_new {
        font-size: 14px;
        padding: 5px;
    }
}

@media (max-width: 1160px) {
    .searchdiv {
        padding-left: 5rem !important;
    }
}

@media (max-width: 768px) {
    /*
    header .container div a {
        margin-top: 10px;
        display: inline-block;
    }*/

    .container .searchdiv {
        flex: 1 1 100%;
    }
}

/*------------------------------------------------*/
.card {
    min-height: 433px;
}

#amount {
    margin: 7px 0;
    width: 100%;
}

#password,
#password_1,
#password2_1 {
    position: relative;
    display: inline-block;
}

#togglePassword3,
#togglePassword,
#togglePassword2 {
    display: inline-block;
    position: absolute;
    right: 12px;
    padding: 5px 14px;
    background: none;
    border: none;
}

#eyeIcon3,
#eyeIcon,
#eyeIcon2 {
    vertical-align: text-top;
}

@media (max-width: 480px) {
    .profileblock {
        width: 100%;
    }
}

/*#catalogButton {
        padding: 12px 10px;
}

.card__bottom {
    min-height:143px;
}
.card div form {
    min-height:32px;
}
@media (min-width: 1400px) {
.px-xxl-5 {
padding-right: 2rem !important;
padding-left: 2rem !important;
}
}*/
/* Медиа-запросы для адаптивности */
.me-3 {
    right: 25px;
}

@media (max-width: 991.98px) {
    #catalogButtonMobile {
        display: block;
    }

    .btn-outline-dark.d-lg-none {
        display: none;
    }
}

@media (min-width: 992px) {
    #catalogButtonMobile {
        display: none;
    }
}

/* Класс для кнопки гамбургер-меню */
.navbar-toggler {
    border: none;
    background-color: transparent;
}

.navbar-toggler-icon {
    width: 30px;
    height: 20px;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 20"%3E%3Cpath stroke="%23000" stroke-width="2" d="M0 5h30M0 10h30M0 15h30"/%3E%3C/svg%3E');
}

/*----------------------------------------------------*/

/* Active State for List Items */
#catalogModal .list-group-item.active {
    background-color: #e0e0e0;
    /* Light grey background for active state */
    border-color: #ccc;
    /* Slightly darker border for active state */
    font-weight: bold;
    /* Make text bold */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    /* Enhance shadow for active state */
}

/* General Modal Styles */
#catalogModal .modal-content {
    font-family: 'Poppins', sans-serif;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.4);
    /* Slightly transparent white background */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    /* Enhanced modern shadow */
    border: none;
    /* Remove default border */
    backdrop-filter: blur(10px);
    /* Apply a backdrop blur effect for added modernity */
}

#catalogModal .modal-dialog {
    max-width: 80%;
    /* Adjust width as needed */
    margin: 1.75rem auto;
    /* Center the modal vertically */
}

#catalogModal .modal-body {
    display: flex;
    gap: 15px;
    padding: 20px;
    overflow: hidden;
    /* Ensure content fits well within the modal */
}

#catalogModal .category-list,
#catalogModal .subcategory-list,
#catalogModal .sub-subcategory-list {
    flex: 1;
    padding: 20px;
    border-radius: 8px;
    background-color: rgba(249, 249, 249, 0.8);
    /* Light background with transparency for lists */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    transition: background-color 0.3s ease;
    overflow-y: auto;
    /* Scrollable content if needed */
}

#catalogModal .list-group-item {
    cursor: pointer;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#catalogModal .list-group-item:hover,
#catalogModal .list-group-item.active {
    background-color: #f0f0f0;
    /* Light hover color */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

#catalogModal .subcategory-list,
#catalogModal .sub-subcategory-list {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

#catalogModal .subcategory-list.show,
#catalogModal .sub-subcategory-list.show {
    max-height: 1000px;
    /* Large enough to show all content */
    opacity: 1;
}

#catalogModal .arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
}

#catalogModal .arrow.rotate {
    transform: rotate(90deg);
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {

    /* For tablets and smaller screens */
    #catalogModal .modal-dialog {
        max-width: 90%;
        /* Adjust width for smaller screens */
        margin: 1rem auto;
        /* Adjust margin */
    }

    #catalogModal .modal-body {
        flex-direction: column;
        /* Stack categories vertically */
    }

    #catalogModal .category-list,
    #catalogModal .subcategory-list,
    #catalogModal .sub-subcategory-list {
        padding: 15px;
        margin-bottom: 15px;
    }

    #catalogModal .subcategory-list.show,
    #catalogModal .sub-subcategory-list.show {
        max-height: none;
        /* Allow full height for mobile */
    }

    #catalogModal .list-group-item {
        font-size: 14px;
        /* Adjust font size */
        padding: 10px;
    }

    #catalogModal .arrow {
        font-size: 12px;
    }
}

@media (max-width: 576px) {

    /* For mobile phones */
    #catalogModal .modal-content {
        border-radius: 8px;
    }

    #catalogModal .modal-body {
        padding: 10px;
    }

    #catalogModal .category-list,
    #catalogModal .subcategory-list,
    #catalogModal .sub-subcategory-list {
        padding: 10px;
        margin-bottom: 10px;
    }

    #catalogModal .list-group-item {
        font-size: 12px;
        /* Further reduce font size */
        padding: 8px;
    }

    #catalogModal .arrow {
        font-size: 10px;
    }
}



@media screen and (max-width: 600px) {

    /*********************whishlist***********************************/
    .cards-requests-list .card__image, .cards-requests-list .card__top {
        height: 180px;
    }

    .cards-requests-list .card__price {
        font-size: 14px !important;
    }

    .cards-requests-list .card__title {
        font-size: 16px !important;
    }

    .cards-requests-list .card__bottom p {
        font-size: 14px;
    }

    .cards-requests-list .card__bottom {
        padding: 8px !important;
        padding-bottom: 0 !important;
    }

    .cards-requests-list .products-card-inner {
        height: auto !important;
    }

    .cards-requests-list .products-card {
        padding-bottom: 0 !important;
    }

    .cards-requests-list .card-button-div-block {
        margin-bottom: 0 !important;
    }
}

.products-card {
    position: relative;
    width: 100%;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.176);
    transition: transform 0.5s ease-in;
}

.products-card-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    height: 90%;
    padding-top: 5px;
}

.card-top {
    font-family: "Roboto Condensed", serif;
    margin: 5px;
}

.card-foto {
    height: 220px;
    width: 100%;
}

.card-foto img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.card-name {
    font-family: "Commissioner", sans-serif;
    margin: 5px 12px;
}

.card-price {
    font-size: 1.25rem;
    color: #ff0000;
    font-weight: 700;
    margin: 5px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-button {
    margin-top: auto;
}

.card-button button {
    display: block;
    width: 100%;
}

.custom-checkbox-red {
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding-left: 30px;
    user-select: none;
    font-size: 16px;
}

.card-checkbox-red {
    opacity: 0;
    position: absolute;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark-red {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 5px;
}

.card-checkbox-red:checked ~ .checkmark-red {
    background-color: red;
}

.checkmark-red:after {
    content: "";
    position: absolute;
    display: none;
}

.card-checkbox-red:checked ~ .checkmark-red:after {
    display: block;
}

.checkmark-red:after {
    left: 7px;
    top: 2px;
    width: 7px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.button-w-icon {
    display: flex;
    align-items: center;
    background-color: #ff0000;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.5s ease;
}

.button-w-icon:hover {
    background-color: #a10000;
}

.button-w-icon i {
    margin-left: 8px;
    font-size: 20px;
    color: silver;
}

.products-card-inner:hover {
    color: #000000;
}

.products-card:hover {
    transform: translateY(-1px);
}

.cards-wishlist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 330px));
    width: 100%;
    justify-items: center;
    column-gap: 30px;
    row-gap: 40px;
    margin: 0 auto;
}

.cards-wishlist .card {
    width: 100%;
}

@media (max-width: 991px) {
    .cards-wishlist {
        column-gap: 20px;
        row-gap: 30px;
    }
}

@media (max-width: 768px) {
    .cards-wishlist {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 10px;
    }
}


@media (max-width: 576px) {
    .cards-wishlist {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 10px;

    }
}

@media (max-width: 450px) {
    .cards-wishlist {
        grid-template-columns: repeat(auto-fill, minmax(150px, 260px));
        column-gap: 10px;

    }
}

#mapid .modal-content {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);

}

#mapid .modal-header {
    justify-content: space-between;
    background-color: #E6231E;
    color: white;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    padding: 0.75rem;

}

#mapid .modal-title {
    font-size: 1.25rem;
    font-weight: 600;
}

#mapid .close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
}

#mapid .modal-body {
    padding: 1rem;
}

#mapid .modal-body h3 {
    font-size: 1rem;
    color: #E6231E;
    margin-bottom: 0.5rem;

}

#mapid .modal-body {
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: 600px;
    width: 100%;
}

#mapid .modal-body #map_product_1 {
    border-radius: 8px;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#mapid .btn-primary {
    background-color: #E6231E;
    border-color: #E6231E;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.3s, border-color 0.3s;
}

#mapid .btn-primary:hover {
    background-color: #c51c1a;
    border-color: #c51c1a;
}

@media (max-width: 576px) {
    #mapid .modal-dialog {
        max-width: 90vw;
        margin: 1rem;
    }

    #mapid .modal-body h3 {
        font-size: 0.875rem;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    #mapid .modal-dialog {
        max-width: 80vw;
    }
}

@media (min-width: 769px) {
    #mapid .modal-dialog {
        max-width: 60vw;
    }
}

.cards-wishlist .loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.cards-wishlist .loading-spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/********************************************************/
.headers-h1 h1 {
    margin: 15px 0 20px;
    font-size: calc((100vw - 480px) / (1280 - 480) * (24 - 16) + 16px)
}

.catalog-headers::after {
    content: "";
    display: block;
    width: calc((100vw - 480px) / (1280 - 480) * (80 - 50) + 50px);
    height: 3px;
    background-color: red;
    position: absolute;
    left: 0;
    bottom: -2px;
    transform: skewX(45deg)
}

.catalog-sec,
.headers-block {
    width: 100%
}

.catalog-sec {
    margin-top: 25px;
}

.container-inner {
    margin: 0 15px
}

.catalog-block {
    width: 100%
}

.catalog-block-inner {
    display: flex
}

.filter-panel {
    position: relative;
    background: url(../images/filter-pattern.png);
    flex-basis: 425px;
    min-width: 425px;
    margin: 15px;
    border-radius: 6px;
    flex-shrink: 0;
    align-self: flex-start;
    box-shadow: rgba(0, 0, 0, .16) 0 3px 6px, rgba(0, 0, 0, .23) 0 3px 6px
}

.filter-panel:hover {
    box-shadow: rgba(0, 0, 0, .16) 0 3px 6px, rgba(0, 0, 0, .23) 0 3px 6px !important
}

.content-panel {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px
}

.dop-filters-card {
    margin: 15px 35px;
    max-width: 375px;
    display: flex;
    width: 100%
}

.content-card .cards {
    display: grid;
    gap: 30px;
    justify-items: center;
    margin: 0 25px
}

.lef-filters {
    padding: 15px
}

.filter-open-icon {
    position: absolute;
    top: 15px;
    right: 0;
    transition: transform .5s ease;
    z-index: 5;
    opacity: 0
}

@media (max-width: 992px) {
    .catalog-block-inner {
        flex-direction: column
    }

    .filter-panel {
        width: 100%;
        flex-basis: auto;
        padding: 0;
        min-width: 100%;
        margin: 0
    }

    .filter-open-icon {
        opacity: 1
    }

    .collapsefilters {
        -ms-grid-rows: 0fr;
        grid-template-rows: 0fr
    }
}

@media (max-width: 576px) {
    .content-card .cards {
        gap: 5px;
        margin: 0
    }

    .dop-filters-card {
        max-width: 320px;
        margin: 15px 25px
    }

    .container-inner.cards-block {
        margin: 0
    }
}

@media (max-width: 350px) {
    .dop-filters-card {
        margin-left: 0
    }
}

.filter-open-icon.vtops button {
    transform: rotate(180deg)
}

main {
    overflow: hidden
}

.product-card,
.product-card-inner {
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    cursor: grab;
}

.product-card {
    position: relative;
    border-radius: 6px;
    background: white;
    max-width: 300px;
    width: 100%;
}

.product-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    /*background: linear-gradient(90deg, red 0, #000 50%, #fc0000 100%);*/
    transition: width .4s ease, left .4s ease
}
.product-content {
    height: 81px; /* Устанавливаем фиксированную высоту, чтобы поместились 3 строки */
    overflow: unset!important  ; /* Обрезаем содержимое, которое не помещается */
}

.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Ограничиваем количество строк до 3 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Добавляем многоточие, если текст не помещается */
}

.product-card:hover::after {
    width: 98%;
    left: 1%
}

.product-card:hover {
    box-shadow: rgba(0, 0, 0, .16) 0 3px 6px, rgba(0, 0, 0, .1) 0 3px 6px !important
}

.product-card-inner {
    width: 100%
}

.product-card-inner .card-title {
    font-family: "Commissioner", sans-serif;
    font-weight: 600;
    font-size: calc((100vw - 480px) /(1280 - 480)*(4.44) + 12px);
    text-align: start;
    color: #000000;
}

.product-card-inner .card-description,
.product-card-inner .product-price {
    font-family: "Roboto Condensed", serif
}

.product-card-inner .product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: calc((100vw - 480px) / (1280 - 480) * (15 - 12) + 12px);
    /*font-size: 18px;*/
    line-height: 25px;
    color: #000000;
}

.product-card-inner .card-price-just {
    color: red;
    font-weight: 700;
    font-size: calc((100vw - 480px) /(1280 - 480)*(4.44) + 12px);
    /*font-size: 20px;*/
    line-height: 27px;
    text-align: start;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 168px;
    height: 100%;
    padding: 16px;
}

.product-card-inner .card-price-discount {
    display: flex;
    align-items: center;
    text-decoration: line-through;
    color: #00000099;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    height: 100%;
}

.product-buttons {
    display: flex;
    justify-content: flex-end;
    filter: drop-shadow(0 0 0px #585858)
}

.product-buttons button {
    border: 0;
    background-color: transparent;
    color: red;
    cursor: pointer
}

.product-buttons button i {
    pointer-events: auto;
    font-size: 25px
}

.product-price {
    justify-content: start !important;
}

.admins-button {
    display: flex;
    justify-content: space-around
}

.product-card-inner .product-foto {
    overflow: hidden;
    height: 420px;
    width: 100%;
    border-radius: 6px 6px 0 0;
}

.product-card-inner .product-foto img {
    height: 100%;
    width: 100%;
    transition: transform .3s ease;
    object-fit: cover;
    border-radius: 6px
}

.product-foto img:hover {
    transform: scale(1.1) translateY(-10px)
}

.category-menu ul ul li,
.top-hiddens {
    position: relative
}

.product-buttons {
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 25
}

.cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(250px, 300px));
    width: 100%;
    justify-content: center;
    justify-items: center;
    column-gap: 30px;
    row-gap: 40px;
    margin: 0 auto
}

@media (max-width: 1670px) {
    .cards {
        grid-template-columns: repeat(4, minmax(250px, 300px))
    }
}

@media (max-width: 1370px) {
    .cards {
        grid-template-columns: repeat(3, minmax(250px, 300px))
    }
}

@media (max-width: 868px) {
    .cards {
        grid-template-columns: repeat(2, minmax(250px, 300px))
    }
}

@media (max-width: 576px) {
    .cards {
        grid-template-columns: repeat(2, minmax(200px, 250px))
    }

    .product-card-inner .product-foto {
        min-height: 250px;
    }
}

@media (max-width: 450px) {
    .cards {
        grid-template-columns: repeat(2, minmax(150px, 200px));
        column-gap: 15px
    }

    .product-card-inner .product-foto {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .card__price--discount {
        font-size: 16px
    }
}

.card__price--common::before,
.card__price--discount::before {
    font-weight: 400;
    font-size: 13px;
    color: #bfbfbf
}

.card__price--common {
    font-weight: 400;
    font-size: 17px;
    color: #606060;
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: flex-end
}

.card__add,
.card__basket,
.card__title {
    display: block;
    font-weight: 400;
    font-size: 17px
}

.card__title {
    margin-bottom: 10px;
    line-height: 150%;
    color: #414141
}

.card__title:hover {
    color: #f63
}

.card__add,
.card__basket {
    width: 100%;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: .2s;
    margin-top: auto
}

.card__add {
    color: #cf082c;
    border: 1px solid #cf082c
}

.card__basket {
    color: rgba(51, 160, 255, .63);
    border: 1px solid #33a0ff
}

.card__add:hover {
    border: 1px solid #f63;
    background-color: #f63;
    color: #fff
}

.card__basket:hover {
    border: 1px solid rgba(51, 160, 255, .63);
    background-color: rgba(51, 160, 255, .63);
    color: #fff
}

.card-header {
    padding: 5px;
    background-color: #f8f9fa
}

.card-body {
    padding: 5px
}

.card-header h2 button {
    font-size: 14px;
    color: #007bff;
    padding: 0
}

.btn-link {
    text-decoration: none;
    padding: 0;
    margin: 0
}

.list-group-item {
    font-size: 12px;
    padding: 5px
}

.card-header h2 button:hover {
    color: #0056b3
}

.card {
    margin-bottom: 5px
}

.category-menu {
    font-family: Arial, sans-serif
}

.category-menu ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.category-menu > ul {
    display: flex;
    flex-wrap: wrap
}

.category-menu > ul > li {
    position: relative;
    margin: 0 15px
}

.category-menu ul ul li > a,
.category-menu > ul > li > a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    transition: background .3s ease
}

.category-menu > ul > li > a {
    background: #333;
    color: #fff;
    border-radius: 5px;
    font-weight: 700
}

.category-menu > ul > li > a:hover {
    background: #555
}

.category-menu ul ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    z-index: 1000;
    min-width: 200px
}

.category-menu ul ul ul {
    left: 100%;
    top: 0;
    margin-left: 1px
}

.category-menu ul ul li {
    position: relative;
}

.category-menu ul ul li > a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    background: #fff;
    border-bottom: 1px solid #ddd;
    transition: background 0.3s ease;
}

.category-menu ul ul li > a:hover {
    background: #eee;
}

.submenu {
    opacity: 0;
    transition: opacity .3s ease-in-out
}

.category-menu ul li:hover > ul,
.category-menu ul ul li:hover > ul {
    display: block;
    opacity: 1
}

@media (max-width: 768px) {
    .category-menu {
        font-size: 14px
    }

    .category-menu > ul {
        flex-direction: column
    }

    .category-menu > ul > li {
        margin: 5px 0
    }

    .category-menu ul ul {
        position: static;
        box-shadow: none
    }

    .category-menu ul ul ul {
        position: static;
    }
}

.cards.fixcatalog {
    display: grid;
    grid-template-columns: repeat(4, minmax(250px, 300px));
    width: 100%;
    justify-content: center;
    justify-items: center;
    column-gap: 30px;
    row-gap: 40px;
    margin: 0 auto
}

@media (max-width: 1670px) {
    .cards.fixcatalog {
        grid-template-columns: repeat(3, minmax(250px, 300px))
    }
}

@media (max-width: 1520px) {
    .cards.fixcatalog {
        grid-template-columns: repeat(3, minmax(200px, 250px))
    }
}

@media (max-width: 1370px) {
    .cards.fixcatalog {
        grid-template-columns: repeat(2, minmax(250px, 300px));
        gap: 20px
    }
}

@media (max-width: 1170px) {
    .cards.fixcatalog {
        grid-template-columns: repeat(2, minmax(200px, 250px));
        gap: 10px
    }
}

@media (max-width: 970px) {
    .cards.fixcatalog {
        grid-template-columns: repeat(3, minmax(200px, 250px));
        gap: 10px
    }
}

@media (max-width: 868px) {
    .cards.fixcatalog {
        grid-template-columns: repeat(2, minmax(250px, 300px))
    }
}

@media (max-width: 576px) {
    .cards.fixcatalog {
        grid-template-columns: repeat(2, minmax(200px, 250px))
    }

    .product-card-inner .product-foto {
        min-height: 250px;
        height: 250px;
    }
}

@media (max-width: 450px) {
    .cards.fixcatalog {
        grid-template-columns: repeat(2, minmax(150px, 200px));
        column-gap: 15px
    }

    .cards.fixcatalog .product-card-inner .product-foto {
        min-height: 250px;
    }
}

.fixsearch {
    margin: 15px 0;
}

.fixsearch .filter-open-icon {
    top: -12px;
}

.fixsearch .filter-open-icon.vtops {
    transform: translateY(20px);

}

.products-card-courusel .swiper-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden
}

.products-card-courusel .swiper-slide {
    text-align: center;
    font-size: 18px;
    margin: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center
}

.products-card-courusel {
    position: relative
}

.products-card-courusel .cards {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch
}

.menus-butt {
    padding: 6px;
    cursor: pointer;
}

.menus-butt span {
    padding-left: 5px;
}

.navi-link,
.site-header a,
.slideable-menu .menu li a,
a:hover {
    text-decoration: none
}

.navi-link,
.slideable-menu ul li a {
    color: #505050
}

.slideable-menu {
    position: relative;
    border-top: 1px solid #e5e5e5;
    background-color: #fff;
    overflow: hidden;
    padding: 10px 15px
}

.slideable-menu .category_search i {
    padding-right: 0
}

.slideable-menu a i {
    padding-right: 5px
}

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

.slideable-menu ul li {
    list-style: none
}

.slideable-menu ul li a {
    line-height: 28px
}

.d-inline-block img,
.site-header .search-box-wrap .search-box,
.site-header .search-box-wrap .search-box-inner,
.slideable-menu ul li.t-h-dropdown {
    width: 100%
}

.slideable-menu ul li.t-h-dropdown .t-h-dropdown-menu {
    position: relative;
    display: none;
    left: 0;
    right: auto !important;
    width: 100% !important
}

.category-svg svg {
    height: 50px;
    width: 50px
}


.slideable-menu ul li .t-h-dropdown-menu.open {
    display: block
}

.slideable-menu .menu {
    display: block;
    position: relative;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    transition: .4s cubic-bezier(.86, 0, .07, 1)
}

.slideable-menu .menu li a {
    display: block;
    padding: 13px 20px;
    transition: color .3s;
    border-bottom: 1px solid #e5e5e5;
    border-left: 2px solid transparent;
    color: #505050;
    font-size: 16px;
    letter-spacing: .025em
}


.slideable-menu .menu li.has-children > span {
    display: block;
    position: relative;
    width: 100%
}


.navi-link {
    transition: color .3s
}

.close {
    transition: opacity .25s;
    border: 0;
    background: 0;
    color: #505050;
    font-family: sans-serif;
    font-size: 20px;
    cursor: pointer
}

.close:hover {
    opacity: .6
}

.mobile-cat .has-children .category_search {
    padding-left: 15px
}

.text-gray-dark {
    color: #232323 !important
}

.menu-top-area .t-h-dropdown .main-link:hover {
    color: #fff !important
}


@media (max-width: 767px) {
    .menu-top-area .right-area {
        text-align: center !important
    }
}

.navbar .toolbar,
.site-header .site-menu > ul > li > a::after,
.site-header .toolbar .toolbar-item.mob-vis {
    display: none
}

.btn[disabled] {
    cursor: not-allowed;
    opacity: .55;
    pointer-events: none
}

.nav-tabs .nav-item.dropdown .dropdown-menu {
    margin-top: -3px
}

.nav-tabs {
    border-bottom: 0 !important;
    text-align: center;
    display: block
}

.nav-tabs .nav-item.dropdown {
    margin-bottom: -3px
}

.tab-content {
    padding: 0px;
    overflow: hidden;
    border-radius: 6px;
    background: #fff
}

.top-panel-mobile {
    height: 30px;
    width: 100%;
}

.shopping-cart .btn {
    margin: 0
}

.site-header .site-branding .site-logo > img {
    display: block;
    width: 100%
}

.widget ul {
    margin-bottom: 12px
}

.menu-top-area .right-area {
    text-align: right
}

.widget-categories ul > li.has-children.expanded .children-wrap p i,
.widget-links ul > li.has-children.expanded .children-wrap p i {
    transition: .3s;
}

.widget-categories ul > li.has-children.expanded .children-wrap p i,
.widget-links ul > li.has-children.expanded .children-wrap p i {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg)
}

.widget-categories ul > li.has-children.expanded > ul,
.widget-links ul > li.has-children.expanded > ul {
    max-height: 800px
}

.dropdown-menu {
    border-color: #e5e5e5;
    border-radius: 5px;
    font-size: 14px;
    box-shadow: 0 7px 22px -5px rgba(0, 0, 0, .2)
}


.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:hover {
    background: 0
}

.toolbar-dropdown {
    right: -1px;
    left: auto;
    z-index: 10
}

.toolbar-dropdown.cart-dropdown {
    right: 0;
    width: 280px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
    border: 0;
    max-height: 350px;
    overflow-y: auto
}


@media (max-width: 991px) {

    .hidden-md-down,
    .hidden-on-mobile,
    .navbar {
        display: none !important
    }

    .site-header .topbar {
        border-bottom: 0 !important
    }

    .site-header .site-branding {
        border: 0
    }

    .site-header .toolbar .toolbar-item.mob-vis {
        display: block;
    }
}

.widget {
    margin-bottom: 54px
}

.site-header .site-menu ul,
.widget-categories ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.widget-categories ul > li {
    position: relative;
    margin-bottom: 5px;
    padding-left: 16px
}

.widget-categories ul > li::before {
    display: block;
    font-family: FontAwesome;
    position: absolute;
    top: 10px;
    left: 5px;
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    transition: transform .35s;
    color: #999;
    font-size: 1.15em;
    content: "\2022"
}

.children-wrap {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    min-height: 52px;
}

.children-wrap p {
    width: 30px;
    height: 24px;
}

.widget-categories ul > li > a {
    display: inline-block;
    transition: color .3s;
    color: #505050;
    font-size: 14px;
    text-decoration: none
}

.widget-categories ul > li > span {
    margin-left: 4px;
    color: #999
}

.widget-categories ul > li.has-children ul {
    border-left: 1px solid #e2e2e2
}

.widget-categories ul > li.has-children ul li::before {
    top: 26px;
    width: 8px;
    height: 1px;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    border: 0;
    background-color: #e2e2e2;
    color: transparent
}

.widget-categories ul > li.has-children > ul {
    max-height: 0;
    transition: max-height .6s;
    overflow: hidden
}

.left-category-area .category-list .c-item,
.left-category-area .category-list .sub-c-box .child-c-box {
    border-bottom: 1px solid #e5e5e5
}

.site-header {
    font-family: "Commissioner", sans-serif;
    position: relative;
    z-index: 1000
}

.site-header .topbar {
    background-color: #fff
}

.site-header .navbar {
    padding-bottom: 25px;
    position: relative;
    width: 100%;
    background: #fff
}

.site-header .navbar .nav-inner {
    display: flex;
    padding-left: 4px;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
}


.left-category-area .category-list .c-item:last-child,
.left-category-area .category-list .navi-link:last-child,
.left-category-area .category-list .sub-c-box .child-c-box:last-child,
.left-category-area .category-list .sub-c-box .child-category a:last-child {
    border-bottom: 0
}

.site-header .toolbar {
    -ms-flex-preferred-size: auto;
    flex-basis: auto;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0
}

.site-header .toolbar .toolbar-item {
    position: relative;
    width: 90px;
    transition: background-color .3s;
    margin-left: 10px
}

.site-header .toolbar .toolbar-item > a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 5px;
    color: #505050;
    text-align: center;
    text-decoration: none;
    background: border-box
}

.site-header .toolbar .toolbar-item > a > div {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center
}

.site-header .toolbar .toolbar-item > a > div i {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 20px
}

.site-header .toolbar .toolbar-item > a > div > .text-label {
    display: block;
    font-size: 12px;
    font-weight: 400
}

.site-header .toolbar .toolbar-item > a > div > .cart-icon,
.site-header .toolbar .toolbar-item > a > div > .compare-icon {
    display: inline-block;
    position: relative
}

.site-header .toolbar .toolbar-item > a > div > .cart-icon > .count-label,
.site-header .toolbar .toolbar-item > a > div > .compare-icon > .count-label {
    display: block;
    position: absolute;
    top: -6px;
    right: -13px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #ff0000;
    color: #fff;
    font-size: 11px;
    line-height: 18px
}

.site-header .toolbar .toolbar-item > a > div > .compare-icon > .count-label {
    right: -17px;
    border: 1px solid #e5e5e5;
    background-color: #f5f5f5;
    color: #505050
}

.site-header .site-menu {
    display: block;
    position: relative;
    width: 100%;
    z-index: 1
}

.site-header .site-menu ul > li > a {
    transition: .3s;
    color: #505050;
    text-decoration: none
}

.site-header .site-menu > ul > li {
    display: table-cell;
    position: relative;
    vertical-align: middle
}

.site-header .site-menu > ul > li > a {
    display: block;
    position: relative;
    padding: 13px 30px;
    border-right: 1px solid transparent;
    border-left: 1px solid transparent;
    font-size: 15px;
    z-index: 5;
    font-weight: 500
}

.site-header .site-menu > ul > li > a:first-child {
    padding-left: 0
}

/*
.mm-heading-area {
    display: flex;
    justify-content: flex-end;
    padding: 10px 15px;
    background: #000000;
    color: #fff
}
*/

@media (max-width: 360px) {
    .site-header .toolbar .toolbar-item {
        width: 75px
    }
}

@media (max-width: 991px) {
    .t-h-dropdown .t-h-dropdown-menu {
        left: auto !important;
        right: 0
    }

    .left-category-area {
        margin-bottom: 30px
    }

    .site-header .toolbar .toolbar-item.mob-vis .text-label,
    .site-header .toolbar .toolbar-item > a > div > .text-label {
        display: none
    }

    .site-header .toolbar .toolbar-item {
        position: relative;
        width: 45px;
        transition: background-color .3s;
        margin-left: 10px
    }
}

.left-category-area .category-list .sub-c-box .child-category a i {
    margin-right: 5px
}

.t-h-dropdown .t-h-dropdown-menu {
    top: 100%;
    text-align: left;
    z-index: 999;
    padding: 10px 15px;
    visibility: hidden;
    opacity: 0
}

.t-h-dropdown .main-link {
    cursor: pointer;
    transition: .3s linear
}

.t-h-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 30px
}

.t-h-dropdown .main-link i {
    margin-top: 2px;
    position: relative;
    top: 2px;
    left: 4px
}

.t-h-dropdown .t-h-dropdown-menu {
    position: absolute;
    left: 0;
    background: #fff;
    display: block;
    width: 140px;
    border-top: 2px solid red;
    box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, .2);
    -webkit-transition: .3s linear;
    -moz-transition: .3s linear;
    transition: .3s linear
}

.login-register .t-h-dropdown-menu {
    min-width: 180px;
    left: auto;
    right: 0
}

.navbar .t-h-dropdown .t-h-dropdown-menu {
    width: fit-content;
    white-space: nowrap
}

.t-h-dropdown .t-h-dropdown-menu a {
    display: block;
    line-height: 26px
}

.menu-top-area .login-register a,
.t-h-dropdown a {
    color: #505050;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none
}

.left-category-area {
    background: #fff;
    border-radius: 5px;
    position: relative;
    cursor: pointer
}

.left-category-area .category-header div {
    background: #e6231e;
    color: #fff;
    font-size: 18px;
    padding: 15px;
    margin-bottom: 0
}

.left-category-area .category-header div i {
    padding-right: 25px;
}

.t-h-dropdown:hover .t-h-dropdown-menu {
    opacity: 1;
    visibility: visible
}

/*
.opencatalog {
    padding: 7px 9px;
}
*/

.left-category-area .category-list {
    margin-top: -9px;
    padding: 9px 0;
    position: absolute;
    box-shadow: 0 0 2px #000000;
    left: 0;
    top: 100%;
    width: 100%;
    border-radius: 5px;
    background: #fff;
    opacity: 0;
    transform: rotateX(90deg) rotateY(0deg);
    transform-style: preserve-3d;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.left-category-area .category-list.active {
    opacity: 1;
    transform: rotateX(0deg) rotateY(0deg);

}


.left-category-area .category-list .navi-link {
    display: flex;
    justify-content: start;
    padding: 8px 15px
}


.left-category-area .category-list .sub-c-box,
.left-category-area .category-list .sub-c-box .child-c-box .child-category {
    left: 100%;
    width: 250px;
    background: right bottom no-repeat #fff;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 3px rgba(0, 0, 0, .06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 3px rgba(0, 0, 0, .06);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease-in-out;
    transition: opacity 0.3s ease, -webkit-transform 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease, transform 0.3s ease-in-out;
    transition: opacity 0.3s ease, transform 0.3s ease-in-out;
    transition: opacity 0.3s ease, transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
    -webkit-transform: translateX(-40px);
    -ms-transform: translateX(-40px);
    transform: translateX(-40px);
    border-radius: 5px;
    top: 0;
}

.left-category-area .category-list .c-item:hover .sub-c-box,
.left-category-area .category-list .sub-c-box .child-c-box:hover .child-category,
.mobile-cat .has-children .category_search,
.slideable-menu .menu li {
    display: block;
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

.left-category-area .category-list .navi-link img {
    height: 40px;
    width: 40px;
    object-fit: cover;
    display: inline-block
}

.left-category-area .category-list .navi-link:hover img {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1)
}

.left-category-area .category-list .navi-link span {
    display: inline-block;
    padding-left: 8px;
    -webkit-transition: .3s linear;
    -moz-transition: .3s linear;
    transition: .3s linear
}

.left-category-area .category-list .navi-link i {
    float: right;
    position: relative;
    right: -7px;
    top: 11px
}

.left-category-area .category-list .sub-c-box {
    position: absolute;
    min-height: 100%
}

.left-category-area .category-list .sub-c-box .child-c-box .child-category {
    position: absolute;
    height: 100%
}

.left-category-area .category-list .sub-c-box .child-category a,
.left-category-area .category-list .sub-c-box .title {
    color: #555;
    line-height: 40px;
    display: block;
    padding: 0 15px;
    -webkit-transition: .3s linear;
    -moz-transition: .3s linear;
    transition: .3s linear
}

.left-category-area .category-list .sub-c-box .title i {
    float: right;
    position: relative;
    top: 12px
}

.left-category-area .category-list .sub-c-box .child-category a:hover,
.left-category-area .category-list .sub-c-box .title:hover {
    color: red
}

.left-category-area .category-list .sub-c-box .child-category a {
    border-bottom: 1px solid #e5e5e5
}

.nav-tabs .nav-item {
    display: inline-block;
    margin-bottom: 0 !important
}

.widget.widget-categories {
    border: 0;
    margin-bottom: 15px
}


.compare-mobile {
    margin-right: 20px
}

.mobile-cat .has-children .category_search span {
    float: right;
    background: #070707;
    width: 25px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    transition: .3s
}

.mobile-cat .has-children .category_search span:hover {
    background: #222;
    color: #fff
}


.t-h-dropdown .t-h-dropdown-menu a i {
    padding-right: 5px
}

.customer-request {
    text-align: center;
    width: 100%;
    margin-top: 30px;
}

.request-tag {
    position: absolute;
    padding: 0.375rem 0.75rem;
    color: #fff;
    top: 8px;
    right: 8px;
    border-radius: 0.375rem;
    z-index: 1;
}

.request-tag.btn-info {
    background: #0dcaf0;
}
.request-tag.btn-warning {
    background: #ffc107;
}
.request-tag.btn-blog {
    background: #F00DAC;
}
.request-tag.btn-success {
    background: #198754;
}
.request-tag.btn-danger {
    background: #E6231E;
}
.request-tag.btn-secondary {
    background-color: #6c757d;
}

.about-img {
    max-width: 200px;
}

.nice-select span.current {
    font-size: 17px;
    font-weight: 400;
    line-height: 23px;
}

/*
 * CSS Overrides for new mobile menu (in .mobile-cat) to fix conflicts.
 * These rules are more specific and will cancel out conflicting styles
 * from the old .widget-categories implementation without breaking it elsewhere.
*/

/* 1. Neutralize the max-height/overflow animation from the old accordion */
.mobile-cat ul > li.has-children > ul {
    max-height: initial; /* Reset max-height to allow slideDown() to work */
    overflow: initial;   /* Reset overflow */
}

/* 2. Neutralize the opacity rule from old .submenu styles */
.mobile-cat .submenu {
    opacity: 1; /* Make the submenu visible, as JS handles show/hide */
}

/* 3. Remove old border style from the mobile menu */
.mobile-cat ul > li.has-children ul {
    border-left: none;
}

/* Styles for product category on main page */
.product-category {
	font-size: 13px;
	color: #666;
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.2;
	min-height: 2.4em;
    margin-top: 14px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    min-height: 58px;
}

.product-card .product-content {
    min-width: 0; /* Fix for text wrapping inside flex container */
}

.product-foto img {
    width: 100%;
    transition: transform .3s ease
}

.carousel {
    height: auto;
}

.carousel-inner {
    height: auto;
}

.carousel-item img {
    height: auto;
    object-fit: unset;
}

@media (max-width: 991.98px) {
    .carousel {
        height: auto;
    }

    .carousel-inner {
        height: auto;
    }

    .carousel-item img {
        height: auto;
        object-fit: contain;
    }
}

/* Стили для уведомлений в header */
.notification-count-header {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e6231e;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 10;
}

.user-icon-container {
    position: relative;
    cursor: pointer;
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
    .notification-count-header {
        width: 16px !important;
        height: 16px !important;
        font-size: 10px !important;
        top: -3px !important;
        right: -3px !important;
    }
}

@media (max-width: 480px) {
    .notification-count-header {
        width: 14px !important;
        height: 14px !important;
        font-size: 9px !important;
        top: -2px !important;
        right: -2px !important;
    }
}

#addModal .select-wrapper {
    position: relative;
}
#addModal .select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff;
    background-image: none;
    padding-right: 38px !important;
}
#addModal .select-wrapper select::-ms-expand {
    display: none;
}
#addModal .select-wrapper::after {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 50%;
    right: 16px;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml;utf8,<svg fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24' width='16' height='16' xmlns='http://www.w3.org/2000/svg'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-size: 16px 16px;
    z-index: 2;
    display: block;
}

/* Убираем стрелки у input[type=number] */
#addModal input[type='number']::-webkit-outer-spin-button,
#addModal input[type='number']::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#addModal input[type='number'] {
    -moz-appearance: textfield;
}

/* Стили для фоновых изображений товаров */
.foto-img {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
/*
.foto-img::before {
    content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: var(--bg-image);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	filter: blur(10px);
	opacity: 0.2;
	z-index: 0;
}
*/