@charset "UTF-8"; 
.shop-all-clean .body#goods_cont{
    display: none !important;
}

.shop-all-filtered .body#goods_cont {
    display: block !important;
}

body {
   background-image: url(/img/grey.webp)
}

.header {
    /* background:url(/img/background.webp) center no-repeat; */
    /* background-size: contain; */
    margin-bottom: 20px;
}

.overlay {
    /* background-color:rgb(255 255 255 / 70%); */
}

.header-main-img {
    /* max-width: 60px; */
}

.header-img-logo, .header-main-img {
    /* width: 100%; */
    /* max-width: 80px; */
    filter: drop-shadow(5px 5px 2px rgb(128 128 128 / 43%));
}

.page-breadcrumbs {
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: rgb(185 185 185 / 50%);
    padding: 0 8px;
    margin: 8px 0;
    /* display: none; */
}

.page-breadcrumbs span {
    color: black;
    line-height: normal;
    padding: 4px 0;
}

#slider .col-xl-6 {
    /* float:right; */
}

#slider .slider-slide-body-inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
}

#slider .slider-slide {
    display: flex!important;
    flex-direction: row;
    justify-content: center;
    border: 2px outset #00BCD4;
}

#slider .slider-slide-body {
    bottom: 0!important;
}

#slider .slider-slide-body-inner .header h2 {
    font-size: 1.2rem;
}

#slider .slider-slide-body-inner .header {
    margin: 0;
    padding: 4px;
    background-color: #ffffffb5;
}

#slider .button.button-reverse {
    margin: 20px 0
}

#page {
    margin-top: 0
}

#main .shop-page-header {
    margin: 0 0 15px !important;
    text-transform: uppercase;
    font: 600 2.2rem/2.2rem 'Roboto'!important;
    width: 100%;
    letter-spacing: 1px;
    /* background-color: rgb(185 185 185 / 50%); */
    color: #2eb1a8;
    padding: 8px;
    filter: drop-shadow(2px 1px 0px black);
}

#main h2.shop-page-header {
    margin: 0;
    padding: 0;
}

#main .shop-page-header hr {
    margin: 5px 0
}
.background {
    background-color: #fafafa;
}
.land-block-all-products .all-products-link>.button {
    font-size:16px
}
.partners {
    display: flex;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 15px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

/* Основной контейнер */
.partners-krovlya {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 10px;
    justify-content: center;
    align-items: center;
}

/* Стиль для ПЕРВОГО блока (логотип сверху) */
.partners-krovlya .krovlya {
    flex: 1;
    text-align: center;
    display: flex;
    max-width: 30%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.partners-krovlya .krovlya img {
    max-height: 70px;
}

.partners-krovlya .item {
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
}

.partners-krovlya .item img {
    max-width: 70px;
    height: auto;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
}

.shop-item-category {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer h2 {
    color: red;
    padding: 8px;
    font-size: 22px;
    text-align: center;
    /* text-shadow: 0px 1px 3px black; */
}

.footer .shop-img img {
    width: 100%
}

.footer p {
    margin: 0;
    padding: 0;
}

.footer input {
    width: 100%;
    margin: 5px 0;
    padding }

.footer input: :-webkit-input-placeholder {
    /* Chrome, Safari */ color: grey;
}

.footer input::-moz-placeholder {
    /* Firefox */
    color: grey;
    opacity: 1;
    /* Firefox по умолчанию снижает opacity */
}

.footer input:-ms-input-placeholder {
    /* IE 10-11 */
    color: grey;
}

.footer input::-ms-input-placeholder {
    /* Edge */
    color: grey;
}

.footer input::placeholder {
    /* Современные браузеры */
    color: grey;
}

.partners .item {
    display: inline-block;
    margin: 0 5px;
    width: 9%;
}

.partners .item img {
    width: 100%;
    border: 4px solid #eee;
    height: auto;
}

.catalog-with-image {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.catalog-with-image tr {
    width: 33.333334%
}

.catalog-item img {
    max-width: 100px
}

.catalog-item {
    display: flex;
    flex-direction: row;
    float: left;
    width: 50%;
    height: 100px;
    align-items: center;
}

.shop-name .navigation-link-search:after {
    content: '';
}

.any-page {
    padding: 0;
    width: 100%!important;
}

.cat-card-icon {
    display: none
}

.header-category {
    height: 60px;
    display: flex!important;
    border-top: 1px outset #00BCD4;
    border-bottom: 1px solid #00BCD4;
    border-radius: 0!important;
    margin: 0;
    align-items: center;
    justify-content: flex-end;
    background-image: url(/img/grey.webp);
}

.text-search {
    width: 100%;
    text-align: center;
    font: bold 1.4rem/normal 'Roboto', serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

a.js-main-search {
    display: block;
    width: 100%;
    border: none;
    filter: drop-shadow(2px 1px 0px black);
}

.navigation-link {
    display: flex;
    height: 100%;
    width: 50px;
    text-align: right;
    align-items: center;
}

.search-box-opened .main-search {
    visibility: visible;
    /* top: 0!important; */
    left: 0;
}

.fa-search {
    font-size: 30px!important;
    color: blue;
}

.beefore-search a {
    /* background-color:grey; */
    color: #2196f3;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0;
}

.open-panel-btn:hover .icon {
    background: none!important;
    transition: background-color 0.3s;
}

.land-block-news-data del {
    color: #898787ee;
    font-size: 12px
}

.land-block-news-data .item-name {
    height: 50px;
    display: flex;
    align-items: center;
    line-height: normal;
    font: bold 16px/16px 'Roboto';
    color: black
}

.land-block-news-data .current-price {
    color: #14b200
}

.land-category-entry-data>div i:before,.land-category-entry-data>div>span:before {
    display: none
}

#page .grid-list .list-item .shop-item-category {
    padding: 0;
    margin: 0
}
.shop-page-descr {
    line-height:normal;
    color:#333;
    font-size:16px;
}
.shop-item {
    margin: 0;
    padding: 5px 20px;
}

.shop-item-grid-title {
    display: none
}

.shop-item-text {
}

.shop-item a {
    color: black;
    font-size: 16px;
    line-height: normal;
    font-weight: bold!important;
    padding: 0;
    margin: 0;
    border: none;
}

.shop-item-category a {
    font-weight: 600!important;
}

.slick-slide {
    box-sizing: border-box;
    overflow: hidden;
}

.slick-slide .shop-item {
    /*background:beige;*/
    height: auto;
    width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 0 20px 0;
}

.slick-slide .shop-item-meta {
    background: red;
}

.slick-slide .shop-item-category {
    display: flex;
    margin-bottom: 0;
    justify-content: center;
    align-items: center;
}

.slick-slide .shop-item-title {
    width: 80%;
    margin: 0 auto;
    height: 120px;
    max-height: 100%;
    padding: 8px;
    /* background:grey; */
    display: flex;
    align-items: center;
}

.slick-slide span {
    margin: 10px 0;
}

.slick-slide .item-price {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    align-items: flex-start;
}

.slick-slide .shop-item-meta-price {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}

.slick-slide .old-price {
    color: #9E9E9E;
    font-size: 12px
}

.slick-slide .old-price, .slick-slide .new-price {
    height: 10px;
    margin: 5px 0;
    padding: 0;
}

.slick-slide .new-price {
    color: #4CAF50;
    font-weight: 900;
}

.slick-slide .akciya {
    color: red;
    font-weight: 900
}

.shop-page-meta {
}

.shop-page-meta-b {
    background-color: rgb(255 255 255);
    background: linear-gradient(-180deg, #ffffff 0%, white 20%, #37d7cc 65%);
}

.tenor {
    background: url(/img/tenor2.gif);
    background-size: contain;
    border-top: 20px solid #9ad2ff;
}

.all-shop-page-meta {
    padding: 8px;
}

.shop-page-meta-top {
    width: 100%;
    margin: 0;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #dae7f4;
    flex-direction: column;
}

.images-categories {
    display: flex;
    flex-direction: column;
}

.images-categories img {
}

/* По умолчанию блок скрыт */
.select-name {
    display: none !important;
}

/* Блок показывается только при наличии класса vision */
.select-name.vision {
    display: block !important;
    background-color: rgb(6 154 202);
    color: #ffffff;
}

.shop-page-meta-left, .shop-page-meta-center, .shop-page-meta-right {
    /* background-color: rgb(255 255 255 / 83%); */
    /* padding: 20px; */
}

.shop-page-meta-left hr {
    margin: 10px 0!important
}

.shop-page-meta-left {
    flex: 1 auto;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 0;
    flex-direction: column;
    justify-content: flex-start;
}

.shop-page-meta-left {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    height: 100%;
    padding: 0 8px!important;
    display: none;
}

.shop-page-meta-left.active {
    opacity: 1;
    visibility: visible;
}

.shop-page-meta-left.active {
    display: flex;
    /* margin: 0 15px 0 0; */
    max-width: 280px;
    border: 4px solid #9cf7f1;
    box-shadow: 0 0 10px grey;
    transition: 3.3s;
}

#item-subMenulevelCenter .center-sub-item.active, #item-subMenulevelCenter .center-sub-item.new {
    background-color: #9cf7f1 !important;
    background: linear-gradient(-180deg, #ffffff 0%, white 30%, #85f1ea 70%);
    /* золотой фон для примера */
    color: #000 !important;
    font-weight: normal!important;
    border-bottom: 4px outset #ff0404;
}

/* 1. Находим родительский контейнер всех фильтров */
/* В uCoz/uShop это обычно блок с классом .flist или ваш кастомный контейнер */
.shop-page-meta-left-filters {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    /* Выстраиваем фильтры вертикально в колонку */
    background: white;
}

/* 2. Принудительно отправляем блок цены в самый низ */
#flist-item-price {
    order: 999 !important;
    /* Чем выше число, тем ниже элемент */
}

/* 3. Чтобы остальные элементы не перемешались, им можно явно задать порядок выше (по желанию) */
#flist-select-name {
    order: 1;
}

#flist-item-other1 {
    2 }

#flist-item-brand {
    order: 3;
}

#flist-item-other1 {
    order: 4;
}

#flist-item-other8 {
    order: 5;
}

/* ... и так далее */
.shop-page-meta-left-filters {}

.shop-page-meta-left-filters select {
    width: 100%;
}

.shop-page-meta-left-img-cat {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    padding-top: 100%;
    border-radius: 8px;
}

.shop-page-meta-left-img-cat img {
    width: 100%
}

.shop-sort-selector a.active {
    color: #e0ff00!important
}

.shop-page-meta-center {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-right: 4px dashed white;
    align-items: center;
}
/* Главный контейнер */
.all-shop-page-meta {
    display: flex !important;
     /* ВАЖНО: колонки НЕ тянутся по высоте самой высокой */
    width: 100%;
    flex-wrap: nowrap;
    flex-direction: row;
}

/* Средняя колонка */
.shop-page-meta-center {
    flex: 1; /* Занимает свободное место в ширину */
    height: auto !important; /* Высота только по контенту */
    min-height: 50px; /* Минимальный порог, чтобы не исчезала совсем */
    /* padding: 0 10px; */
    display: block !important;
    /* max-width: 300px; */
    box-sizing: border-box;
}

/* Левая и правая колонки (сайдбары) */
.shop-page-meta-right, 
.shop-page-meta-left {
    width: 280px; /* Твоя стандартная ширина */
    flex-shrink: 0;
    height: auto !important;
}

/* Контейнер для ссылок в центре ( item-subMenulevelCenter ) */
#item-subMenulevelCenter {
    display: flex;
    flex-wrap: wrap; /* Чтобы ссылки переносились на новую строку */
    gap: 10px;
    height: auto !important;
    overflow: visible !important;
}
.shop-page-meta-top h2 , .shop-page-header-mobail h2 {
    color: black;
    font-weight: 600!important;
    font-family: 'Lora', serif;
    letter-spacing: 1px;
    line-height: normal;
    font-size: 1.8rem;
}

.shop-page-header-mobail {
    display: none
}

/* Контейнер сайдбара */
.shop-page-meta-right {
    min-width: 150px;
    width: 100%;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /* Изменил на flex-start для текста */
    /* Более современно, чем dashed */
    padding-right: 15px;
    border-right: 4px dashed white;
}

.shop-page-meta-right #side {
    width: 100%
}

/* Основной блок меню */
#catalog-menu {
    background: #ffffff;
    /* Белый фон выглядит чище, чем бежевый */
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    /* Легкая тень */
    overflow: hidden;
}

#catalog-menu .sidebar-cat-link.active {
    font-weight: bold;
    line-height: normal;
    color: #f00;
    /* Или ваш фирменный цвет */
}

/* Список категорий */
.sidebar-main-cats {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Элемент списка */
.sidebar-cat-item {
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}

.sidebar-cat-item a:hover {
    color: #2eb1a8
}

.sidebar-cat-item:last-child {
    border-bottom: none;
}

/* Ссылка (основной стиль) */
.sidebar-cat-link {
    display: block;
    padding: 6px 20px;
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

/* Эффекты при наведении */
.sidebar-cat-link:hover {
    background-color: #f9f9f9;
    color: #007bff;
    /* Цвет ссылки при наведении (можно заменить на ваш брендбук) */
    padding-left: 25px;
    /* Смещение текста вправо */
}

/* Акцентная полоска слева при наведении */
.sidebar-cat-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: #2dc7bc;
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.sidebar-cat-link:hover::before {
    transform: scaleY(1);
}

/* Если пункт "Акции", выделим его цветом */
.sidebar-cat-link[href*="akcii"] {
    color: #e74c3c;
}

.sidebar-cat-link[href*="akcii"]::before {
    background-color: #e74c3c;
}

/* Подсветка активной категории в сайдбаре */
.sidebar-cat-link.active {
    background-color: #f0f0f0;
    color: #2eb1a8;
    border-left: 4px solid #2eb1a8;
}

/* Для бокового меню */
.sidebar-cat-link.active {
    /* Красный цвет текста */
}

/* Для основной колонки категорий */
.category-item.active {
    background-color: #f0f0f0;
    /* Серый фон */
    /* border-left: 3px solid #007bff; */
    /* Синяя полоска слева */
}

/* Для подкатегорий в центре */
.center-sub-item.active {
    text-decoration: underline;
    color: #000;
}

/* Центральный блок - Сетка в 2 колонки */
#item-subMenulevelCenter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Две равные колонки */
    gap: 8px;
    padding: 0 10px;
    filter: drop-shadow(1px 5px 3px #999);
    width: 100%;
}
#item-subMenulevelCenter a {
    display: flex;
    min-height: 70px;
    height: auto;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    align-items: center;
    justify-content: flex-start;
}

.center-sub-item {
    display: flex;
    align-items: center;
    padding: 5px 0;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    line-height: normal;
    transition: all 0.2s ease;
    text-align: left;
    box-sizing: border-box;
}

.center-sub-item:hover {
    background: linear-gradient(#2eb1a8 0%, #ffffff 50%, #37d7cc 100%);
    color: #000000 !important;
    border-color: #007bff;
}

.shop-page-meta a {
    letter-spacing: 1px;
    line-height: normal;
}

/* Активный пункт в сайдбаре */
.sidebar-cat-link.new {
    background-color: #f0f0f0;
    color: #2eb1a8 !important;
    font-weight: bold;
    border-left: 4px solid #007bff;
}

/* Адаптивность для мобилок */
@media (max-width: 600px) {
    #item-subMenulevelCenter {
        grid-template-columns: 1fr;
        /* Одна колонка на узких экранах */
    }
}

.shop-page-meta-right button.open-panel-btn {
    width: 100%!important;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: space-evenly;
}

.shop-page-meta-right button.open-panel-btn img {
    width: 100%;
    max-width: 100px;
}

.shop-page-meta-right button.open-panel-btn span {
    width: 100%;
    height: 100%;
    font-size: 24px;
    background: none;
}

.shop-page-meta-right button:hover span {
    background: none;
}

.flist {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: column;
}

.flist-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 10px;
}

.flist-label {
    color: #000000;
    background-color: #8ed9d4;
    font-family: 'Roboto';
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: left;
    padding-left: 20px;
    filter: drop-shadow(5px 5px 2px rgba(128, 128, 128, 0.43));
}

.flist-select {
    padding: 8px;
}

#flist-item-price {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* два столбца */
    gap: 0 10px;
    /* отступ между элементами */
    align-items: center;
    /* выравнивание по вертикали */
    margin-bottom: 5px;
}

#flist-item-price .price_filter, #flist-item-price button {
    width: 100%;
    /* заполняют свою ячейку */
    box-sizing: border-box;
    /* чтобы padding/border не ломали ширину */
    border: 1px solid #eee;
}

#flist-item-price button {
    height: 35px;
    line-height: 0;
    margin: 5px 0;
    color: white;
    background-color: #2eb1a8;
    letter-spacing: 1px;
    font-size: 13px;
    filter: drop-shadow(5px 5px 2px rgba(128, 128, 128, 0.43));
}

#flist-label-price {
    grid-column: 1 / -1;
    /* занимает всю ширину (оба столбца) */
    margin-bottom: 0;
    /* отступ от метки к полям */
}

input#price_min, input#price_max {
    height: 40px;
    margin: 5px 0;
    border: 1px outset rgb(255 255 255 / 0%);
    border-radius: 10px;
}

.shop-page-meta-left-filters select {
    margin-top: 8px;
}

.shop-sort-selector, #main #goods_cont {
    margin-top: 20px;
}

.shop-sort-selector {
    margin: 0 0 10px;
}

#clear-filter {
    margin-bottom: 10px;
    height: 40px;
    background-color: #2196F3;
    display: flex;
    border: 1px solid transparent;
    /* или ваш исходный цвет */
    border-radius: 5px;
    transition: border-color 0.3s, background 0.3s ease;
    justify-content: space-around;
    filter: drop-shadow(5px 5px 2px rgba(128, 128, 128, 0.43));
}

#clear-filter:hover {
    border-color: #ff0057;
    background-color: yellow;
    transition: background 0.3s;
    cursor: pointer;
}

#clear-filter a {
    font-weight: bold;
    border: none;
}

#clear-filter .fa-window-close:before {
    font-size: 20px
}

.shop-item-block-1 {
    /* background: red; */
}

.shop-item-block-2 {
    display: flex!important;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 0;
    min-height: 100px;
    /* background: green; */
}

.shop-item-block-2-m {
    display: none;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 0;
    min-height: 100px;
    /* background: green; */
}

.shop-item-block-3 {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.shop-item-block-4 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.shop-item-block-4 .item-buy-button {
    display: flex;
    height: 40px;
    line-height: normal;
    width: 80%!important;
    justify-content: center;
}

.shop-item-meta-actions {
    margin: 0 0 15px;
    width: 100%;
}

.product-additional__add {
    margin: 0 0 25px;
    width: 100%;
    display: block
}

.buy_1 {
    width: 100%;
    display: block
}

.shop-item-block-1 , .shop-item-block-2 , .shop-item-block-2-m , .shop-item-block-3, .shop-item-block-4 {
    box-sizing: border-box;
    width: 100%;
}

.shop-item-image {
    margin-bottom: 0
}

.shop-item-meta {
}

.shop-item-info {
    /* height: 70px; */
    width: 100%;
    display: flex;
    margin: 5px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}

.shop-item-info-art {
    color: #989797;
    font-size: 13px;
    text-align: left;
    line-height: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 2px 0;
}

.goods-list .shop-item-info-buy > div {
    /* height:60px!important; */
}

.shop-item-info-buy {
    width: 100%;
    display: flex;
    background-color: #2196F3;
    align-items: flex-start;
    flex-direction: row;
    margin: 5px 0;
}

.goods-list .basket, .goods-list .wish {
    margin: 0!important;
    color: white!important;
    padding: 4px;
}

.goods-list .basket.now:after,.goods-list .wish:after {
    font-size: 22px;
}

.goods-list .wish.wdel, del {
    color: red;
    font-weight: bold
}
#main-product-page .shop-itempage-images>.tac {
    display:flex;
    align-items: center;
    justify-content: center;
}
.shop-item-info-name {
    display: flex;
    min-height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    align-content: center;
    align-items: center;
}

.shop-item-meta-price {
    background: #016ead;
    width: 100%;
    display: flex;
}

.text-price {
    display: flex;
    width: 30%;
    text-align: left;
    color: white;
    margin-left: 5%;
    align-items: center;
}

.all-price {
    display: block;
    width: 70%;
    text-align: right;
}

.new-price, .old-price {
    margin: 0;
    padding: 2px;
    line-height: 0;
    text-align: right;
}
.old-price {
    background-color:white;
    text-align:center;
    /* border-top:2px solid #F44336; */
    /* border-left:4px solid #2eb1a8; */
    color: grey!important;
    font-size: 13px!important;
}
.old-price span {
    color: grey!important;
    font-size: 13px!important;
}
.new-price {
    color:#fbfbfb;
    font-weight:bold;
}
.relevant-price {
    text-align: right;
    width: 100%;
    margin-right: 5%;
    color: white;
}

.shop-item-meta-price span {
    font-size: 16px;
    line-height: normal;
    padding: 0;
    margin: 0;
}

#page .grid-list .list-item .shop-item-meta-actions>.item-buy-button, .shop-item-meta-actions>.item-buy-button {
    background-color: #2eb1a8;
    color: white!important;
    font-size: 14px;
    align-items: center;
    width: 100%;
    float: none;
    margin: 5px auto;
}
.item-buy-button span {
    color: white;
}
#page .grid-list .list-item .shop-item-meta-actions>.item-buy-button:hover, .shop-item-meta-actions>.item-buy-button:hover {
    background-color: #016ead;
    color: white;
}

.shop-item-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* Главные блоки (артикул, имя, мета) идут сверху вниз */
    justify-content: center;
}

/* Сетка магазина */
.shop-main-grid {
    display: flex;
    gap: 5px;
    padding: 5px 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

/* Карточка категории */
.main-category-item {
    border: 1px solid #E0E0E0;
    box-sizing: border-box;
    border-radius: 4px;
    width: calc(1/5*100% - 10px);
    margin: 0;
    font-size: 16px;
}

.main-category-item a {
    display: flex;
    text-decoration: none;
    color: #2C2B2B;
    background-color: #ffffff;
    transition: 0.3s;
}

.main-category-item a:hover {
    border-color: #ccc;
    /* box-shadow: 0 4px 10px rgba(0,0,0,0.05);*/
}

/* Внутренние элементы */
.main-category-item a {
    display: flex;
    align-items: center;
    /* Центрируем контент по вертикали */
    height: 100%;
    width: 100%;
    background: linear-gradient(#2eb1a8 0%, #ffffff 10%, #ffffff 90%, #37d7cc 100%);
}

.main-category-item:hover a {
    border-color: #0e5af4;
    background: linear-gradient(#2eb1a8 0%, #ffffff 50%, #37d7cc 100%);
    color: #000000
}

/* Контейнер для изображения */
.category-img-box {
    width: 60px;
    /* Фиксированная ширина для иконки */
    min-width: 60px;
    height: 60px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Чтобы иконка не сжималась */
}

.category-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Заголовок категории */
.category-title {
    width: 100% !important;
    padding-right: 10px;
    display: flex;
    align-items: center;
    line-height: 1.2;
    word-break: break-word;
    /* Перенос длинных слов */
}

/* Контейнер для изображения */
.category-img-box {
    /* width: 60px; */
    height: 60px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Заголовок категории */
.category-title {
    width: unset !important;
    display: flex;
    align-items: center;
    line-height: normal
}

.shop-item-meta-1 {
    vertical-align: top;
    width: 100% !important;
    margin: 10px 0 !important;
    box-sizing: border-box;
    min-height: 130px;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* align-content: center; */
    align-items: center;
}

.shop-item-meta-2 {
    display: flex;
    width: 100% !important;
    margin: 1%!important;
    box-sizing: border-box;
    flex-direction: column;
}

.shop-item-info {
    flex-wrap: wrap;
}

.shop-item-info-art, .shop-item-info-name {
    width: 100%;
}

.shop-item-info-art-top {
    /* height: 25px; */
    line-height: normal;
    font-size: 12px;
    color: #c6c6c6;
}

.shop-item-meta-1, .shop-item-meta-2 {
}

.shop-item-meta {
    height: 50px!important;
    width: 100%!important;
    margin: 0;
    padding: 0;
}

.slist {
    font-size: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slist a {
    width: 50%;
    background: #0000ff;
    color: white!important;
    padding: 8px;
    border-radius: 10px;
    color: #000000;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 1px 1px 5px black;
    margin: 0 10px;
    font-family: 'Roboto',sans-serif;
}

.slist a.active {
    color: #ff0018;
}

.slist a:hover {
    background: #007bff;
}

.slist a:nth-child(4) {
    background: red;
    color: white
}

/* Основной стиль кнопки */
#up-me {
    position: fixed;
    bottom: 50px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Состояние, когда кнопка скрыта (скрипт добавляет этот класс) */
#up-me.smooth-hide {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    /* При скрытии кнопка слегка уходит вниз */
    pointer-events: none;
    /* Чтобы нельзя было нажать на невидимую кнопку */
}

/* Эффект при наведении */
#up-me:hover {
    background-color: #555;
    /* Слегка осветляем при наведении */
    transform: scale(1.1);
    /* Немного увеличиваем */
}

/* Стили для иконки внутри (размер) */
#up-me span {
    font-size: 20px;
    line-height: 1;
}

.footer {
    margin-top: 20px
}

/* ================================================================= */
/* 1. КОНТЕЙНЕР ФОРМЫ */
/* ================================================================= */
/* Стиль для родительского контейнера формы (например, если форма внутри модального окна) */
#fast-order-message form {
    background-color: #1e1e1e;
    /* Темный фон */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    margin: 20px auto;
    color: #f0f0f0;
    /* Светлый текст */
    font-family: Arial, sans-serif;
}

/* ================================================================= */
/* 2. СТИЛИ ПОЛЕЙ ВВОДА (INPUT TEXT) */
/* ================================================================= */
#fast-order-message input[type="text"], #fast-order-message input[type="tel"], #fast-order-message .maskedInput {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid #444;
    /* Темная рамка */
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #2b2b2b;
    /* Фон поля чуть светлее фона контейнера */
    color: #f0f0f0;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Стили для маскированного поля при вводе текста (если оно показывает текст по умолчанию) */
input[type="text"][value="Введите номер телефона"] {
    color: #aaa;
    /* Более тусклый цвет для подсказки */
}

/* Фокус на поле ввода */
input[type="text"]:focus, input[type="tel"]:focus, .maskedInput:focus {
    border-color: #00bcd4;
    /* Акцентный цвет (бирюзовый) */
    box-shadow: 0 0 5px rgba(0, 188, 212, 0.5);
    outline: none;
    /* Убираем стандартное выделение браузера */
}

/* Стиль для placeholder */
input::placeholder {
    color: #888;
}

/* ================================================================= */
/* 3. КНОПКА ОТПРАВКИ (SUBMIT) */
/* ================================================================= */
#fast-order-message input[type="submit"] {
    width: 100%;
    background-color: #f7971e;
    /* Акцентный цвет */
    color: white;
    padding: 14px 20px;
    margin-top: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    line-height: 8px;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, transform 0.1s;
}

#fast-order-message input[type="submit"]:hover {
    background-color: #0097a7;
    /* Чуть темнее при наведении */
    color: white;
}

#fast-order-message input[type="submit"]:active {
    transform: scale(0.99);
    /* Эффект нажатия */
}

/* ================================================================= */
/* 4. СКРЫТЫЕ ПОЛЯ */
/* ================================================================= */
/* Убедитесь, что скрытые поля не мешают макету */
#fast-order-message input[type="hidden"] {
    display: none;
}

#fast-order-message .fancybox-outer {
    background-color: #ffffff!important
}

.buy_1 a {
    font: bold 14px / 26px Roboto;
    color: white;
    background: #2eb1a8;
    padding: 8px;
    display: block;
    width: 80%;
    height: 40px;
    border-radius: 4px;
    text-align: center;
    margin: 0 auto;
    text-transform: uppercase;
}

.buy_1:hover a {
    background: #016ead;
    color: white;
}
#main-product-page>.right, .product-main-description {
    background-color: rgb(255 255 255 / 63%);
    padding:20px 30px;
}
.product-main-description {    
    margin:20px 0;
}

.product-page-rating-main {
    /* display:none; */
    background-color: green;
}

#main-product-page .shop-itempage-price {
    font-size: 1.6rem;
    display: flex;
    flex-direction: column;
}

.newprice {
    font-weight: bold;
    letter-spacing: normal
}

.regular-price {
    font-weight: bold!important
}

.regular-price, .discount, .before-discount, .turnkey {
    font-size: 1.2rem;
    font-weight: normal;
}

.old-price-small del {
    color: grey;
    font-size: 1.1rem;
}

.turnkey-price {
    color: #ffe201;
    background-color: #000000;
    padding: 4px;
    border-radius: 4px
}

.opt input {
    height: 20px!important;
    line-height: 3px;
    background-color: #009688;
}
.product-main-manage-shop {
    display:flex;
    justify-content: space-between;
    align-items: center;
}
/* Основной контейнер */
.values {
    display: flex;
    align-items: stretch; /* Растягивает обе колонки по высоте самой длинной */
    justify-content: space-between;
    gap: 20px; /* Расстояние между колонками */
}

/* Общие стили для колонок */
.values .left, 
.values .right {
    display: flex;
    flex-direction: column; /* Элементы внутри выстраиваются в столбик */
    flex: 1; /* Делает колонки равными по ширине */
}
.values .left a {
    border:none;
     /* Может помочь с z-index */
}
li.select-color {
    margin:15px 0!important;
    width:100%!important;
    max-width:50%!important;
}

/* Списки характеристик */
.shop-options {
    margin: 0;
    padding: 0;
    list-style: none;
}

.shop-options li {
    margin-bottom: 8px;
}

/* Контейнеры для кнопок внизу */
.bottom-action {
    margin-top: auto; /* ВЫТАЛКИВАЕТ блок в самый низ колонки */
    padding-top: 20px; /* Отступ от контента сверху */
}
.bottom-action input {
    font-size:18px;
    line-height:0;
    text-shadow: 0 0 2px black;
}
.action input {
    background:#4CAF50
}
/* Кнопки управления в правой колонке сверху */
.product-main-manage-shop {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    align-items: center;
    /* background: #36d2c7; */
    width: auto;
}