/* custom.css — site-specific overrides (loaded after stylesheet.css). 2026-11-14 */

/* 1. No focus outline on mouse click (links, logo); keep a visible ring for keyboard users */
a:focus,
a:active,
.logo a:focus,
.logo a img:focus {
	outline: none;
}
a:focus-visible {
	outline: 2px solid #ff8200;
	outline-offset: 2px;
}

/* 2. Top menu: current page item looks the same as on hover */
.navbar-mega .navbar-nav > li.active {
	background: #535763;
}
.navbar-mega .navbar-nav > li.active > a,
.navbar-mega .navbar-nav > li.active > a .menu-title {
	color: #fff;
}

/* 3. Sidebar catalog: active category and active sub-item — no background/border, orange text like on hover */
.box-category .list-group-item.active,
.box-category .list-group-item.active:hover,
.box-category .list-group-item.active:focus {
	background: transparent !important;
	border-color: transparent !important;
	box-shadow: none !important;
}
.box-category .list-group-item.active > a.title,
.box-category .list-group-item a.title.active,
.box-category .list-group-item .accordion-body li.active > a,
.box-category .list-group-item .accordion-body a.active,
.box-category .list-group-item .collapse li.active > a {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	color: #ff8200 !important;
}

/* 4. Content tables (e.g. /delivery/): inner padding in cells */
#content .table-responsive > table th,
#content .table-responsive > table td {
	padding: 10px 14px;
	vertical-align: middle;
	text-align: left !important;
}
#content .table-responsive > table td img {
	display: block;
	margin: 0 auto;
}


/* Web Chat: стили виджета задают html,body{height:100%}; вместе с overflow-x:hidden темы это сбрасывает прокрутку страницы. 2026-11-17 */
html,
body {
	height: auto !important;
}

/* Keep the cart aligned to the content edge regardless of regional menu length. 2026-11-27 */
@media (min-width: 992px) {
	.menu_header_full .right-part-menu {
		float: right;
		width: auto;
	}
}
