.accordeon-title-link a{
	color: #2a4154;
}


.accordeon-title-link::after {
  content: "";
}

.article-container li a {
  font-size: 13px;
}
.article-container ul li {
  line-height: 16px;
}


.drop-menu-layer{padding: 0 20px;}

.fly-menu-cart{height: 70px;}

@media (max-width: 640px) {
	.mainpage_cats::before{
		content: unset;
	}
	.mainpage_cats{
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	
	
}



.information-blocks ,
.text-box ,
.login-box
{
  border-radius: 15px;
}

.button.style-3,
.button.style-10,
.button.style-15,
.button.style-17,
input[type="file"],
input[type="text"],
textarea,
.portfolio-entry .image,
.product-slide-entry .product-image,
.simple-drop-down select,
.simple-drop-down::after,
.page-selector .square-button,
.view-button::after,
.traditional-cart-entry .image img
{
  border-radius: 8px;
}


.product-slide-entry.shift-image .product-image img{
	width: auto;
	height: 195px;
}
.product-slide-entry .product-image{height: 195px;}

.block-title-catalog{margin-bottom: 0; border-bottom: 0;}

.accordeon-title-link-current{color: #31a834;text-transform: uppercase;}

header.fixed-header .nav-overflow{background: #2a4154;}
header.fixed-header nav > ul > li > a{color: #fff;}


.search-button {  width: 25px;  height: 25px;}
.search-button .fa {  line-height: 25px;}
.search-field {  height: 25px; border-radius: 4px; background: #fff; width: 400px;}
header.fixed-header .search-field {   width: 220px;}
.search-field input[type="text"] {  height: 23px;  line-height: 23px;  font-size: 12px;}

.header-top-entry {  padding: 10px 0;}


@media (max-width: 640px) {
	.header-top-entry {  margin-right: 15px;}
	
	.fixed-header{border-bottom: 1px solid #eee;}
	
	.header-wrapper.style-10 .line-entry:last-child {
	  padding-top: 0px;
	  padding-bottom: 0;
	}
	.header-product .logo-wrapper {  padding: 0;}
}

#content-block{background: #fafafa;}


.article-container_grid{font-size: 12px; text-align: left; height: 25px; margin-bottom: 10px;}
.list-view .article-container_grid{display: none;}

.product-qnt{display: flex; justify-content: space-between; gap: 10px; align-items: center;}
.product-qnt .detail-info-entry{margin: 0;}
.product-qnt .detail-info-entry .button{padding: 7px 22px !important; min-width: 7px; margin: 0; text-align: center;}
.product-qnt .detail-info-entry .button .fa{margin: 0;}

.product-slide-entry {  margin-bottom: 80px;}

.product-slide-entry .tag {
  height: 28px;
  overflow: hidden;
}

.text-box {
  background: #fcfcfc;
  border: 1px #ebebeb solid;
  padding: 25px;
}

.portfolio-entry .image img {
  height: 285px;
}

@media (max-width: 640px) {
	.portfolio-entry .image img {
	  height: 250px;
	}
}


@media (max-width: 1280px) {
	.product-qnt .detail-info-entry .button {  padding: 7px 7px !important;}
	
	
}



/* Панель cookie */
    #cookieBanner {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%) translateY(150%);
        width: 50%;
        background-color: #222;
        color: #f1f1f1;
        padding: 20px 25px;
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        z-index: 9999;
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
    }

    #cookieBanner.visible {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    #cookieBanner p {
        margin: 0;
        font-size: 14px;
        flex: 1;
    }

    #cookieBanner a {
        color: #6cb2eb;
        text-decoration: underline;
    }

    #cookieAcceptBtn {
        background-color: #2c7be5;
        color: #fff;
        border: none;
        padding: 10px 24px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
        transition: background-color 0.2s ease;
    }

    #cookieAcceptBtn:hover {
        background-color: #1a68d1;
    }

    /* Мобильная адаптация: экран меньше 768px -> ширина 100% */
    @media (max-width: 768px) {
        #cookieBanner {
            width: 100%;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 0;
            transform: translateY(150%);
        }

        #cookieBanner.visible {
            transform: translateY(0);
        }

        #cookieBanner {
            flex-direction: column;
            align-items: stretch;
            text-align: center;
        }

        #cookieAcceptBtn {
            width: 100%;
        }
    }

/* --- Избранное --- */
.bottom-line-a.add_to_fav.active,
.bottom-line-a.add_to_fav.active i {
    color: #31a834;
}
.button.style-11.add_to_fav.active {
    background: #31a834;
    border-color: #31a834;
    color: #ffffff;
}
.add_to_fav { cursor: pointer; }


/* --- Новости на главной --- */
.main_news{ margin: 10px 0 30px; }
.main_news_item{
	padding: 8px 14px;
	border-left: 3px solid #31a834;
	background: #f7f9f7;
	border-radius: 0 6px 6px 0;
	margin-bottom: 8px;
}
.main_news_item .date{
	display: inline-block;
	min-width: 88px;
	font-weight: 600;
	color: #31a834;
}


/* --- Гостевой режим --- */
.guest-login-link{
	font-size: 13px !important;
	color: #31a834 !important;
	text-decoration: underline;
}
.price .current .guest-login-link{ font-weight: 600; }


/* --- Логотип в шапке при 1200-1260px: уменьшение, чтобы меню не наезжало --- */
@media (min-width: 1200px) and (max-width: 1260px) {
	header .additional-header-logo img {
		width: 120px;
		max-height: none;
		height: auto;
	}
}


/* --- Поиск в шапке: сужение на небольших экранах, чтобы не переносился на 2-ю строку --- */
@media (max-width: 1500px) {
	.search-field { width: 300px; }
}
@media (max-width: 1360px) {
	.search-field { width: 220px; }
}
@media (max-width: 1199px) {
	.search-field { width: 160px; }
	header.fixed-header .search-field { width: 160px; }
}


/* --- Фикс-шапка при прокрутке: скрыть пункт "Главная", чтобы не наезжал на логотип --- */
header.fixed-header nav > ul:first-child > li:first-child {
	display: none;
}
