
/* m-bottom-bar */
.m-bottom-bar,
.sidebar-catalog-close {
	display: none;
}



@media (max-width: 767px) {

	/* header */
	/*#header {
		padding-bottom: 10px;
		width: 100%;
		background-color: #fff;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 90;
	}*/
	.header-hidden {
		padding-bottom: 44px;
	}
	.header-hidden .page-header__bottom {
		/*padding-top: 10px;*/
		padding-bottom: 10px;
		width: 100%;
		background-color: #fff;
		border-bottom: 2px solid #f3f3f3;
		position: fixed;
		top: -100%;
		left: 0;
		z-index: 100;
		transition: all 0.3s;
	}
	.header-hidden .page-header__bottom.bottom-visible {
		top: 0;
	}
	.header-hidden .page-header__bottom.bottom-hidden {
		top: -100%;
	}
	/*#main-content {
		padding-top: 202px;
	}*/
	.page-header__bottom {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.page-header__bottom .container {
		gap: 20px;
	}
	.mmenu {
		flex: 1;
	}
	.mmenu__right {
		display: none !important;
	}

	/* search */
	.mmenu .jshop_ajaxsearch {
		margin-right: 0;
		flex: 1;
	}
	#jshop_search {
		width: 100%;
	}

	/* m-bottom-bar */
	.m-bottom-bar {
		display: flex;
		width: 100%;
		height: 80px;
		background-color: #fff;
		border-top: 2px solid #f3f3f3;
		position: fixed;
		bottom: 0;
		left: 0;
	}
	.m-bottom-bar__item {
		flex: 1;
	}
	.m-bottom-bar__item-link {
		display: flex;
		height: 100%;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.m-bottom-bar__item-count {
		display: block;
		width: 16px;
		height: 16px;
		font-size: 12px;
		line-height: 16px;
		text-align: center;
		color: #fff;
		background-color: #25aae1;
		border-radius: 50%;
		position: absolute;
		top: -5px;
		right: -6px;
	}

	/* changed */
	.jshop_module_cart_fixed {
		position: static !important;
	}
	.__jivoMobileButton {
		bottom: 80px !important;
	}

	/* catalog */
	.sidebar {
		position: static;
	}
	.sidebar-catalog {
		padding: 50px 20px 20px;
		width: 100%;
		height: 100%;
		box-sizing: border-box;
		overflow: auto;
		background-color: #fff;
		position: fixed;
		top: 0;
		left: -100%;
		z-index: 100;
		transition: all 0.3s;
	}
	.sidebar-catalog._active {
		left: 0;
	}
	.sidebar-catalog-close {
		display: block;
		position: absolute;
		top: 20px;
		right: 20px;
	}

}

@media (max-width: 575px) {

.shop-display-options {
    /* Анимация займет 0.25 секунды, подстройте под скорость вашего хедера */
    transition: top 0.25s ease-in-out, box-shadow 0.3s ease; 
}

.shop-display-options.sticky {
    position: fixed;
    right: 15px;
    left: 15px;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    /* Значение top теперь полностью контролируется скриптом */
}



	#comjshop .list_subcategory {
		flex-wrap: nowrap;
		overflow: auto;
	}
	.bystrye-ssylki-list {
		white-space: nowrap;
		overflow: auto;
	}

	.page-product .m-bottom-bar {
		padding-top: 60px;
    	height: 140px;
	}

	.productfull .prod_buttons .buttons {
		padding-top: 10px;
		padding-left: 0;
	}

	.productfull .quantity.prod_qty_input {
		margin: 0;
    	position: fixed;
    	bottom: 81px;
    	z-index: 100;
	}
	.jshop .prod_qty_input input.qty {
		max-width: 60px;
	}

	.productfull .buttons input {
		width: auto;
		height: 40px;
	    box-sizing: border-box;
	    position: fixed;
	    bottom: 85px;
	    right: 30px;
	    left: 160px;
	    z-index: 100;
	}

	.tabs__nav {
		flex-wrap: wrap;
		gap: 15px;
	}
	.tabs__nav-item:not(:last-child) {
		margin-right: 0;
	}

}


