/* prefixed by https://autoprefixer.github.io (PostCSS: v7.0.26, autoprefixer: v9.7.3) */

#statistika{
	padding: 0;
	margin: 0;
}
#statistika li{
	margin-bottom: 3px;
	width: 100px;
	list-style: none;
	height: 24px;
	line-height: 23px;
	padding: 0 9px 0 8px;
	font-size: 13px;
	color: #555;
	text-decoration: none;
	text-shadow: 0 1px white;
	background: #fafafa;
	/* border-width: 1px 0 1px 1px; */
	/* border-style: solid; */
	/* border-color: #0ebcf2; */
	-webkit-border-radius: 3px 0 0 3px;
	-moz-border-radius: 3px 0 0 3px;
	/* border-radius: 3px 0 0 3px; */
	/* background-image: -webkit-linear-gradient(top, #fcfcfc, #f0f0f0); */
	background-image: -o-linear-gradient(top, #fcfcfc, #f0f0f0);
	/* background-image: linear-gradient(to bottom, #fcfcfc, #f0f0f0); */
	/* -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 1px 2px rgba(0, 0, 0, 0.05); */
	/* box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 1px 2px rgba(0, 0, 0, 0.05); */
	position: relative;
}
#statistika li:after{
	content: '';
	z-index: 2;
	position: absolute;
	top: 8px;
	right: -2px;
	width: 5px;
	height: 6px;
	opacity: .95;
	border-radius: 3px 0 0 3px;
	-webkit-border-radius: 3px 0 0 3px;
	-moz-border-radius: 3px 0 0 3px;
	background: #56a3d5;
	-webkit-box-shadow: inset 1px 0 #276f9e;
	box-shadow: inset 1px 0 #276f9e;
}
#statistika li span{
	height: 24px;
	width: 70px;
	position: absolute;
	top: 0px;
	left: 100%;
	line-height: 21px;
	color: white;
	text-shadow: 0 -1px rgba(0, 0, 0, 0.3);
	border-radius: 0 2px 2px 0;
	-webkit-border-radius: 0 2px 2px 0;
	-moz-border-radius: 0 2px 2px 0;
	opacity: .95;
	background: #0a8db6;
	/* border-color: #0ebcf2; */
	display: block;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 2px 15px 0 15px!important;
	max-width: 100px;
}


/* loading img */
@keyframes lds-spinner {
  0% {
	opacity: 1;
  }
  100% {
	opacity: 0;
  }
}
@-webkit-keyframes lds-spinner {
  0% {
	opacity: 1;
  }
  100% {
	opacity: 0;
  }
}
.lds-css {
	width: 250px;
	height: 250px;
	margin: 0 auto;
}
.lds-css .lds-spinner {
  position: relative;
  width: 100%;
  height: 100%;
}
.lds-css .lds-spinner div {
  left: 120px;
  top: 10px;
  position: absolute;
  -webkit-animation: lds-spinner linear 1s infinite;
  animation: lds-spinner linear 1s infinite;
  background: #000;
  width: 20px;
  height: 60px;
  border-radius: 20%;
  -webkit-transform-origin: 6px 115px;
  -ms-transform-origin: 6px 115px;
      transform-origin: 6px 115px;
}
.lds-css .lds-spinner div:nth-child(1) {
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
      transform: rotate(0deg);
  -webkit-animation-delay: -0.916666666666667s;
  animation-delay: -0.916666666666667s;
}
.lds-css .lds-spinner div:nth-child(2) {
  -webkit-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
      transform: rotate(30deg);
  -webkit-animation-delay: -0.833333333333333s;
  animation-delay: -0.833333333333333s;
}
.lds-css .lds-spinner div:nth-child(3) {
  -webkit-transform: rotate(60deg);
  -ms-transform: rotate(60deg);
      transform: rotate(60deg);
  -webkit-animation-delay: -0.75s;
  animation-delay: -0.75s;
}
.lds-css .lds-spinner div:nth-child(4) {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
      transform: rotate(90deg);
  -webkit-animation-delay: -0.666666666666667s;
  animation-delay: -0.666666666666667s;
}
.lds-css .lds-spinner div:nth-child(5) {
  -webkit-transform: rotate(120deg);
  -ms-transform: rotate(120deg);
      transform: rotate(120deg);
  -webkit-animation-delay: -0.583333333333333s;
  animation-delay: -0.583333333333333s;
}
.lds-css .lds-spinner div:nth-child(6) {
  -webkit-transform: rotate(150deg);
  -ms-transform: rotate(150deg);
      transform: rotate(150deg);
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}
.lds-css .lds-spinner div:nth-child(7) {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
      transform: rotate(180deg);
  -webkit-animation-delay: -0.416666666666667s;
  animation-delay: -0.416666666666667s;
}
.lds-css .lds-spinner div:nth-child(8) {
  -webkit-transform: rotate(210deg);
  -ms-transform: rotate(210deg);
      transform: rotate(210deg);
  -webkit-animation-delay: -0.333333333333333s;
  animation-delay: -0.333333333333333s;
}
.lds-css .lds-spinner div:nth-child(9) {
  -webkit-transform: rotate(240deg);
  -ms-transform: rotate(240deg);
      transform: rotate(240deg);
  -webkit-animation-delay: -0.25s;
  animation-delay: -0.25s;
}
.lds-css .lds-spinner div:nth-child(10) {
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
      transform: rotate(270deg);
  -webkit-animation-delay: -0.166666666666667s;
  animation-delay: -0.166666666666667s;
}
.lds-css .lds-spinner div:nth-child(11) {
  -webkit-transform: rotate(300deg);
  -ms-transform: rotate(300deg);
      transform: rotate(300deg);
  -webkit-animation-delay: -0.083333333333333s;
  animation-delay: -0.083333333333333s;
}
.lds-css .lds-spinner div:nth-child(12) {
  -webkit-transform: rotate(330deg);
  -ms-transform: rotate(330deg);
      transform: rotate(330deg);
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}


.bs-callout{
	padding: 10px 20px;
	margin-bottom: 10px;
	border: 1px solid #eee; /*#e0e4e8*/
	border-left-width: 5px;
	border-left-color: #b1b5b9; /*#777*/
	border-radius: 3px;
	position: relative;
}
.bs-callout h4{
	margin-top: 0;
	margin-bottom: 5px;
	color: #b1b5b9; /*#777*/
}
.bs-callout p:last-child{
	margin-bottom: 0;
}
.bs-callout code{
	border-radius: 3px;
}
.bs-callout+.bs-callout{
	margin-top: -5px;
}
.bs-callout-default{
	border-left-color: #b1b5b9; /*#777*/
}
.bs-callout-default h4{
	color: #b1b5b9; /*#777*/
}
.bs-callout-primary{
	border-left-color: #13c4a5; /*#428bca*/
}
.bs-callout-primary h4{
	color: #13c4a5; /*#428bca*/
}
.bs-callout-success{
	border-left-color: #3fcf7f; /*#5cb85c*/
	background-color: #ebfcee;
}
.bs-callout-success h4{
	color: #3fcf7f; /*#5cb85c*/
}
.bs-callout-danger{
	border-left-color: #ff5f5f; /*#d9534f*/
	background-color: #faeae6;
}
.bs-callout-danger h4{
	color: #ff5f5f; /*#d9534f*/
}
.bs-callout-warning{
	border-left-color: #f4c414; /*#f0ad4e*/
	background-color: #fcf3e1;
}
.bs-callout-warning h4{
	color: #f4c414; /*#f0ad4e*/
}
.bs-callout-info{
	border-left-color: #5191d1; /*#5bc0de*/
	background-color: #e8f6fc;
}
.bs-callout-info h4{
	color: #5191d1; /*#5bc0de*/
}
.bs-callout-inverse{
	border-left-color: #233445;
}
.bs-callout-inverse h4{
	color: #233445;
}
.bs-callout .close {
	position: absolute;
	top: 12px;
	right: 12px;
	color: #333;
	font-size: 16px;
	cursor: pointer;
}
.bs-callout .close:hover {
	color: #000;
}
.bs-callout .bs-callout-btns {
	float: right;
	margin: -2px 20px 0 0;
}

@media (max-width: 767px){
	.sidenav{
    width: 100%;
    height: 50px;
  }

  .sidenav ul{
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
	
/* --- ОБНОВЛЕНИЕ ДИЗАЙНА ХЕДЕРА --- */

/* 1. Основная панель навигации */
.navbar-main {
    background-color: #ffffff !important; 
    border-bottom: 2px solid #f0f0f0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 10px 0;
}

/* 2. Стилизация поиска (делаем его современным) */
.navbar-main-search {
    background: #f4f7f6 !important;
    border-radius: 30px !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s ease;
}

.navbar-main-search:focus-within {
    background: #fff !important;
    border-color: #5191d1 !important;
    box-shadow: 0 0 0 3px rgba(81, 145, 209, 0.2);
}

.navbar-main-search-category-select {
    border: none !important;
    background: transparent !important;
    font-size: 13px;
    padding: 0 10px;
    color: #64748b;
}

.navbar-main-search .form-control {
    background: transparent !important;
    border: none !important;
    color: #1e293b;
}

.search-btn {
    background-color: #5191d1 !important; /* Цвет из вашего bs-callout-info */
    color: white !important;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    line-height: 34px !important;
    text-align: center;
    margin-right: 5px;
}

/* 3. Верхнее меню с категориями */
.navbar-before {
    background: #233445 !important; /* Темный цвет из вашего bs-callout-inverse */
    padding: 5px 0;
}

.top-menu li a {
    color: #cbd5e1 !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    text-decoration: none;
    transition: color 0.2s;
}

.top-menu li a:hover {
    color: #13c4a5 !important; /* Бирюзовый акцент при наведении */
}

/* 4. Счетчики корзины и избранного (Красные кружочки) */
.basket-offers-count, .favorite-offers-count, .invoices-count {
    background: #ff5f5f !important; /* Цвет из вашего bs-callout-danger */
    font-family: sans-serif;
    font-weight: bold;
    border-radius: 10px !important;
    padding: 1px 7px !important;
    font-size: 11px !important;
    box-shadow: 0 2px 4px rgba(255, 95, 95, 0.4);
}

/* 5. Выпадающее Мега-меню */
.mega-menu {
    border: none !important;
    border-radius: 0 0 20px 20px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
    padding: 25px !important;
    background: #fff !important;
}

.mgm-item-h {
    color: #233445 !important;
    font-size: 16px !important;
    margin-bottom: 15px !important;
    border-left: 4px solid #13c4a5 !important; /* Бирюзовая полоска слева */
    padding-left: 10px !important;
}

.mgm-item-item a {
    color: #64748b !important;
    display: block;
    padding: 4px 0;
    transition: transform 0.2s, color 0.2s;
}

.mgm-item-item a:hover {
    color: #13c4a5 !important;
    transform: translateX(5px);
    text-decoration: none;
}

/* --- СТИЛИЗАЦИЯ КАРТОЧЕК ТОВАРОВ --- */
.product-item, .thumbnail {
    border: 1px solid #f0f0f0 !important;
    border-radius: 12px !important; /* Мягкие углы */
    overflow: hidden;
    transition: all 0.3s ease-in-out !important;
    background: #fff;
    padding: 15px;
}

/* Эффект парения при наведении */
.product-item:hover, .thumbnail:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    transform: translateY(-5px);
    border-color: #5191d1 !important;
}

/* Кнопка купить в карточке */
.btn-buy, .add-to-cart {
    border-radius: 20px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    padding: 8px 20px !important;
    transition: all 0.2s !important;
}

.btn-buy:active {
    transform: scale(0.95); /* Эффект нажатия */
}

/* Цена товара — делаем акцент */
.product-price {
    color: #233445 !important;
    font-weight: bold !important;
    font-size: 18px !important;
}
/* Тонкий современный скроллбар */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #5191d1; /* Синий цвет как у вашего поиска */
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #233445; 
}

/* Эффект нажатия для всех кнопок */
.btn, .search-btn, .navbar-toggle {
    transition: transform 0.1s ease, box-shadow 0.2s ease !important;
}
.btn:active, .search-btn:active {
    transform: scale(0.95) !important; /* Кнопка слегка сжимается */
}

/* Плавная загрузка изображений */
img {
    transition: opacity 0.5s ease-in-out;
}
.product-item img:hover {
    transform: scale(1.03); /* Легкое увеличение при наведении */
    transition: transform 0.4s ease;
}
 
/* Подсветка активной страницы */
.nav > li > a:focus, .nav > li > a:active {
    background: transparent !important;
    color: #13c4a5 !important;
}
.navbar-nav-lg .fa {
    font-size: 18px;
    color: #5191d1; /* Синий цвет иконок */
    transition: transform 0.2s;
}

.navbar-nav-lg li:hover .fa {
    transform: translateY(-2px); /* Иконка подпрыгивает при наведении */
}
/* --- ГЛОБАЛЬНАЯ ПЕРЕРАБОТКА ДИЗАЙНА (ОСТРОВНОЙ СТИЛЬ) --- */

/* 1. Фон всего сайта — делаем мягким, чтобы блоки "парили" */
body {
    background-color: #f4f7fa !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

/* 2. Превращаем все контейнеры в аккуратные белые "острова" */
.container, .main-content, .page-wrapper {
    background: #ffffff !important;
    border-radius: 24px !important; /* Сильное закругление углов */
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    margin-top: 20px !important;
    padding: 30px !important;
}

/* 3. Плавающая шапка (Floating Header) */
.navbar-main {
    margin: 15px 20px !important;
    border-radius: 50px !important; /* Форма капсулы */
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px); /* Эффект матового стекла */
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05) !important;
}

/* 4. Радикальное изменение карточек товаров */
.product-item, .thumbnail {
    border: none !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 10px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02) !important;
}

.product-item:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

/* 5. Кнопки: убираем острые углы и добавляем объем */
.btn, .btn-buy, .search-btn {
    border-radius: 12px !important;
    border: none !important;
    padding: 12px 25px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    transition: all 0.2s ease !important;
}

.btn-primary, .search-btn {
    background: linear-gradient(135deg, #5191d1 0%, #3a79b8 100%) !important;
    color: white !important;
}

/* 6. Поля ввода (Inputs) — современный вид */
input[type="text"], .form-control {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    height: 45px !important;
}