/* =========================================================
   Coloring theme — modern restyle (fashion store)
   OpenCart / Bootstrap 3
   Цвета и скругления меняются в блоке :root ниже
   ========================================================= */
/* шрифт Manrope подключается в header.tpl через <link> с preconnect — так быстрее, чем @import */

:root {
	--c-text: #1f2330;
	--c-text-soft: #5f6676;
	--c-muted: #9aa1ad;
	--c-bg: #ffffff;
	--c-bg-soft: #f5f6f8;
	--c-border: #e6e8ec;
	--c-border-strong: #d3d7de;

	/* фирменный красный — меняется здесь */
	--c-primary: #2b78e4;        /* кнопки, меню, корзина */
	--c-primary-hover: #1f63c4;
	--c-primary-soft: #edf4fe;   /* светлые подложки */
	--c-accent: #2b78e4;         /* скидки, ховеры ссылок */
	--c-accent-hover: #1f63c4;
	--c-star: #ffb400;

	--grad-primary: linear-gradient(180deg, #4590f0 0%, #2b78e4 100%);
	--shadow-primary: 0 2px 6px rgba(43,120,228,.18);

	--radius-sm: 8px;
	--radius: 12px;
	--radius-lg: 16px;

	--shadow-sm: 0 1px 2px rgba(17,17,17,.04), 0 1px 3px rgba(17,17,17,.06);
	--shadow: 0 4px 16px rgba(17,17,17,.06);
	--shadow-lg: 0 12px 32px rgba(17,17,17,.12);

	--ease: cubic-bezier(.2,.7,.2,1);
	--t: .25s var(--ease);
}

/* ---------- global ---------- */
body {
	font-family: 'Manrope', 'Open Sans', Arial, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	color: var(--c-text);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
	font-family: inherit;
	color: var(--c-text);
	letter-spacing: -.01em;
}
h1 {
	margin: 20px 0 24px;
	font-size: 30px;
	font-weight: 600;
	letter-spacing: -.01em;
}
a {
	color: var(--c-text);
	transition: color var(--t);
}
a:hover, a:focus {
	color: var(--c-accent);
	text-decoration: none;
}
.red-link { color: var(--c-accent); }
.fa { font-size: 14px; }
i.required { color: var(--c-accent); }
.inline-block { display: inline-block; vertical-align: middle; }
.hr-margin-5 { margin-top: 5px; margin-bottom: 5px; }
hr { border-color: var(--c-border); }
::selection { background: var(--c-primary); color: #fff; }

/* ---------- bootstrap overrides ---------- */
.btn {
	border-radius: var(--radius-sm);
	font-weight: 600;
	transition: background-color var(--t), border-color var(--t), color var(--t), box-shadow var(--t), transform var(--t);
}
.btn:active, .btn.active { box-shadow: none; }
.btn-primary {
	background: var(--grad-primary);
	border-color: var(--c-primary);
	color: #fff;
}
.btn-primary:hover { box-shadow: var(--shadow-primary); }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active,
.open > .dropdown-toggle.btn-primary {
	background: var(--c-primary-hover);
	border-color: var(--c-primary-hover);
}
.btn-default {
	background: #fff;
	border-color: var(--c-border-strong);
	color: var(--c-text);
}
.btn-default:hover, .btn-default:focus {
	background: var(--c-bg-soft);
	border-color: var(--c-border-strong);
}
.btn-danger {
	background: var(--c-accent);
	border-color: var(--c-accent);
	color: #fff;
}
.btn-danger:hover, .btn-danger:focus {
	background: var(--c-accent-hover);
	border-color: var(--c-accent-hover);
}
.btn-link { color: var(--c-text); }

.form-control {
	height: 42px;
	border-radius: var(--radius-sm);
	border-color: var(--c-border-strong);
	box-shadow: none;
	transition: border-color var(--t), box-shadow var(--t);
}
.form-control:focus {
	border-color: var(--c-primary);
	box-shadow: 0 0 0 3px rgba(43,120,228,.12);
}
textarea.form-control { height: auto; }
.input-group-addon {
	background: var(--c-bg-soft);
	border-color: var(--c-border-strong);
	border-radius: var(--radius-sm);
	color: var(--c-text-soft);
}

.panel {
	border-radius: var(--radius);
	border-color: var(--c-border);
	box-shadow: none;
}
.panel-default > .panel-heading {
	background: #fff;
	border-color: var(--c-border);
	border-radius: var(--radius) var(--radius) 0 0;
	font-weight: 600;
	color: var(--c-text);
}
.well {
	background: var(--c-bg-soft);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: none;
}
.list-group-item {
	border-color: var(--c-border);
	transition: background-color var(--t), color var(--t);
}
.list-group-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.list-group-item:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
	background: var(--c-bg-soft);
	border-color: var(--c-border);
	color: var(--c-primary);
	font-weight: 600;
	box-shadow: inset 3px 0 0 var(--c-primary);
}
a.list-group-item:hover { background: var(--c-bg-soft); }

.dropdown-menu {
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	padding: 6px;
}
.dropdown-menu > li > a {
	border-radius: 6px;
	padding: 7px 14px;
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
	background: var(--c-bg-soft);
	color: var(--c-text);
}

.modal { background: rgba(17,17,17,.45); }
.modal-content {
	overflow: hidden;
	border: 0;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}
.modal-open { overflow: auto; }

.pagination > li > a, .pagination > li > span {
	color: var(--c-text);
	border-color: var(--c-border);
	margin: 0 2px;
	border-radius: var(--radius-sm) !important;
}
.pagination > .active > a, .pagination > .active > span,
.pagination > .active > a:hover, .pagination > .active > span:hover {
	background: var(--c-primary);
	border-color: var(--c-primary);
}
.alert { border-radius: var(--radius); }
.table > thead > tr > th, .table > tbody > tr > td { border-color: var(--c-border); }

.breadcrumb {
	background: none;
	font-size: 13px;
	padding: 0;
	margin: 6px 0 4px;
	color: var(--c-muted);
}
.breadcrumb a { color: var(--c-text-soft); }
.breadcrumb a:hover { color: var(--c-text); }
.breadcrumb > li + li:before { color: var(--c-border-strong); content: "/\00a0"; }

label { font-weight: 500; }
.required > label:before {
	content: "* ";
	color: var(--c-accent);
}

/* ---------- image radio ---------- */
.image-radio { display: inline-block; }
.image-radio input { display: none; }
.image-radio img {
	cursor: pointer;
	border-radius: var(--radius-sm);
	transition: border-color var(--t);
}
.image-radio input:checked + img {
	border-color: var(--c-primary);
	background-color: var(--c-primary);
}
@media (min-width: 768px)  { .image-radio img { max-width: 39px; } }
@media (min-width: 992px)  { .image-radio img { max-width: 41px; } }
@media (min-width: 1200px) { .image-radio img { max-width: 44px; } }

/* ---------- helper classes ---------- */
@media (max-width: 768px) {
	.text-right-xs { text-align: right; }
	.text-left-xs { text-align: left; }
	.text-center-xs { text-align: center; }
	.dropdown-menu.pull-left-xs { left: 0; right: auto; }
}
@media (min-width: 768px) {
	.text-right-sm { text-align: right; }
	.text-left-sm { text-align: left; }
	.text-center-sm { text-align: center; }
}
@media (min-width: 992px) {
	.text-right-md { text-align: right; }
	.text-left-md { text-align: left; }
	.text-center-md { text-align: center; }
}
@media (min-width: 1200px) {
	.text-right-lg { text-align: right; }
	.text-left-lg { text-align: left; }
	.text-center-lg { text-align: center; }
}
.visible-xs-inline { display: none; }
@media (max-width: 768px) { .visible-xs-inline { display: inline; } }

.display-table { display: table; width: 100%; height: 100%; }
.display-table-cell { display: table-cell; width: 100%; height: 100%; vertical-align: middle; }

.caretalt { transition: transform var(--t); }
.open .caretalt { transform: rotate(-180deg); }

/* ---------- top line ---------- */
#top {
	background: var(--c-bg-soft);
	border-bottom: 1px solid var(--c-border);
	padding-top: 6px;
	padding-bottom: 6px;
	font-size: 13px;
}
#top .btn-group { margin: 0 3px; }
#top .pull-left > div:first-child .btn-group { margin-left: 0; }
#top .pull-right > div:last-child .btn-group { margin-right: 0; }
#top .btn {
	background: transparent;
	color: var(--c-text-soft);
	line-height: 26px;
	border-color: transparent;
	font-weight: 500;
	padding: 0 10px;
}
#top .btn:hover, #top .open .btn {
	background: #fff;
	border-color: var(--c-border);
	color: var(--c-text);
}
#top .btn a { text-decoration: none; }
#top .btn img { vertical-align: baseline; }
#top .btn .badge {
	border-radius: 20px;
	background: var(--c-primary);
	color: #fff;
}
#top .btn .caretalt { color: var(--c-muted); }
#top .btn .icon { color: var(--c-muted); }
#top .btn:hover .icon { color: var(--c-accent); }
#top .dropdown-menu { z-index: 1012; min-width: 100%; }
@media (max-width: 768px) {
	#top .btn-group { margin-left: 2px; margin-right: 2px; }
	#top .btn { padding-left: 6px; padding-right: 6px; }
}

.dropdown-menu-icon {
	font-size: 14px;
	width: 20px;
	text-align: center;
	color: var(--c-muted);
	margin-left: -6px;
}
a:hover .dropdown-menu-icon { color: var(--c-accent); }
.list-group-icon { font-size: 14px; width: 20px; text-align: center; color: var(--c-muted); }
a:hover .list-group-icon { color: var(--c-accent); }
.card-icon {
	line-height: 42px;
	width: 50px;
	text-align: center;
	font-size: 36px;
	color: var(--c-muted);
	transition: color var(--t);
}
.well:hover .card-icon { color: var(--c-accent); }
.input-group-addon .fa { width: 18px; text-align: center; }

/* ---------- logo ---------- */
#logo { padding: 22px 0; position: relative; }
#logo img { margin-left: auto; margin-right: auto; }
@media (max-width: 992px) { #logo { padding: 20px 0 10px; } }
@media (min-width: 992px) { #logo img { margin-left: 0; } }

/* ---------- phone ---------- */
#phone { padding: 10px 0; position: relative; }
#phone .phone {
	font-size: 20px;
	font-weight: 700;
	line-height: 22px;
	letter-spacing: -.01em;
	position: relative;
	display: inline-block;
}
#phone .main-phone { cursor: pointer; }
#phone .phone .icon { color: var(--c-muted); font-size: 16px; }
#phone .hint {
	font-size: 13px;
	line-height: 14px;
	text-decoration: none;
	color: var(--c-text-soft);
}
#phone .allcontacts { min-width: 100%; margin-top: 8px; z-index: 1012; }
#phone .fu { width: 16px; text-align: center; padding: 1px 0; }
#phone .max16 { max-width: 16px; }
#phone .schedule { padding: 0 20px; }
@media (min-width: 992px) { #phone { padding: 30px 0; } }

/* ---------- header menu ---------- */
#header-menu { padding: 10px 0 20px; }
#header-menu .btn {
	line-height: 20px;
	font-size: 14px;
	font-weight: 600;
	color: var(--c-text);
	text-decoration: none;
	padding: 6px 12px;
}
#header-menu .btn span {
	border-bottom: 0;
	background:
		linear-gradient(var(--c-primary), var(--c-primary)) 0 100% / 0 2px no-repeat,
		linear-gradient(var(--c-border-strong), var(--c-border-strong)) 0 100% / 100% 1px no-repeat;
	padding-bottom: 3px;
	transition: background-size var(--t);
}
#header-menu .btn:hover span { background-size: 100% 2px, 100% 1px; }
#header-menu .btn:hover { color: var(--c-primary); }
#header-menu i { color: var(--c-muted); }
@media (min-width: 992px) { #header-menu { padding: 33px 0; } }

/* ---------- search ---------- */
#search { position: relative; margin-bottom: 20px; z-index: 1011; }
#search .btn { padding-top: 10px; padding-bottom: 10px; }
#search .form-control {
	height: 42px;
	border-color: var(--c-border-strong);
	box-shadow: none;
}
#search .form-control:focus { border-color: var(--c-primary); box-shadow: none; }
#change_category {
	background: var(--c-bg-soft);
	color: var(--c-text);
	font-size: 13px;
	font-weight: 500;
	line-height: 20px;
	border-right-width: 0;
	border-color: var(--c-border-strong);
}
#change_category:hover { background: #fff; }
#change_category .category-name {
	display: inline-block;
	vertical-align: bottom;
	max-width: 90px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
#search .btn .caret { color: var(--c-muted); }
#search-button {
	background: var(--c-bg-soft);
	color: var(--c-text);
	text-shadow: none;
	border-color: var(--c-border-strong);
	padding-left: 22px;
	padding-right: 22px;
}
#search-button:hover, #search-button:focus { background: #fff; color: var(--c-primary); border-color: var(--c-border-strong); }

/* ---------- cart ---------- */
#cart {
	position: relative;
	border-radius: var(--radius);
	margin-bottom: 20px;
	z-index: 1010;
}
#cart > .btn {
	background: url(../image/cart.png) left center no-repeat, var(--grad-primary);
	border: 0;
	color: #fff;
	border-radius: var(--radius);
	padding: 4px 15px 4px 10px;
	line-height: 32px;
	box-shadow: var(--shadow-primary);
}
#cart > .btn:hover, #cart.open > .btn {
	filter: brightness(.95);
	box-shadow: 0 4px 12px rgba(43,120,228,.22);
	color: #fff;
}
#cart > .btn > .fa { line-height: 32px; float: right; color: #fff; opacity: .7; }
#cart > .btn #cart-total {
	display: block;
	color: rgba(255,255,255,.7);
	text-align: left;
	margin-left: 40px;
	margin-right: 15px;
	font-weight: 500;
}
#cart > .btn #cart-total b { color: #fff; font-weight: 700; }
#cart .products, #cart .prices {
	line-height: 32px;
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: inline;
}
#cart .dropdown-menu { min-width: 100%; }
#cart .dropdown-menu table { margin-bottom: 10px; }
#cart .dropdown-menu li > div { min-width: 427px; padding: 0 10px; }
@media (min-width: 992px) {
	#cart .products, #cart .prices { line-height: 16px; font-size: 13px; display: block; }
}
@media (max-width: 478px) {
	#cart .dropdown-menu { width: 100%; }
	#cart .dropdown-menu li > div { min-width: 100%; }
}

/* ---------- catalog menu ---------- */
#menu {
	border-radius: var(--radius);
	margin-bottom: 20px;
	box-shadow: none;
	z-index: 1009;
}
#menu a { text-decoration: none; }
#menu .btn {
	background: var(--grad-primary);
	box-shadow: var(--shadow-primary);
	border: 0;
	color: #fff;
	font-weight: 700;
	text-align: left;
	text-shadow: none;
	border-radius: var(--radius);
	padding: 12px 20px;
	z-index: 1001;
	letter-spacing: .01em;
}
#menu .btn:hover, #menu .btn:focus { filter: brightness(.95); color: #fff; }
#menu.open .dropdown-toggle { box-shadow: none; }
#menu.open .btn { border-radius: var(--radius) var(--radius) 0 0; }
#menu .btn > .fa { float: right; line-height: 20px; }

#menu #menu-list {
	width: 100%;
	border: 1px solid var(--c-border);
	border-top: 0;
	border-radius: 0 0 var(--radius) var(--radius);
	padding: 4px 0;
	margin: 0;
	box-shadow: var(--shadow);
}
#menu #menu-list .arrow { color: var(--c-muted); line-height: 20px; float: right; font-size: 12px; }
#menu #menu-list > li > .with-child:hover .arrow,
#menu #menu-list > li > .with-child.hover .arrow { color: var(--c-accent); }
#menu #menu-list .count { font-size: .75em; color: var(--c-muted); margin-left: 3px; }
#menu #menu-list .livel-down { color: var(--c-border-strong); margin-right: 5px; }
#menu #menu-list > li { padding: 0; }
#menu #menu-list > li + li { border-top: 0; }
#menu #menu-list > li > a {
	padding: 9px 20px;
	white-space: normal;
	font-weight: 500;
	border-radius: 0;
}
#menu #menu-list > li > a:hover {
	background: var(--c-primary-soft);
	color: var(--c-primary);
	position: relative;
	z-index: 1009;
}
#menu #menu-list > li > a.hover {
	background: var(--c-primary-soft);
	color: var(--c-primary);
	position: relative;
	z-index: 1009;
}
#menu #menu-list > li:first-child > a { padding-top: 10px; }
#menu-home-helper { display: none; }
#menu #menu-list:hover { display: block; }
#menu #menu-list > li a .arrow { display: none; }
#menu #menu-list > li .with-child { margin-right: 39px; clear: none; }
#menu #menu-list > li .toggle-child {
	display: block;
	float: right;
	width: 38px;
	padding: 9px 0;
	text-align: center;
	color: var(--c-muted);
	cursor: pointer;
}
#menu #menu-list > li .toggle-child.open { background: var(--c-bg-soft); }
#menu #menu-list > li:first-child .toggle-child { padding: 10px 0 9px; }
#menu #menu-list > li .toggle-child .fa { float: none; }
#menu #menu-list > li .toggle-child .minus { display: none; }
#menu #menu-list > li .toggle-child.open .minus { display: inline; }
#menu #menu-list > li .toggle-child.open .plus { display: none; }
#menu #menu-list > li .with-child2 { margin-right: 40px; clear: none; }
#menu #menu-list > li .toggle-child2 {
	display: block;
	float: right;
	width: 38px;
	padding: 8px 0;
	text-align: center;
	color: var(--c-muted);
	cursor: pointer;
}
#menu #menu-list > li .toggle-child2.open { background: var(--c-bg-soft); }
#menu #menu-list > li .toggle-child2 .fa { float: none; }
#menu #menu-list > li .toggle-child2 .minus { display: none; }
#menu #menu-list > li .toggle-child2.open .minus { display: inline; }
#menu #menu-list > li .toggle-child2.open .plus { display: none; }
#menu #menu-list > li .child-box { padding: 0; display: none; }
#menu #menu-list > li .child-box-cell { padding: 0; border-top: 1px solid var(--c-border); }
#menu #menu-list > li .child-box h5 { margin: 0; }
#menu #menu-list > li .child-box h5 a { display: block; padding: 8px 20px; line-height: 1.43; }
#menu #menu-list > li .child-box-cell .child2-box { padding: 0; margin: 0; list-style: none; display: none; }
#menu #menu-list > li .child-box-cell .child2-box li { border-top: 1px solid var(--c-border); }
#menu #menu-list > li .child-box-cell .child2-box a {
	display: block;
	padding: 8px 20px 8px 35px;
	line-height: 1.43;
	color: var(--c-text-soft);
}
#menu #menu-list > li .child-box-cell .child2-box a:hover { color: var(--c-accent); }
#menu #menu-list > li .child-box a:hover { background: var(--c-bg-soft); }

@media (min-width: 992px) {
	#menu #menu-list > li > .with-child:hover:after,
	#menu #menu-list > li > .with-child.hover:after {
		content: "";
		position: absolute;
		right: -10px;
		top: 0;
		height: 100%;
		width: 20px;
		background: transparent;
		z-index: 1009;
	}
	#menu #menu-list > li > .with-child:hover,
	#menu #menu-list > li > .with-child.hover { background: var(--c-primary-soft); color: var(--c-primary); }

	#menu-list + #menuMask {
		display: none;
		position: fixed;
		left: 0; top: 0;
		height: 100%; width: 100%;
		background: #111;
		opacity: .25;
		z-index: 1038;
	}
	#menu-list:hover + #menuMask { display: block; }
	#menu-list:hover { z-index: 1039; }
	#menu:hover { z-index: 1039; }
	#menu:hover > .btn { z-index: 1039; }
	#menu-list:hover #menu-list { z-index: 1039; }

	.blured .content-wrapper,
	.blured footer,
	.blured header #top,
	.blured header .logo-line,
	.blured header .search-box,
	.blured header .cart-box {
		-webkit-filter: blur(2px);
		filter: blur(2px);
	}

	#menu #menu-list > li a .arrow { display: block; }
	#menu #menu-list > li .toggle-child { display: none; }
	#menu #menu-list > li .toggle-child2 { display: none; }
	#menu #menu-list > li .with-child { margin-right: 0; }
	#menu #menu-list > li .with-child2 { margin-right: 0; }
	#menu #menu-list > li .child2-box { display: block; }
	#menu #menu-list > li .child-box {
		display: none;
		background: #fff;
		position: absolute;
		left: 100%;
		top: -5px;
		min-height: 100%;
		border: 1px solid var(--c-border);
		border-radius: var(--radius);
		padding: 10px 0;
		margin-top: -1px;
		margin-left: -3px;
		box-shadow: var(--shadow-lg);
		box-sizing: content-box;
		z-index: 1008;
	}
	/* «мостик», чтобы подменю не закрывалось при переходе курсора */
	#menu #menu-list > li .child-box:before {
		content: "";
		position: absolute;
		left: -10px; top: 0;
		width: 10px; height: 100%;
	}
	#menu #menu-list > li:hover > .child-box { display: block; }
	#menu #menu-list > li .child-box > .row { padding: 4px 22px; }
	#menu #menu-list > li .child-box .row > .col-md-12:nth-child(1) .child-box-cell,
	#menu #menu-list > li .child-box .row > .col-md-6:nth-child(1) .child-box-cell,
	#menu #menu-list > li .child-box .row > .col-md-6:nth-child(2) .child-box-cell,
	#menu #menu-list > li .child-box .row > .col-md-4:nth-child(1) .child-box-cell,
	#menu #menu-list > li .child-box .row > .col-md-4:nth-child(2) .child-box-cell,
	#menu #menu-list > li .child-box .row > .col-md-4:nth-child(3) .child-box-cell { border-top: none; }
	#menu #menu-list > li .child-box h5 { margin: 10px 0 6px; }
	#menu #menu-list > li .child-box h5 a {
		display: inline;
		padding: 0;
		font-weight: 700;
		line-height: 1.43;
	}
	#menu #menu-list > li .child-box h5 a:hover { background: none; color: var(--c-accent); }
	#menu #menu-list > li .child-box-cell .child2-box {
		padding: 0 0 10px;
		margin: 0;
		list-style: none;
		display: block;
	}
	#menu #menu-list > li .child-box-cell .child2-box li { border-top: none; }
	#menu #menu-list > li .child-box-cell .child2-box a {
		display: inline-block;
		padding: 2px 0;
		line-height: 1.43;
	}
	#menu #menu-list > li .child-box a:hover { background: none; }
	.common-home #menu #menu-list { display: block; }
	#menu-home-helper { display: block; margin-bottom: 20px; }
	.common-home #menu .btn { border-radius: var(--radius) var(--radius) 0 0; }
	.box-col-3 { width: 331.2%; }
	.box-col-2 { width: 220%; }
	.box-col-1 { width: 110%; }
}
@media (min-width: 1200px) { .box-col-3 { width: 325.4%; } }

/* ---------- layout ---------- */
#content { min-height: 400px; }

/* левая колонка: категории */
#column-left .list-group,
#column-right .list-group {
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	padding: 8px;
	margin-bottom: 20px;
	box-shadow: var(--shadow-sm);
}
#column-left .list-group-item,
#column-right .list-group-item {
	position: relative;
	display: block;
	border: 0 !important;
	border-radius: var(--radius-sm) !important;
	margin: 0 0 2px;
	padding: 9px 14px;
	background: transparent;
	color: var(--c-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	box-shadow: none;
	transition: background-color var(--t), color var(--t), padding-left var(--t);
}
#column-left .list-group-item:last-child,
#column-right .list-group-item:last-child { margin-bottom: 0; }
#column-left a.list-group-item:hover,
#column-right a.list-group-item:hover {
	background: var(--c-bg-soft);
	color: var(--c-primary);
	padding-left: 18px;
}
#column-left .list-group-item.active,
#column-left .list-group-item.active:hover,
#column-left .list-group-item.active:focus,
#column-right .list-group-item.active,
#column-right .list-group-item.active:hover,
#column-right .list-group-item.active:focus {
	background: var(--c-primary-soft);
	color: var(--c-primary);
	font-weight: 600;
	box-shadow: none;
	padding-left: 18px;
}
/* маленькая метка слева у активного пункта */
#column-left .list-group-item.active:before,
#column-right .list-group-item.active:before {
	content: "";
	position: absolute;
	left: 7px;
	top: 50%;
	width: 4px;
	height: 16px;
	margin-top: -8px;
	border-radius: 4px;
	background: var(--c-primary);
}

/* ---------- buttons ---------- */
.btn-addtocart {
	color: var(--c-text);
	background: #fff;
	border: 1px solid var(--c-border-strong);
	padding: 7px 14px;
}
.btn-addtocart:hover, .btn-addtocart:active, .btn-addtocart.active,
.open > .dropdown-toggle.btn-addtocart {
	color: #fff;
	background: var(--c-primary);
	border-color: var(--c-primary);
}
.btn-wc { text-align: left; }

/* ---------- product cards (common) ---------- */
.product-thumb {
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	background: #fff;
	overflow: hidden;
	margin-bottom: 24px;
	transition: box-shadow var(--t), border-color var(--t), transform var(--t);
}
.product-thumb .image { position: relative; overflow: hidden; }
.product-thumb .image img { transition: transform .5s var(--ease); }
.product-thumb:hover .image img { transform: scale(1.04); }
.product-thumb .caption { padding: 14px 16px 6px; min-height: 0; }
.product-thumb .button-group {
	border-top: 0;
	background: none;
	padding: 0 16px 16px;
	overflow: visible;
}
.product-thumb .button-group button {
	background: #fff;
	border: 1px solid var(--c-border-strong);
	border-radius: var(--radius-sm);
	color: var(--c-text);
	font-weight: 600;
	transition: all var(--t);
}
.product-thumb .button-group button:hover {
	background: var(--c-primary);
	border-color: var(--c-primary);
	color: #fff;
}

/* ---------- box product (modules) ---------- */
.box-product { border-radius: var(--radius); border-color: var(--c-border); }
.box-product .panel-heading {
	overflow: hidden;
	font-size: 18px;
	font-weight: 700;
	line-height: 22px;
	text-overflow: ellipsis;
	white-space: nowrap;
	border-radius: var(--radius) var(--radius) 0 0;
	padding: 14px 60px 14px 16px;
	margin: 0;
}
.box-product .panel-body { padding: 0; }
.box-product .product-item { position: relative; text-align: left; padding: 0; }
.box-product .product-item .image {
	position: relative;
	padding: 10px 15px;
	min-height: 190px;
	overflow: hidden;
}
.box-product .product-item .image img {
	margin: 0 auto;
	max-width: 180px;
	transition: transform .5s var(--ease);
}
.box-product .product-item:hover .image img { transform: scale(1.04); }
.box-product .product-item .image .sticker {
	position: absolute;
	background: var(--c-accent);
	left: 12px;
	top: 12px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	padding: 4px 10px;
	border-radius: 20px;
	box-shadow: none;
	opacity: 1;
	z-index: 2;
}
.box-product .product-item .image .sticker:after { display: none; }
.box-product .product-item .caption { padding: 0 16px 10px; }
.box-product .product-item h4 {
	position: relative;
	overflow: hidden;
	height: 40px;
	margin: 0 0 8px;
}
.box-product .product-item h4 a {
	display: block;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}
.box-product .product-item .price { font-size: 18px; font-weight: 700; color: var(--c-text); }
.box-product .product-item .price-old {
	color: var(--c-muted);
	font-size: 14px;
	font-weight: 400;
	text-decoration: line-through;
	margin-left: 6px;
}
.box-product .product-item .price-new { font-weight: 700; color: var(--c-accent); }
.box-product .product-item .price-tax { color: var(--c-text-soft); font-size: 13px; font-weight: 400; }
.box-product .product-item .buttons { padding: 0 16px 16px; }
.box-product .product-item:hover .btn-addtocart {
	background: var(--c-primary);
	color: #fff;
	border-color: var(--c-primary);
}
.box-product .product-item:hover .btn-addtocart:hover,
.box-product .product-item:hover .btn-addtocart:active,
.box-product .product-item:hover .btn-addtocart.active {
	color: #fff;
	background: var(--c-primary-hover);
	border-color: var(--c-primary-hover);
}
form > .buttons { margin-bottom: 20px; }

/* ---------- product page ---------- */
.inline-info {
	display: inline-block;
	margin-right: 25px;
	font-size: 13px;
	color: var(--c-text-soft);
}
.inline-info b { font-weight: 600; color: var(--c-text); }
.inline-info-right { display: inline-block; font-size: 13px; }
.inline-info-right .stars {
	display: inline-block;
	color: var(--c-border-strong);
	font-size: 14px;
	margin-right: 7px;
	text-shadow: none;
}
.inline-info-right .stars .active { color: var(--c-star); text-shadow: none; }
@media (min-width: 992px) { .inline-info-right { float: right; } }

.prod-rat { font-size: 0; color: var(--c-border-strong); display: inline-block; vertical-align: middle; }
.prod-rat * { margin: 0; }
.prod-rat input { display: none; }
.prod-rat label .fa { font-size: 26px; padding: 2px 4px 2px 0; cursor: pointer; transition: color var(--t); }
.rat-star.active { color: var(--c-star) !important; text-shadow: none; }
.rat-star.checked { color: var(--c-star); text-shadow: none; }

.thumbnails { background: #fff; margin-bottom: 20px; }
.thumbnails .main-image {
	display: block;
	text-align: center;
	margin-bottom: 12px;
	border-radius: var(--radius);
	overflow: hidden;
}
.thumbnail {
	border-color: var(--c-border);
	border-radius: var(--radius-sm);
	transition: border-color var(--t);
}
a.thumbnail:hover, a.thumbnail:focus { border-color: var(--c-primary); }
.images-additional { text-align: left; font-size: 0; margin-left: -6px; }
.images-additional .thumbnail { display: inline-block; margin-left: 6px; margin-bottom: 6px; }

#product .price h2 { margin-top: 0; margin-bottom: 15px; font-size: 30px; font-weight: 800; }
#product .price .price-old {
	color: var(--c-muted);
	text-decoration: line-through;
	font-size: 16px;
	font-weight: 400;
	display: block;
	margin-bottom: 5px;
}
#product .price .tax,
#product .price .points {
	color: var(--c-text-soft);
	font-size: 13px;
	font-weight: 400;
	display: block;
	margin-top: 10px;
}
/* опции (размер, цвет) — «чипы» */
#product .radio-checbox-options { display: inline-block; }
#product .radio-checbox-options input { display: none; }
#product .radio-checbox-options label {
	min-width: 44px;
	padding: 7px 12px;
	margin: 0 6px 6px 0;
	display: inline-block;
	text-align: center;
	border-radius: var(--radius-sm);
	border: 1px solid var(--c-border-strong);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all var(--t);
}
#product .radio-checbox-options label:hover { background: var(--c-bg-soft); border-color: var(--c-text); }
#product .radio-checbox-options label .option-price {
	padding: 0 5px;
	font-size: 11px;
	display: inline-block;
	background: var(--c-bg-soft);
	border-radius: 4px;
}
#product .radio-checbox-options label:hover .option-price { background: #fff; }
#product .radio-checbox-options input:checked + label {
	color: #fff;
	background: var(--c-primary);
	border-color: var(--c-primary);
}
#product .radio-checbox-options input:checked + label .option-price { background: rgba(255,255,255,.2); }

.quantity-plus-minus { padding: 0; background: #fff; }
.quantity-plus-minus .btn {
	display: block;
	padding: 0;
	border-radius: 0;
	line-height: 20px;
	background: var(--c-bg-soft);
	width: 28px;
	text-align: center;
	border-color: var(--c-border-strong);
	font-weight: 700;
}
.quantity-plus-minus .btn:hover { background: var(--c-border); }
.quantity-plus-minus .btn:first-child { border-radius: var(--radius-sm) 0 0 0; border-bottom-color: var(--c-border); }
.quantity-plus-minus .btn:last-child { border-radius: 0 0 0 var(--radius-sm); }
@media (max-width: 992px) { .quantity { margin-bottom: 10px; } }

.related-products { border-color: var(--c-border); }

.product-tabs { border-bottom: 1px solid var(--c-border); }
.product-tabs > li > a {
	border: 0;
	border-bottom: 2px solid transparent;
	background: none;
	color: var(--c-text-soft);
	font-weight: 600;
	margin: 0 20px -1px 0;
	padding: 12px 2px;
	border-radius: 0;
}
.product-tabs > li > a:hover { border-color: transparent; border-bottom-color: var(--c-border-strong); background: none; color: var(--c-text); }
.product-tabs > li.active > a,
.product-tabs > li.active > a:hover,
.product-tabs > li.active > a:focus {
	border: 0;
	border-bottom: 2px solid var(--c-primary);
	color: var(--c-text);
	background: none;
	box-shadow: none;
	padding: 12px 2px;
	margin-top: 0;
}
.product-tabs > li.active > a:after { display: none; }
.tab-content { padding: 20px 0; }

.capcha { padding: 0; overflow: hidden; }
.capcha img { margin: -2px -1px -1px -1px; }
#category-column-left #column-left { width: 100%; padding: 0; }

/* ---------- filter module ---------- */
.filter-item { padding: 4px 8px; margin: 0; border-radius: 6px; transition: background-color var(--t); }
.filter-name { margin: 0 0 0 24px; }
.filter-total { font-size: .8em; color: var(--c-muted); vertical-align: bottom; }
.filter-item:hover { background: var(--c-bg-soft); }
.module-filter input[type="checkbox"] { display: none; }
.module-filter input[type="checkbox"] + label {
	font-weight: 500;
	cursor: pointer;
	display: block;
	margin: 0;
	line-height: 22px;
}
.module-filter input[type="checkbox"] + label .check-icon {
	display: block;
	float: left;
	line-height: 22px;
	width: 22px;
	color: var(--c-border-strong);
}
.module-filter .filter-item:hover .check-icon { color: var(--c-text); }
.module-filter input[type="checkbox"] + label .check { display: none; }
.module-filter input[type="checkbox"]:checked + label .check { display: inline-block; color: var(--c-primary); }
.module-filter input[type="checkbox"]:checked + label .uncheck { display: none; }
.filter-toggle { cursor: pointer; color: var(--c-muted); }
.filter-toggle:hover { color: var(--c-text); }
.filter-toggle .on { display: block; line-height: 20px; }
.filter-toggle .off { display: none; }
.filter-toggle.collapsed .on { display: none; }
.filter-toggle.collapsed .off { display: block; line-height: 20px; }

/* ---------- custom blocks (преимущества) ---------- */
.custom-blocks .custom-block {
	overflow: hidden;
	border-radius: var(--radius);
	border: 1px solid var(--c-border);
	box-shadow: none;
	margin-bottom: 20px;
	padding: 16px 18px;
	background: var(--c-bg-soft);
	transition: background-color var(--t), box-shadow var(--t);
}
.custom-blocks .custom-block:hover { background: #fff; border-color: var(--c-primary-soft); box-shadow: var(--shadow); }
.custom-blocks .custom-block:hover h4 { color: var(--c-primary); }
.custom-block .image { width: 50px; float: left; }
.custom-block .text { margin-left: 65px; }
.custom-block a, .custom-block a:hover { text-decoration: none; }
.custom-block .text h4 {
	margin: 0;
	padding: 0 0 4px;
	border-bottom: 0;
	height: 24px;
	overflow: hidden;
	font-weight: 700;
	font-size: 16px;
}
.custom-block .text p {
	margin: 2px 0 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.4;
	height: 36px;
	overflow: hidden;
	color: var(--c-text-soft);
}

/* ---------- subcategories ---------- */
.subcategory {
	padding: 8px 10px;
	border-radius: var(--radius);
	border-color: var(--c-border);
	transition: box-shadow var(--t), border-color var(--t);
}
.subcategory:hover { border-color: var(--c-border-strong); box-shadow: var(--shadow); }
.subcategory img { max-width: 95px; border-radius: var(--radius-sm); }
.subcategory .no-image {
	font-size: 28px;
	line-height: 60px;
	width: 60px;
	text-align: center;
	color: var(--c-border-strong);
}
.subcategory .name-wrapper { margin-left: 95px; height: 95px; }
.subcategory h5 { line-height: 1.35; font-weight: 600; }

/* ---------- category: list / grid ---------- */
.product-layout .image { padding: 0; }
.product-layout .caption h4 > a { font-size: 15px; font-weight: 500; }

.product-layout:hover .btn-addtocart {
	color: #fff;
	background: var(--c-primary);
	border-color: var(--c-primary);
}
.product-layout:hover .btn-addtocart:hover,
.product-layout:hover .btn-addtocart:active,
.product-layout:hover .btn-addtocart.active,
.product-layout:hover .open > .dropdown-toggle.btn-addtocart {
	color: #fff;
	background: var(--c-primary-hover);
	border-color: var(--c-primary-hover);
}

.product-grid .description { display: none; }
.product-grid .caption h4 {
	margin: 0 0 6px;
	position: relative;
	height: 42px;
	overflow: hidden;
}
.product-grid .caption h4 a { display: block; font-size: 15px; line-height: 21px; }

.product-layout .caption .price {
	font-size: 18px;
	font-weight: 700;
	color: var(--c-text);
	margin-bottom: 6px;
}
.product-layout .caption .price .price-old {
	text-decoration: line-through;
	color: var(--c-muted);
	font-size: 14px;
	font-weight: 400;
	margin-left: 6px;
}
.product-layout .caption .price .price-new { font-weight: 700; color: var(--c-accent); }
.product-layout .caption .price .price-tax { color: var(--c-text-soft); font-size: 13px; font-weight: 400; }
.product-layout .caption .rating { color: var(--c-border-strong); }
.product-layout .caption .rating .active { color: var(--c-star); text-shadow: none; }

@media (min-width: 992px) {
	.product-list .image { float: left; margin-right: 24px; }
	.product-list .image img { max-width: 220px; }
	.product-layout .product-thumb:hover {
		border-color: transparent;
		box-shadow: var(--shadow-lg);
		transform: translateY(-3px);
	}
}

/* ---------- slideshow ---------- */
.slideshow {
	border: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin-bottom: 24px;
	position: relative;
}
@media (min-width: 992px) {
	.common-home .slideshow .nivoSlider { left: 50%; margin-left: -424px; width: 848px; }
}
@media (min-width: 1200px) {
	.common-home .slideshow .nivoSlider { left: auto; margin-left: 0; width: auto; }
}
.slideshow .nivo-controlNav {
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 12px 16px;
	z-index: 999;
	text-align: center;
	width: 100%;
	font-size: 0;
	line-height: 0;
	letter-spacing: -1px;
}
@media (min-width: 992px) { .slideshow .nivo-controlNav { text-align: right; } }
.slideshow .nivo-controlNav .nivo-control {
	background: rgba(255,255,255,.6);
	margin: 3px;
	width: 8px;
	height: 8px;
	line-height: 8px;
	display: inline-block;
	text-align: center;
	font-size: 0;
	border-radius: 8px;
	text-decoration: none;
	transition: width var(--t), background-color var(--t);
}
.slideshow .nivo-controlNav .nivo-control:hover,
.slideshow .nivo-controlNav .nivo-control.active {
	background: #fff;
	width: 24px;
	color: #fff;
	text-decoration: none;
}
.slideshow .nivo-slice[name="0"] { border-radius: var(--radius-lg); }

.banner { margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; }

/* ---------- footer ---------- */
.footer-box {
	background: #fff;
	position: relative;
	z-index: 2;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: 36px 36px 24px;
	margin-bottom: 24px;
	margin-top: 32px;
	font-size: 14px;
}
#footer-map + .container > .footer-box { margin-top: 0; }
.footer-box h5 {
	font-size: 13px;
	font-weight: 700;
	line-height: 20px;
	text-transform: uppercase;
	letter-spacing: .08em;
	margin-bottom: 14px;
}
.footer-box h5 span { vertical-align: bottom; border-bottom: 2px solid var(--c-primary); padding-bottom: 4px; }
.footer-box hr { border-color: var(--c-border); }
.footer-box li { margin: 5px 0; }
.footer-box a { color: var(--c-text-soft); }
.footer-box a:hover { color: var(--c-text); }
.footer-box .glyphicon,
.footer-box .fa {
	font-size: 14px;
	line-height: 20px;
	vertical-align: bottom;
	color: var(--c-primary);
	margin-right: 10px;
}

.pay-icons { margin: 5px 0 0; }
.pay-icons li { display: inline-block; opacity: .8; transition: opacity var(--t); }
.pay-icons li:hover { opacity: 1; }

.boxe .faboxe { float: right; font-size: 15px; }
.boxe .fabox { float: right; font-size: 15px; }

/* соцсети (спрайты) */
.footer-box .tw,
.footer-box .ok,
.footer-box .yu,
.footer-box .fbk {
	width: 40px;
	height: 40px;
	margin: 5px;
	float: left;
	opacity: .55;
	border-radius: 50%;
	transition: opacity var(--t);
}
.footer-box .ok { width: 41px; }
.footer-box .tw  { background: url(../image/tw.png) 0 0 no-repeat; }
.footer-box .ok  { background: url(../image/ok.png) 0 0 no-repeat; }
.footer-box .yu  { background: url(../image/vc.png) 0 0 no-repeat; }
.footer-box .fbk { background: url(../image/fb.png) 0 0 no-repeat; }
.footer-box .tw:hover,
.footer-box .ok:hover,
.footer-box .fbk:hover { background-position: 0 -40px; opacity: 1; }
.footer-box .yu:hover { background-position: 0 -41px; opacity: 1; }

/* ---------- footer map ---------- */
#footer-map { background: #fff; position: relative; }
#footer-map .close-map {
	position: absolute;
	top: 47px;
	right: 10px;
	display: none;
	font-family: inherit;
}
#footer-map .close-map .btn-contacts { width: 200px; }
#footer-map .map-toogle {
	position: absolute;
	bottom: -26px;
	left: 50%;
	margin-left: -24px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 0;
	padding: 4px;
	background: #fff;
	box-shadow: var(--shadow);
	z-index: 3;
}
#footer-map .map-toogle:before { display: none; }
#footer-map .map-toogle a {
	position: relative;
	z-index: 4;
	display: block;
	border-radius: 50%;
	height: 100%;
	width: 100%;
	background: var(--c-primary);
	color: #fff;
	font-size: 14px;
	line-height: 40px;
	text-align: center;
	box-shadow: none;
	cursor: pointer;
	transition: background-color var(--t);
}
#footer-map .map-toogle a:hover { background: var(--c-accent); }
#footer-map .glass,
#footer-map .glass:before,
#footer-map .glass:after {
	position: absolute;
	top: 0; left: 0;
	height: 100%; width: 100%;
}
#footer-map .glass:before {
	content: "";
	background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 50%, #fff 100%);
}
#footer-map .glass:after {
	content: "";
	background: linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0) 100%);
}
#footer-map .map-content {
	position: relative;
	height: 80px;
	overflow: hidden;
	opacity: 1;
}
#footer-map .map-content > ymaps { width: auto !important; height: 100% !important; }
#footer-map .ymaps-2-1-29-copyrights-pane { display: none; }
#footer-map .ymaps-2-1-29-controls-pane { opacity: 0; }
.map-open { overflow: hidden; }
.map-open #footer-map .container { width: 100%; padding: 0; }
.map-open #footer-map .close-map { display: block; }
.map-open #footer-map .glass { visibility: hidden; }
.map-open #footer-map .ymaps-2-1-29-controls-pane { opacity: 1; }

/* ---------- scroll top ---------- */
#scroll-top-button {
	display: none;
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 46px;
	height: 46px;
	line-height: 46px;
	text-align: center;
	border-radius: 50%;
	background: var(--grad-primary);
	color: #fff;
	box-shadow: var(--shadow-primary);
	z-index: 99999;
	cursor: pointer;
	transition: background-color var(--t), transform var(--t);
}
#scroll-top-button:hover { background: var(--c-primary-hover); transform: translateY(-2px); color: #fff; }
#scroll-top-button .fa { font-size: 20px; line-height: 46px; }

/* ---------- кнопки в карточке товара ---------- */
.product-layout .btn-group,
.product-layout .button-group,
.box-product .product-item .buttons .btn-group {
	display: flex !important;
	flex-wrap: wrap;
	gap: 6px;
	width: 100%;
	float: none;
}
.product-layout .btn-group > .btn,
.product-layout .button-group > .btn,
.box-product .product-item .buttons .btn-group > .btn {
	flex: 1 1 auto;
	float: none !important;
	margin: 0 !important;
	padding: 9px 10px;
	font-size: 13px;
	font-weight: 600;
	line-height: 18px;
	white-space: nowrap;
	text-align: center;
	border-radius: var(--radius-sm) !important;
	background: #fff !important;
	color: var(--c-text) !important;
	border: 1px solid var(--c-border-strong) !important;
	box-shadow: none !important;
	text-shadow: none;
}
.product-layout .btn-group > .btn:hover,
.product-layout .button-group > .btn:hover,
.box-product .product-item .buttons .btn-group > .btn:hover {
	border-color: var(--c-primary) !important;
	color: var(--c-primary) !important;
}
/* «В корзину» — основная кнопка */
.product-layout .btn-group > .btn-addtocart,
.product-layout .button-group > .btn-addtocart,
.box-product .product-item .buttons .btn-group > .btn-addtocart {
	background: var(--c-primary) !important;
	border-color: var(--c-primary) !important;
	color: #fff !important;
}
.product-layout .btn-group > .btn-addtocart:hover,
.product-layout .button-group > .btn-addtocart:hover,
.box-product .product-item .buttons .btn-group > .btn-addtocart:hover {
	background: var(--c-primary-hover) !important;
	border-color: var(--c-primary-hover) !important;
	color: #fff !important;
}
.product-layout .btn-group > .btn .fa { margin-right: 4px; }

/* ---------- переключатель Список / Сетка ---------- */
#list-view, #grid-view {
	background: #fff;
	color: var(--c-text-soft);
	border-color: var(--c-border-strong);
}
#list-view:hover, #grid-view:hover { color: var(--c-text); background: var(--c-bg-soft); }
#list-view.btn-danger, #grid-view.btn-danger,
#list-view.active, #grid-view.active,
#list-view.btn-primary, #grid-view.btn-primary {
	background: var(--c-bg-soft);
	color: var(--c-primary);
	border-color: var(--c-border-strong);
	box-shadow: inset 0 -2px 0 var(--c-primary);
}

/* ---------- слайдер цены в фильтре (jQuery UI) ---------- */
#column-left .ui-slider,
#column-right .ui-slider { background: var(--c-border); border: 0; height: 4px; border-radius: 4px; }
#column-left .ui-slider .ui-slider-range,
#column-right .ui-slider .ui-slider-range { background: var(--c-primary); border-radius: 4px; }
#column-left .ui-slider .ui-slider-handle,
#column-right .ui-slider .ui-slider-handle {
	background: #fff;
	border: 2px solid var(--c-primary);
	border-radius: 50%;
	box-shadow: var(--shadow-sm);
	cursor: pointer;
}

/* =========================================================
   КОРЗИНА И ОФОРМЛЕНИЕ ЗАКАЗА
   ========================================================= */
input[type="radio"], input[type="checkbox"] { accent-color: var(--c-primary); }

/* блоки (Доставка, Корзина, Данные клиента и т.д.) */
.panel-primary,
.panel-info,
.panel-default {
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	margin-bottom: 20px;
}
.panel-primary > .panel-heading,
.panel-info > .panel-heading {
	background: #fff;
	color: var(--c-text);
	border-bottom: 1px solid var(--c-border);
	border-radius: var(--radius) var(--radius) 0 0;
	padding: 14px 18px;
	font-size: 16px;
	font-weight: 700;
}
.panel-primary > .panel-heading .panel-title,
.panel-info > .panel-heading .panel-title { font-size: 16px; font-weight: 700; color: var(--c-text); }
.panel-primary > .panel-heading .fa,
.panel-primary > .panel-heading .glyphicon,
.panel-info > .panel-heading .fa { color: var(--c-primary); margin-right: 6px; }
.panel-primary > .panel-heading a,
.panel-info > .panel-heading a { color: var(--c-text); }
.panel-primary > .panel-heading + .panel-collapse > .panel-body { border-top-color: var(--c-border); }
.panel-body { padding: 18px; }
.panel-footer {
	background: var(--c-bg-soft);
	border-top: 1px solid var(--c-border);
	border-radius: 0 0 var(--radius) var(--radius);
}

/* таблица товаров */
.table-bordered { border: 0; }
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > th,
.table-bordered > tfoot > tr > td {
	border-left: 0;
	border-right: 0;
	border-color: var(--c-border);
	vertical-align: middle;
	padding: 12px 10px;
}
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td,
.table > thead > tr > td {
	background: var(--c-bg-soft);
	color: var(--c-text-soft);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	border-bottom-width: 1px;
}
.table > tbody > tr > td a { color: var(--c-text); font-weight: 600; }
.table > tbody > tr > td a:hover { color: var(--c-primary); }
.table .img-thumbnail {
	border-color: var(--c-border);
	border-radius: var(--radius-sm);
	padding: 3px;
}
.table-hover > tbody > tr:hover { background: var(--c-bg-soft); }

/* количество: − [ 1 ] + × */
.table .input-group,
.checkout-cart .input-group { max-width: 200px; }
.table .input-group .form-control {
	height: 36px;
	text-align: center;
	font-weight: 600;
	border-color: var(--c-border-strong);
	border-radius: 0;
	box-shadow: none;
}
.table .input-group-btn > .btn {
	height: 36px;
	min-width: 34px;
	padding: 0 10px;
	background: var(--c-bg-soft) !important;
	color: var(--c-text) !important;
	border: 1px solid var(--c-border-strong) !important;
	box-shadow: none !important;
	text-shadow: none;
}
.table .input-group-btn > .btn:hover {
	background: #fff !important;
	color: var(--c-primary) !important;
}
.table .input-group-btn > .btn-danger {
	background: var(--c-primary-soft) !important;
	color: var(--c-primary) !important;
	border-color: #cfe1f8 !important;
}
.table .input-group-btn > .btn-danger:hover {
	background: var(--c-primary) !important;
	color: #fff !important;
	border-color: var(--c-primary) !important;
}
.table .input-group-btn:first-child > .btn { border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important; }
.table .input-group-btn:last-child > .btn:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important; }
.table .input-group-btn:last-child > .btn:not(:last-child) { border-radius: 0 !important; }

/* итоги */
.table > tfoot > tr > td,
.table tr.total td,
.table tr:last-child td strong { font-size: 15px; }
.table > tfoot > tr:last-child > td,
.table > tbody > tr:last-child > td strong {
	color: var(--c-text);
	font-weight: 800;
}

/* поля формы клиента */
.form-horizontal .control-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--c-text-soft);
	padding-top: 10px;
}
.form-group { margin-bottom: 14px; }
.form-control::placeholder { color: var(--c-muted); }
.has-error .form-control { border-color: var(--c-primary); }
.has-error .help-block, .text-danger { color: var(--c-primary); }
textarea.form-control { border-radius: var(--radius-sm); min-height: 90px; }

/* радио-кнопки способов доставки/оплаты */
.radio label, .checkbox label {
	font-weight: 500;
	padding: 2px 0 2px 22px;
}

/* главные кнопки оформления */
.btn-primary,
.btn-primary:focus {
	background: var(--grad-primary) !important;
	border-color: var(--c-primary) !important;
	color: #fff !important;
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary.active {
	background: var(--c-primary-hover) !important;
	border-color: var(--c-primary-hover) !important;
	color: #fff !important;
}
.btn-lg { padding: 12px 24px; font-size: 16px; border-radius: var(--radius) !important; }
.buttons .btn-primary,
#button-confirm,
#simplecheckout_button_confirm,
.simplecheckout-button-right .button { font-weight: 700; padding: 11px 28px; }

/* уведомления */
.alert-success { background: #ecf8f0; border-color: #c8ebd4; color: #1f7a45; }
.alert-danger  { background: var(--c-primary-soft); border-color: #cfe1f8; color: var(--c-primary-hover); }
.alert-info    { background: #eef4fb; border-color: #d3e3f5; color: #2c5d8f; }
.alert-warning { background: #fff7e6; border-color: #fde3b0; color: #8a5a00; }

/* ---------- d_quickcheckout (оформление заказа) ---------- */
.qc-step .panel,
#d_quickcheckout .panel {
	border: 1px solid var(--c-border) !important;
	border-radius: var(--radius) !important;
	box-shadow: var(--shadow-sm) !important;
	background: #fff !important;
	overflow: hidden;
	margin-bottom: 20px;
}
.qc-step .panel > .panel-heading,
#d_quickcheckout .panel > .panel-heading {
	background: #fff !important;
	color: var(--c-text) !important;
	border-bottom: 1px solid var(--c-border) !important;
	border-radius: 0 !important;
	padding: 14px 18px !important;
	box-shadow: none !important;
	text-shadow: none !important;
}
.qc-step .panel-heading .panel-title,
#d_quickcheckout .panel-heading .panel-title {
	color: var(--c-text) !important;
	font-size: 16px;
	font-weight: 700;
}
.qc-step .panel-heading .icon,
.qc-step .panel-heading .icon .fa,
#d_quickcheckout .panel-heading .icon .fa {
	color: var(--c-primary) !important;
	margin-right: 4px;
}
.qc-step .panel-body { padding: 18px !important; }

/* кнопка «Вход» */
.qc-step .login-btn-group { margin-bottom: 16px; }
.qc-step .login-btn-group .btn {
	background: #fff !important;
	background-image: none !important;
	border: 1px solid var(--c-border-strong) !important;
	border-radius: var(--radius-sm) !important;
	color: var(--c-text) !important;
	font-weight: 600;
	padding: 10px 14px;
	box-shadow: none !important;
	text-shadow: none !important;
}
.qc-step .login-btn-group .btn:hover {
	border-color: var(--c-primary) !important;
	color: var(--c-primary) !important;
}

/* поля клиента */
.qc-step .form-group { margin-bottom: 12px; }
.qc-step .control-label {
	font-size: 13px;
	font-weight: 600 !important;
	color: var(--c-text-soft) !important;
	padding-top: 11px;
	text-align: left !important;
}
.qc-step .form-control {
	border: 1px solid var(--c-border-strong) !important;
	border-radius: var(--radius-sm) !important;
	box-shadow: none !important;
	height: 42px;
}
.qc-step textarea.form-control { height: auto; min-height: 90px; }
.qc-step .form-control:focus {
	border-color: var(--c-primary) !important;
	box-shadow: 0 0 0 3px rgba(43,120,228,.12) !important;
}
.qc-step .required .control-label .text:before,
.qc-step .required > div > .control-label:before { color: var(--c-primary) !important; }
.qc-step .radio label { font-size: 14px; font-weight: 500; color: var(--c-text); }

/* таблица корзины */
.qc-cart {
	border: 1px solid var(--c-border) !important;
	border-radius: var(--radius-sm);
	border-collapse: separate !important;
	border-spacing: 0;
	overflow: hidden;
	margin-bottom: 16px;
}
.qc-cart > thead > tr > td,
.qc-cart > tbody > tr > td {
	border: 0 !important;
	border-bottom: 1px solid var(--c-border) !important;
	vertical-align: middle !important;
	padding: 12px 10px !important;
}
.qc-cart > tbody > tr:last-child > td { border-bottom: 0 !important; }
.qc-cart > thead > tr > td {
	background: var(--c-bg-soft) !important;
	color: var(--c-text-soft) !important;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	white-space: nowrap;
}
.qc-cart .qc-image { width: 80px; }
.qc-cart .qc-image img {
	max-width: 64px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--c-border);
	padding: 2px;
	background: #fff;
}
.qc-cart .qc-name a {
	color: var(--c-text) !important;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
}
.qc-cart .qc-name a:hover { color: var(--c-primary) !important; }
.qc-cart .qc-price,
.qc-cart .qc-total { white-space: nowrap; font-size: 14px; }
.qc-cart > tbody .qc-total { font-weight: 700; color: var(--c-text); }

/* количество */
.qc-cart .qc-quantity .input-group { max-width: 180px; }
.qc-cart .qc-quantity .form-control {
	height: 34px !important;
	border-radius: 0 !important;
	text-align: center;
	font-weight: 700;
	padding: 4px;
}
.qc-cart .qc-quantity .btn {
	height: 34px;
	min-width: 32px;
	padding: 0 9px;
	background: var(--c-bg-soft) !important;
	background-image: none !important;
	color: var(--c-text) !important;
	border: 1px solid var(--c-border-strong) !important;
	box-shadow: none !important;
	text-shadow: none !important;
}
.qc-cart .qc-quantity .btn .fa { font-size: 11px; }
.qc-cart .qc-quantity .btn:hover { background: #fff !important; color: var(--c-primary) !important; }
.qc-cart .qc-quantity .btn.decrease { border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important; }
.qc-cart .qc-quantity .btn.increase { border-radius: 0 !important; margin-left: -1px; }
.qc-cart .qc-quantity .btn.delete {
	margin-left: 6px !important;
	border-radius: var(--radius-sm) !important;
	background: #fff !important;
	color: var(--c-muted) !important;
	border-color: var(--c-border) !important;
}
.qc-cart .qc-quantity .btn.delete:hover {
	background: var(--c-primary-soft) !important;
	color: var(--c-primary) !important;
	border-color: #cfe1f8 !important;
}
/* без кнопок «−» хвосты скругляем у поля */
@media (max-width: 767px) {
	.qc-cart .qc-quantity .form-control { border-radius: var(--radius-sm) !important; }
}

/* итоги */
.qc-totals {
	border-top: 1px solid var(--c-border);
	padding-top: 10px;
	margin: 0 !important;
}
.qc-totals .row { margin: 0; padding: 4px 0; }
.qc-totals .control-label {
	color: var(--c-text-soft) !important;
	font-size: 14px;
	font-weight: 500 !important;
	text-align: right !important;
	padding-top: 7px;
}
.qc-totals .form-control-static { font-size: 15px; font-weight: 600; color: var(--c-text); }
.qc-totals .row:last-child {
	margin-top: 6px;
	padding-top: 10px;
	border-top: 1px dashed var(--c-border-strong);
}
.qc-totals .row:last-child .control-label { color: var(--c-text) !important; font-weight: 700 !important; font-size: 16px; }
.qc-totals .row:last-child .form-control-static { font-size: 20px; font-weight: 800; color: var(--c-text); }

/* кнопка подтверждения */
#qc_confirm_order,
#button-confirm {
	background: var(--grad-primary) !important;
	border: 0 !important;
	border-radius: var(--radius) !important;
	color: #fff !important;
	font-weight: 700;
	font-size: 16px;
	padding: 14px 24px;
	box-shadow: var(--shadow-primary) !important;
	text-shadow: none !important;
}
#qc_confirm_order:hover,
#button-confirm:hover { filter: brightness(.95); }
#confirm_view .panel { margin-bottom: 0; }

/* ---------- попап «Купить в 1 клик» ---------- */
.mfp-bg { background: #111 !important; opacity: .55 !important; }
#popup-quickorder {
	position: relative;
	background: #fff;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	font-family: inherit;
}
#popup-quickorder .popup-heading {
	padding: 20px 56px 18px 24px;
	font-size: 20px;
	font-weight: 700;
	color: var(--c-text);
	border-bottom: 1px solid var(--c-border);
	background: #fff;
}
#popup-quickorder .mfp-close,
.mfp-content #popup-quickorder ~ .mfp-close,
.mfp-content .mfp-close {
	width: 36px;
	height: 36px;
	line-height: 36px;
	top: 14px;
	right: 14px;
	border-radius: 50%;
	color: var(--c-text-soft) !important;
	opacity: 1;
	font-size: 26px;
	transition: background-color var(--t), color var(--t);
}
.mfp-content .mfp-close:hover {
	background: var(--c-bg-soft);
	color: var(--c-primary) !important;
}
#popup-quickorder .popup-center { padding: 20px 12px 8px; overflow: hidden; }
#popup-quickorder .product_image_fastorder img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius);
}

/* карточка товара справа */
#popup-quickorder .well.products {
	background: var(--c-bg-soft);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: none;
	padding: 16px;
	margin: 0 0 16px !important;
}
#popup-quickorder .product-name {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--c-text);
	margin-bottom: 14px;
}
#popup-quickorder .price_fast {
	font-size: 22px;
	font-weight: 800;
	color: var(--c-text);
	line-height: 36px;
}

/* количество − 1 + */
#popup-quickorder .popup-quantity {
	display: inline-flex;
	width: auto;
	border: 1px solid var(--c-border-strong);
	border-radius: var(--radius-sm);
	background: #fff;
	overflow: hidden;
}
#popup-quickorder .popup-quantity .input-group-btn { width: auto; }
#popup-quickorder .popup-quantity .btn-update-popup {
	width: 34px;
	height: 36px;
	padding: 0;
	border: 0 !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: var(--c-text) !important;
	font-size: 18px;
	font-weight: 600;
	line-height: 36px;
	box-shadow: none !important;
	outline: none !important;
}
#popup-quickorder .popup-quantity .btn-update-popup:hover {
	background: var(--c-bg-soft) !important;
	color: var(--c-primary) !important;
}
#popup-quickorder .popup-quantity .qty_quickorder {
	width: 48px !important;
	height: 36px !important;
	border: 0 !important;
	border-left: 1px solid var(--c-border) !important;
	border-right: 1px solid var(--c-border) !important;
	border-radius: 0 !important;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	box-shadow: none !important;
	padding: 0;
}

/* поля имя / телефон */
#popup-quickorder .sections_block_rquaired { margin-bottom: 12px; }
#popup-quickorder .input-group { width: 100%; }
#popup-quickorder .contact-name,
#popup-quickorder .contact-phone {
	height: 46px;
	border: 1px solid var(--c-border-strong) !important;
	border-right: 0 !important;
	border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
	box-shadow: none !important;
	font-size: 15px;
	padding: 0 14px;
}
#popup-quickorder .input-group-addon {
	width: 46px;
	background: #fff !important;
	border: 1px solid var(--c-border-strong) !important;
	border-left: 0 !important;
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
	color: var(--c-muted) !important;
	transition: color var(--t), border-color var(--t);
}
#popup-quickorder .input-group-addon .fa { color: inherit !important; font-size: 15px; }
#popup-quickorder .input-group:focus-within .form-control,
#popup-quickorder .input-group:focus-within .input-group-addon {
	border-color: var(--c-primary) !important;
}
#popup-quickorder .input-group:focus-within .input-group-addon { color: var(--c-primary) !important; }

/* низ окна с кнопкой */
#popup-quickorder .popup-footer {
	background: var(--c-bg-soft);
	border-top: 1px solid var(--c-border);
	padding: 20px 24px 16px;
	text-align: center;
}
#popup-quickorder #quickorder_btn .btn-quickorder,
#popup-quickorder #quickorder_btn .btn-quickorder:focus {
	min-width: 260px;
	padding: 13px 28px;
	background: var(--grad-primary) !important;
	background-color: var(--c-primary) !important;
	border: 0 !important;
	border-color: var(--c-primary) !important;
	border-radius: var(--radius) !important;
	color: #fff !important;
	font-size: 16px;
	font-weight: 700;
	box-shadow: var(--shadow-primary) !important;
	text-shadow: none !important;
}
#popup-quickorder #quickorder_btn .btn-quickorder:hover {
	background: var(--c-primary-hover) !important;
	background-color: var(--c-primary-hover) !important;
	color: #fff !important;
}
#popup-quickorder #quickorder_btn br { display: none; }
#popup-quickorder #quickorder_btn p {
	margin: 12px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--c-text-soft);
}
#popup-quickorder #quickorder_btn p a {
	color: var(--c-text-soft) !important;
	text-decoration: underline;
}
#popup-quickorder #quickorder_btn p a:hover { color: var(--c-primary) !important; }

@media (max-width: 767px) {
	#popup-quickorder #quickorder_btn .btn-quickorder { width: 100%; min-width: 0; }
	#popup-quickorder .popup-heading { font-size: 18px; padding: 16px 52px 14px 18px; }
}

/* ---------- страница товара: счётчик − 1 + ---------- */
.input-group.quantity {
	display: flex !important;
	align-items: stretch;
	width: 100%;
	height: 44px;
	background: #fff;
	border: 1px solid var(--c-border-strong);
	border-radius: var(--radius-sm);
	overflow: hidden;
	transition: border-color var(--t);
}
.input-group.quantity:focus-within { border-color: var(--c-primary); }
/* обёртка кнопок «растворяется» — кнопки встают по краям поля */
.input-group.quantity .quantity-plus-minus {
	display: contents !important;
}
.input-group.quantity #minus { order: 1; }
.input-group.quantity #input-quantity { order: 2; }
.input-group.quantity #plus { order: 3; }
.input-group.quantity .quantity-plus-minus .btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 42px;
	width: 42px !important;
	height: auto !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--c-bg-soft) !important;
	color: var(--c-text) !important;
	font-size: 20px;
	font-weight: 500;
	line-height: 1 !important;
	box-shadow: none !important;
}
.input-group.quantity .quantity-plus-minus .btn:hover {
	background: var(--c-primary-soft) !important;
	color: var(--c-primary) !important;
}
.input-group.quantity #input-quantity {
	flex: 1 1 auto;
	min-width: 0;
	width: auto !important;
	height: auto !important;
	border: 0 !important;
	border-left: 1px solid var(--c-border) !important;
	border-right: 1px solid var(--c-border) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	padding: 0 4px;
}
#button-cart {
	height: 44px;
	border-radius: var(--radius-sm) !important;
	font-size: 15px;
	font-weight: 700;
	background: var(--grad-primary);
	border: 0;
	box-shadow: var(--shadow-primary);
}
#button-cart:hover { background: var(--c-primary-hover); }
@media (max-width: 1199px) {
	.input-group.quantity { margin-bottom: 10px; }
}

/* ---------- оформление: способ доставки/оплаты крупной карточкой ---------- */
#payment_method_list .radio,
#shipping_method_list .radio { margin: 0 0 10px; }
#payment_method_list .radio:last-child,
#shipping_method_list .radio:last-child { margin-bottom: 0; }
#payment_method_list .radio label,
#shipping_method_list .radio label {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	padding: 14px 18px 14px 50px !important;
	border: 1px solid var(--c-border-strong);
	border-radius: var(--radius);
	background: #fff;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: var(--c-text) !important;
	cursor: pointer;
	transition: border-color var(--t), background-color var(--t), box-shadow var(--t);
}
#payment_method_list .radio label:hover,
#shipping_method_list .radio label:hover { border-color: var(--c-primary); }
#payment_method_list .radio input[type="radio"],
#shipping_method_list .radio input[type="radio"] {
	position: absolute;
	left: 18px;
	top: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 !important;
	accent-color: var(--c-primary);
	cursor: pointer;
}
#payment_method_list .radio label:has(input:checked),
#shipping_method_list .radio label:has(input:checked) {
	border-color: var(--c-primary);
	background: var(--c-primary-soft);
	box-shadow: 0 0 0 1px var(--c-primary) inset;
}
#payment_method_list .radio .price,
#shipping_method_list .radio .price {
	margin-left: auto;
	font-weight: 700;
	color: var(--c-text);
}
#payment_method_list .radio .price:empty,
#shipping_method_list .radio .price:empty { display: none; }
#shipping_method_list .title { display: block; margin-bottom: 8px; font-size: 14px; color: var(--c-text-soft); }

/* ---------- страница товара: «Купить в 1 клик» ---------- */
.addcart .btn-quick-order {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 44px;
	margin: 0 0 10px !important;
	padding: 0 16px !important;
	background: #fff !important;
	background-image: none !important;
	border: 1px solid var(--c-border-strong) !important;
	border-radius: var(--radius-sm) !important;
	color: var(--c-text) !important;
	font-size: 15px !important;
	font-weight: 700;
	line-height: 1 !important;
	box-shadow: none !important;
	text-shadow: none !important;
	cursor: pointer;
	transition: border-color var(--t), color var(--t), background-color var(--t);
}
.addcart .btn-quick-order:hover {
	border-color: var(--c-primary) !important;
	color: var(--c-primary) !important;
	background: var(--c-primary-soft) !important;
}
/* пустая иконка-заглушка модуля */
.addcart .btn-quick-order > i:empty { display: none; }
/* иконка-молния перед текстом */
.addcart .btn-quick-order span:before {
	content: "\f0e7";
	font-family: FontAwesome;
	font-weight: normal;
	margin-right: 8px;
	color: var(--c-primary);
}

/* ---------- страница товара: строка «счётчик + В корзину» ---------- */
.addcart > .row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}
.addcart > .row:before,
.addcart > .row:after { display: none; }
.addcart > .row > [class*="col-"] {
	float: none;
	width: auto;
	padding: 0;
	min-height: 0;
}
.addcart > .row > [class*="col-"]:first-child { flex: 0 0 132px; }
.addcart > .row > [class*="col-"]:last-child { flex: 1 1 140px; }
.addcart .input-group.quantity { margin-bottom: 0 !important; }
.input-group.quantity .quantity-plus-minus .btn {
	flex: 0 0 38px !important;
	width: 38px !important;
}
.input-group.quantity #input-quantity { min-width: 44px !important; }

/* ---------- подменю каталога (выпадающее справа) ---------- */
@media (min-width: 992px) {
	#menu #menu-list > li .child-box {
		min-width: 270px;
		padding: 8px 0 !important;
		border-radius: var(--radius) !important;
		border: 1px solid var(--c-border) !important;
		box-shadow: 0 16px 40px rgba(17,17,17,.14) !important;
	}
	#menu #menu-list > li .child-box > .row { padding: 0 8px !important; margin: 0; }
	#menu #menu-list > li .child-box > .row > [class*="col-"] { padding: 0; }
	#menu #menu-list > li .child-box .child-box-cell { border-top: 0 !important; padding: 0; }
	#menu #menu-list > li .child-box h5 { margin: 0 !important; }
	#menu #menu-list > li .child-box h5 a {
		display: flex !important;
		align-items: center;
		gap: 10px;
		padding: 9px 12px !important;
		border-radius: var(--radius-sm);
		font-size: 14px;
		font-weight: 500 !important;
		color: var(--c-text);
		line-height: 1.35 !important;
		transition: background-color var(--t), color var(--t), padding-left var(--t);
	}
	#menu #menu-list > li .child-box h5 a:hover {
		background: var(--c-primary-soft) !important;
		color: var(--c-primary) !important;
		padding-left: 16px !important;
	}
	/* количество товаров — бейдж справа */
	#menu #menu-list > li .child-box h5 a .count {
		margin-left: auto;
		min-width: 22px;
		padding: 2px 7px;
		border-radius: 20px;
		background: var(--c-bg-soft);
		color: var(--c-text-soft);
		font-size: 11px;
		font-weight: 600;
		line-height: 1.3;
		text-align: center;
		transition: background-color var(--t), color var(--t);
	}
	#menu #menu-list > li .child-box h5 a:hover .count {
		background: #fff;
		color: var(--c-primary);
	}
	/* третий уровень, если появится */
	#menu #menu-list > li .child-box-cell .child2-box { padding: 0 0 6px 12px !important; }
	#menu #menu-list > li .child-box-cell .child2-box a {
		display: block !important;
		padding: 5px 12px !important;
		border-radius: 6px;
		font-size: 13px;
		color: var(--c-text-soft) !important;
	}
	#menu #menu-list > li .child-box-cell .child2-box a:hover {
		background: var(--c-bg-soft) !important;
		color: var(--c-primary) !important;
	}
}

/* ---------- фокус: без чёрной рамки при клике ---------- */
a:focus, a:active,
.btn:focus, .btn:active, .btn.active,
.btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus,
.dropdown-toggle:focus, select:focus, button:focus {
	outline: none !important;
}
.btn-default:focus, .btn-default.focus {
	border-color: var(--c-border-strong);
}
/* для навигации с клавиатуры — мягкая фирменная обводка */
a:focus-visible, .btn:focus-visible, button:focus-visible, select:focus-visible {
	outline: 2px solid rgba(43,120,228,.4) !important;
	outline-offset: 2px;
}

iframe { border: none; }