body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.module h2 {
  font-family: inherit;
}
h1, h2, h3 {
  line-height: 1.25;
}
div.tovar-name,
.product-thumb .product-name {
  line-height: 1.3;
}
.product-item .caption a {
  height: auto;
  line-height: 1.3;
  max-height: 2.7em;
}
.logo img,
img.img-responsive2 {
  max-width: 100%;
  height: auto;
}
@media (max-width: 767px) {
  body {
    font-size: 15px;
    line-height: 1.45;
  }
  input,
  select,
  textarea,
  .btn,
  .form-control {
    font-size: 16px;
  }
  .header .header-phone > span > span,
  .header .header-phone a {
    font-size: 16px;
    line-height: 1.3;
    white-space: normal;
  }
  .header-info-first > img.hidden-sm {
    display: none !important;
  }
  .header-info-first > span.hidden-xs {
    display: block !important;
    text-align: center;
  }
  .header-info-first > span.hidden-xs small {
    padding-left: 0 !important;
    font-size: 13px;
  }
  .navbar-header {
    position: relative;
    float: none;
    width: 100%;
  }
  .navbar-header > .visible-xs {
    float: none;
    width: auto;
    margin-right: 58px;
    padding-left: 10px;
    padding-right: 0;
  }
  #cart .media {
    display: block;
    width: 100%;
    overflow: visible;
    text-align: center;
  }
  #cart .media-left {
    display: none;
  }
  #cart .media-body {
    display: block;
    width: auto;
    overflow: visible;
    font-size: 13px;
    line-height: 1.35;
  }
  #navbar .sprite {
    display: none;
  }
  #navbar .dropdown-menu a {
    font-size: 16px;
    line-height: 1.35;
    white-space: normal;
  }
  .row.border-bottom > .col-xs-6 {
    width: 100%;
    float: none;
  }
  .row.border-bottom .input-group {
    display: block;
    width: 100%;
  }
  .row.border-bottom .input-group-addon,
  .row.border-bottom .input-group .btn {
    display: inline-block;
    float: none;
    width: auto;
    margin: 0 6px 6px 0;
    white-space: normal;
    vertical-align: middle;
  }
}

@media (max-width: 767px) {
	#header .main-row > .col-xs-6 {
		width: 100%;
		float: none;
		text-align: center;
	}
	.header-info,
	.header-info-first,
	.header-phone,
	#cart,
	#cart .media,
	#cart .media-body {
		width: 100%;
		max-width: 100%;
		overflow: visible;
		text-align: center;
		white-space: normal;
	}
	.header-info-first > img {
		display: none !important;
	}
	.navbar-header {
		display: flex !important;
		align-items: center;
		gap: 8px;
		float: none !important;
		width: 100% !important;
		padding: 8px 12px 4px !important;
		box-sizing: border-box;
	}
	.navbar-header > .visible-xs {
		order: 2;
		flex: 1 1 auto;
		width: auto !important;
		min-width: 0;
		margin: 0 !important;
		padding: 0 !important;
		float: none !important;
	}
	.header .navbar-default .navbar-toggle {
		order: 1;
		display: flex !important;
		flex: 0 0 38px;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 4px;
		float: none !important;
		clear: none !important;
		width: 38px !important;
		height: 38px !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		line-height: 0 !important;
		background: #9b0000 !important;
		border: 0 !important;
		border-radius: 2px !important;
		color: transparent;
	}
	.header .navbar-default .navbar-toggle .icon-bar {
		display: block !important;
		width: 16px;
		height: 2px;
		margin: 0 !important;
		background: #fff !important;
		border-radius: 1px;
	}
	.header .navbar-default .navbar-toggle:after,
	.header .navbar-default .navbar-toggle.collapsed:after,
	.header .navbar-default .navbar-toggle:not(.collapsed):after {
		content: none !important;
	}
	.navbar-header .search,
	.navbar-header .search .input-group {
		display: flex !important;
		width: 100% !important;
		margin: 0 !important;
	}
	.navbar-header .search .form-control {
		flex: 1 1 auto;
		height: 38px !important;
		min-width: 0;
		border: 1px solid #d8d8d8 !important;
		border-right: 0 !important;
		border-radius: 2px 0 0 2px !important;
		box-shadow: none !important;
		font-size: 15px !important;
	}
	.navbar-header .search .input-group-btn {
		width: 40px;
		flex: 0 0 40px;
	}
	.navbar-header .search .btn {
		width: 40px !important;
		height: 38px !important;
		padding: 0 !important;
		background: #fff !important;
		border: 1px solid #d8d8d8 !important;
		border-left: 0 !important;
		color: #f5d7a2 !important;
		border-radius: 0 2px 2px 0 !important;
	}
	#navbar .navbar-collapse {
		max-height: 70vh;
		overflow-y: auto !important;
		border: 0;
		background: #fffdf8;
		-webkit-overflow-scrolling: touch;
	}
	#navbar .nav.navbar-nav {
		margin: 0 !important;
		float: none !important;
		width: 100%;
	}
	#navbar .nav.navbar-nav > li {
		float: none !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		position: relative;
	}
	#navbar .nav.navbar-nav > li > a {
		display: block;
		width: auto;
		margin: 0 !important;
		padding: 12px 52px 12px 16px !important;
		text-align: left !important;
		text-transform: none !important;
		white-space: normal !important;
		color: #3a2a22 !important;
		background: transparent !important;
		border-bottom: 1px solid #eadfce;
		line-height: 1.35 !important;
	}
	#navbar .dropdown > ul.dropdown-menu {
		display: none !important;
		position: static !important;
		float: none !important;
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		background: #f6efe6 !important;
		border: 0 !important;
		box-shadow: none !important;
	}
	#navbar .dropdown.is-open > ul.dropdown-menu {
		display: block !important;
	}
	#navbar .dropdown-menu .menu-level-2 > li,
	#navbar .dropdown-menu > li {
		width: 100% !important;
		float: none !important;
		margin: 0 !important;
		height: auto !important;
		padding: 0 !important;
	}
	#navbar .dropdown-menu a {
		display: block;
		width: auto !important;
		padding: 10px 16px 10px 28px !important;
		text-align: left !important;
		white-space: normal !important;
		color: #5c463c !important;
		font-size: 15px !important;
		line-height: 1.35 !important;
		background: transparent !important;
	}
	#navbar .mebel-sub {
		position: absolute;
		z-index: 2;
		top: 0;
		right: 0;
		width: 48px;
		height: 46px;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		text-align: center;
		font-size: 22px;
		line-height: 46px;
	}
	#navbar .mebel-sub:before {
		content: "\25BE";
		font-size: 22px !important;
		line-height: 46px;
		color: #9b0000 !important;
	}
	#navbar .dropdown.is-open > .mebel-sub:before {
		content: "\25B4";
	}
	.module-catalog .media,
	.module-catalog .media-left,
	.module-catalog .media-body,
	.module-catalog .media-heading,
	.module-catalog .list-catalog,
	.module-catalog .list-catalog li,
	.module-catalog .list-catalog a {
		display: block;
		width: auto;
		max-width: 100%;
		height: auto;
		overflow: visible;
		white-space: normal;
	}
	.module-catalog .media-left {
		padding: 0 0 8px;
		text-align: center;
	}
	.module-catalog .col-xs-12 {
		width: 100%;
		float: none;
	}
	#content img,
	.thumbnails img,
	.thumbnail img,
	.product-thumb img {
		max-width: 100%;
		height: auto;
	}
}

@media (max-width: 767px) {
	#navbar .nav.navbar-nav > li > a.dropdown-toggle,
	#navbar .nav.navbar-nav > li > a.mebel-ready {
		position: relative;
		z-index: 1;
	}
	#navbar .dropdown > a.dropdown-toggle:after,
	#navbar .dropdown > a.mebel-ready:after {
		content: "▾";
		position: absolute;
		right: 14px;
		top: 0;
		width: 24px;
		height: 46px;
		line-height: 46px;
		text-align: center;
		font-size: 22px;
		color: #9b0000;
		pointer-events: none;
	}
	#navbar .dropdown.is-open > a.dropdown-toggle:after,
	#navbar .dropdown.is-open > a.mebel-ready:after {
		content: "▴";
	}
	#navbar .mebel-sub {
		z-index: 5;
	}
}

@media (max-width: 767px) {
	#navbar button.mebel-sub {
		display: block !important;
		position: absolute !important;
		z-index: 30 !important;
		top: 0 !important;
		right: 0 !important;
		width: 46px !important;
		height: 46px !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		color: #9b0000 !important;
		font-size: 22px !important;
		line-height: 46px !important;
		text-align: center !important;
		overflow: visible !important;
	}
	#navbar button.mebel-sub .mebel-up {
		display: none !important;
	}
	#navbar .dropdown.is-open > button.mebel-sub .mebel-down {
		display: none !important;
	}
	#navbar .dropdown.is-open > button.mebel-sub .mebel-up {
		display: inline !important;
	}
}

@media (min-width: 768px) {
	#navbar .mebel-sub { display: none !important; }
}

@media (max-width: 767px) {
	#navbar li.dropdown > button.mebel-sub {
		display: block !important;
		position: static !important;
		float: right !important;
		clear: none !important;
		width: 44px !important;
		height: 44px !important;
		margin: 0 0 0 0 !important;
		padding: 0 !important;
		background: transparent !important;
		color: #9b0000 !important;
		font-size: 26px !important;
		line-height: 44px !important;
		text-align: center !important;
		visibility: visible !important;
		opacity: 1 !important;
		overflow: visible !important;
	}
	#navbar .nav.navbar-nav > li,
	#navbar .navbar-collapse,
	#navbar .dropdown-menu {
		overflow: visible !important;
	}
}

@media (max-width: 767px) {
	#navbar a .mebel-mark {
		float: none;
		color: #9b0000;
		font-weight: normal;
		font-size: 22px;
		line-height: 1;
		margin-right: 6px;
	}
}
@media (min-width: 768px) {
	#navbar .mebel-mark { display: none !important; }
}

@media (max-width: 767px) {
	#navbar li.dropdown > button.mebel-sub {
		position: absolute !important;
		right: 0 !important;
		top: 0 !important;
		z-index: 6 !important;
		width: 48px !important;
		height: 46px !important;
		float: none !important;
		background: transparent !important;
		color: transparent !important;
	}
	#navbar li.dropdown > button.mebel-sub span {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.row.border-bottom > [class*="col-"] {
		width: 100% !important;
		float: none !important;
		max-width: 100%;
	}
	.row.border-bottom .input-group {
		display: block !important;
		width: 100% !important;
		overflow: visible !important;
		white-space: normal !important;
	}
	.row.border-bottom .input-group > .btn,
	.row.border-bottom .input-group > .input-group-addon {
		display: inline-block !important;
		float: none !important;
		width: auto !important;
		max-width: 100% !important;
		white-space: normal !important;
		margin: 0 6px 8px 0 !important;
	}
	.pagination {
		white-space: normal;
	}
	.product-thumb .caption,
	.product-thumb .caption a,
	.product-layout .name a {
		white-space: normal;
		height: auto;
		overflow: visible;
	}
}

@media (max-width: 767px) {
	.border-bottom a.btn {
		display: block !important;
		float: none !important;
		width: auto !important;
		max-width: 100% !important;
		white-space: normal !important;
		box-sizing: border-box;
		margin: 0 0 8px !important;
	}
}

@media (max-width: 767px) {
	.row.border-bottom .input-group > a.btn {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
		text-align: center;
	}
}

@media (max-width: 767px) {
	#content .buttons .pull-right,
	#content .buttons .pull-left {
		float: none !important;
		width: 100%;
		text-align: left;
	}
	#content .buttons .btn {
		display: inline-block;
		max-width: 100%;
		white-space: normal;
	}
	#footer .list-inline {
		white-space: normal;
		text-align: center;
	}
	#footer .list-inline > li {
		display: inline-block;
		float: none;
		margin: 4px 8px;
	}
	#footer,
	#footer .container-fluid,
	#footer .row,
	#footer [class*="col-"] {
		max-width: 100%;
		overflow: visible;
	}
}

@media (max-width: 767px) {
	.row {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	#content {
		width: 100% !important;
		max-width: 100% !important;
		padding-left: 14px !important;
		padding-right: 14px !important;
		box-sizing: border-box;
		overflow-wrap: break-word;
	}
}

@media (max-width: 767px) {
	#content p,
	#content li,
	#content h1,
	#content h2,
	#content h3,
	#content h4,
	#content ul,
	#content ol {
		width: 330px !important;
		max-width: 100% !important;
		overflow-wrap: break-word;
	}
}

@media (max-width: 767px) {
	#content h1.name,
	#content p.product-name,
	#content .product-name a,
	#content .tovar-name,
	.product-thumb .caption,
	.product-thumb .caption p,
	.product-thumb .caption a,
	.product-item .caption,
	.product-item .caption a {
		width: auto !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
		display: block !important;
		-webkit-line-clamp: unset !important;
		white-space: normal !important;
		float: none !important;
	}
	ul.thumbnails > li.product-item {
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		clear: both;
	}
	ul.thumbnails > li.product-item .thumbnail,
	ul.thumbnails > li.product-item img,
	.product-thumb .image img,
	.product-layout .image img {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		margin: 0 !important;
	}
	ul.thumbnails > li.image-additional {
		float: left !important;
		width: 32% !important;
		max-width: 32% !important;
		margin: 0 1% 8px 0 !important;
	}
	ul.thumbnails > li.image-additional img {
		width: 100% !important;
		height: auto !important;
		max-width: 100% !important;
	}
	table.element-set td:first-child img {
		width: 100px !important;
		height: 100px !important;
		max-width: 100px !important;
		max-height: 100px !important;
		object-fit: contain;
	}
}

@media (max-width: 767px) {
	#content ul.thumbnails {
		width: 100% !important;
		max-width: 100% !important;
		padding-left: 0 !important;
		margin-left: 0 !important;
	}
	#content ul.thumbnails > li.product-item {
		width: 100% !important;
		max-width: 100% !important;
		float: none !important;
	}
	#content ul.thumbnails > li.product-item .thumbnail {
		padding: 0 !important;
		border: 0 !important;
		margin: 0 !important;
		background: transparent !important;
	}
	#content ul.thumbnails > li.image-additional {
		float: left !important;
		width: 32% !important;
		max-width: 32% !important;
		margin: 0 1% 8px 0 !important;
		clear: none !important;
	}
	#content .product-thumb .caption,
	#content .product-thumb .caption p,
	#content .product-thumb .caption a,
	#content .product-thumb h4,
	#content .product-layout .caption,
	#content .product-layout .caption p,
	#content .product-layout .caption a,
	#content .product-layout h4,
	#content .product-item .caption,
	#content .product-item .caption a,
	#content h1.name,
	#content .product-name,
	#content .product-name a {
		width: auto !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
		white-space: normal !important;
		float: none !important;
		-webkit-line-clamp: unset !important;
	}
}

@media (max-width: 767px) {
	html, body { overflow-x: hidden; }
	#content,
	#content .row,
	#content [class^="col-"],
	#content [class*=" col-"] {
		max-width: 100% !important;
		min-width: 0 !important;
	}
	#content ul.thumbnails,
	#content ul.thumbnails > li,
	#content ul.thumbnails a,
	#content ul.thumbnails img {
		max-width: 100% !important;
		min-width: 0 !important;
	}
	#content h1.name,
	#content .product-name,
	#content .product-name a,
	#content .product-thumb .caption,
	#content .product-thumb .caption p,
	#content .product-thumb .caption a {
		overflow-wrap: normal !important;
		word-break: normal !important;
	}
}

@media (max-width: 767px) {
	#content { overflow-x: hidden; }
	#content h1.name {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		white-space: normal !important;
		overflow-wrap: break-word !important;
	}
	#content table.element-set td,
	#content table.element-set a {
		white-space: normal !important;
		overflow-wrap: break-word !important;
		word-break: normal !important;
		max-width: 100% !important;
	}
	#content table.element-set a { display: block; }
}

@media (max-width: 767px) {
	#content h1.name {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		white-space: normal !important;
		overflow-wrap: break-word !important;
		overflow: visible !important;
		float: none !important;
	}
	#content .product-thumb .caption,
	#content .product-thumb .caption p,
	#content .product-thumb .caption a,
	#content .product-layout .caption,
	#content .product-layout .caption p,
	#content .product-layout .caption a {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: none !important;
		white-space: normal !important;
		overflow: visible !important;
		float: none !important;
	}
}

@media (max-width: 767px) {
	.header .navbar-default .navbar-toggle .sr-only {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		padding: 0 !important;
		margin: -1px !important;
		overflow: hidden !important;
		clip: rect(0, 0, 0, 0) !important;
		border: 0 !important;
		white-space: nowrap !important;
	}
	#content ul.breadcrumb {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center;
		width: 100% !important;
		max-width: 100% !important;
		margin: 4px 0 10px !important;
		padding: 0 0 6px !important;
		background: transparent !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		overflow-x: auto !important;
		white-space: nowrap !important;
		font-size: 13px !important;
		line-height: 1.35 !important;
		box-sizing: border-box !important;
	}
	#content .breadcrumb > li,
	.breadcrumb > li {
		display: inline-block !important;
		flex: 0 0 auto !important;
		float: none !important;
		width: auto !important;
		max-width: none !important;
		padding: 0 !important;
		white-space: nowrap !important;
		color: #663333 !important;
	}
	#content .breadcrumb > li + li:before {
		content: "\203A" !important;
		padding: 0 7px !important;
		color: #9b0000 !important;
	}
	#content .breadcrumb a {
		display: inline !important;
		width: auto !important;
		max-width: none !important;
		color: #663333 !important;
		white-space: nowrap !important;
	}
}

@media (max-width: 767px) {
	#content table.element-set,
	#content table.element-set tbody {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	#content table.element-set thead {
		display: none !important;
	}
	#content table.element-set tr {
		display: block !important;
		position: relative !important;
		width: 100% !important;
		max-width: 100% !important;
		min-height: 112px;
		margin: 0 !important;
		padding: 10px 0 10px 112px !important;
		box-sizing: border-box !important;
		border-bottom: 1px solid #eadfce;
		overflow: hidden !important;
	}
	#content table.element-set td {
		display: block !important;
		position: static !important;
		width: auto !important;
		max-width: 100% !important;
		float: none !important;
		padding: 0 0 2px !important;
		border: 0 !important;
		text-align: left !important;
		white-space: normal !important;
		overflow: visible !important;
	}
	#content table.element-set td:first-child {
		position: absolute !important;
		left: 0 !important;
		top: 10px !important;
		width: 100px !important;
		height: 100px !important;
		padding: 0 !important;
		overflow: hidden !important;
	}
	#content table.element-set td:first-child a {
		display: block !important;
		width: 100px !important;
		height: 100px !important;
		max-width: 100px !important;
	}
	#content table.element-set td:first-child img {
		display: block !important;
		width: 100px !important;
		height: 100px !important;
		max-width: 100px !important;
		max-height: 100px !important;
		object-fit: contain;
	}
	#content table.element-set td:nth-child(n+2),
	#content table.element-set td:nth-child(n+2) a {
		display: block !important;
		position: static !important;
		width: auto !important;
		max-width: 100% !important;
		height: auto !important;
	}
	#content table.element-set .btn {
		display: inline-block !important;
		width: auto !important;
	}
	#content table.element-set td.mebel-color:empty {
		display: none !important;
	}
}
/* mebel-sub-fix: подпункты в шторке одной колонкой, без сетки иконок */
@media (max-width: 767px) {
	#navbar .navbar-collapse,
	.header .collapse.navbar-collapse {
		overflow-x: hidden !important;
		overflow-y: auto !important;
	}
	#navbar .nav.navbar-nav > li {
		float: none !important;
		width: 100% !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	#navbar .dropdown > a,
	#navbar .dropdown > a.mebel-ready {
		padding: 12px 46px 12px 16px !important;
		text-transform: none !important;
		height: auto !important;
	}
	#navbar .dropdown > a:after,
	#navbar .dropdown.is-open > a:after,
	#navbar .dropdown > a.dropdown-toggle:after,
	#navbar .dropdown > a.mebel-ready:after {
		content: none !important;
		display: none !important;
	}
	#navbar li.dropdown > button.mebel-sub,
	#navbar .dropdown.is-open > button.mebel-sub {
		position: absolute !important;
		top: 6px !important;
		right: 6px !important;
		float: none !important;
		width: 36px !important;
		height: 36px !important;
		margin: 0 !important;
		padding: 0 !important;
		line-height: 36px !important;
		text-align: center !important;
		color: #9b0000 !important;
		background: transparent !important;
		z-index: 4 !important;
	}
	#navbar li.dropdown > button.mebel-sub span,
	#navbar .dropdown.is-open > button.mebel-sub span {
		display: none !important;
	}
	#navbar .mebel-sub:before {
		content: "\25BE" !important;
		color: #9b0000 !important;
		font-size: 18px !important;
		line-height: 36px !important;
	}
	#navbar .dropdown.is-open > .mebel-sub:before {
		content: "\25B4" !important;
	}
	#navbar .dropdown > ul.dropdown-menu {
		position: static !important;
		float: none !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		transform: none !important;
		box-shadow: none !important;
		border: 0 !important;
		background: #f6efe6 !important;
	}
	#navbar .dropdown:not(.is-open) > ul.dropdown-menu {
		display: none !important;
	}
	#navbar .dropdown.is-open > ul.dropdown-menu {
		display: block !important;
	}
	#navbar .menu-level-2,
	#navbar ul.menu-level-2 {
		display: block !important;
		position: static !important;
		float: none !important;
		width: 100% !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		left: auto !important;
		top: auto !important;
		column-count: 1 !important;
	}
	#navbar .menu-level-2 li {
		float: none !important;
		display: block !important;
		position: static !important;
		width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		margin: 0 !important;
		padding: 0 !important;
		clear: both !important;
		background: transparent !important;
		overflow: hidden !important;
	}
	#navbar .menu-level-2 li a,
	#navbar .dropdown-menu a {
		display: block !important;
		position: static !important;
		float: none !important;
		width: auto !important;
		height: auto !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 11px 16px !important;
		text-align: left !important;
		text-transform: none !important;
		white-space: normal !important;
		color: #3a2424 !important;
		background: transparent !important;
		line-height: 1.35 !important;
	}
	#navbar .sprite,
	#navbar .menu-level-2 .sprite {
		display: none !important;
	}
}
/* mebel-scroll-lock: пока шторка открыта, крутится только она */
@media (max-width: 767px) {
	html.mebel-lock,
	body.mebel-lock {
		overflow: hidden !important;
		width: 100% !important;
		overscroll-behavior: none;
	}
	body.mebel-lock {
		position: fixed !important;
		left: 0 !important;
		right: 0 !important;
		touch-action: none;
	}
	.header .collapse.navbar-collapse,
	.header .navbar-collapse.collapse,
	#navbar .navbar-collapse {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		bottom: 0 !important;
		width: min(84vw, 320px) !important;
		height: 100dvh !important;
		max-height: 100dvh !important;
		margin: 0 !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		touch-action: pan-y;
		z-index: 1000002 !important;
	}
	.mebel-backdrop,
	.mebel-backdrop.is-on {
		touch-action: none;
	}
	#navbar .navbar-collapse > .navbar-nav,
	#navbar .nav.navbar-nav {
		max-height: none !important;
		height: auto !important;
		overflow: visible !important;
	}
}

.product-thumb p.stock { text-align: center; margin: 4px 0 0; }
/* cart-buttons-align: на телефоне обе кнопки корзины в ширину строки Итого */
@media (max-width: 767px) {
	body.checkout-cart #content .buttons {
		width: 100% !important;
		box-sizing: border-box !important;
		margin: 8px 0 0 !important;
		padding: 0 15px !important;
	}
	body.checkout-cart #content .buttons .pull-left,
	body.checkout-cart #content .buttons .pull-right {
		float: none !important;
		display: block !important;
		width: 100% !important;
		margin: 0 0 8px !important;
		padding: 0 !important;
		text-align: center !important;
	}
	body.checkout-cart #content .buttons .btn {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		margin: 0 !important;
		float: none !important;
		text-align: center !important;
	}
}

/* modal-over-sticky */
@media (max-width: 767px) {
	body.modal-open #navbar.sticky { z-index: 1030 !important; }
}
/* card-align: цена и Купить на одной линии в ряду */
.row:has(> .product-layout.product-grid) {
	display: flex;
	flex-wrap: wrap;
}
.row:has(> .product-layout.product-grid)::before,
.row:has(> .product-layout.product-grid)::after {
	display: none;
}
.row:has(> .product-layout.product-grid) > .product-layout.product-grid {
	display: flex;
	float: none;
}
.product-layout.product-grid > .product-thumb {
	display: flex;
	flex-direction: column;
	width: 100%;
}
.product-layout.product-grid > .product-thumb > div:not(.image) {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}
.product-layout.product-grid .caption {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}
.product-layout.product-grid .caption > .price {
	margin-top: auto;
}
.product-layout.product-grid .caption:not(:has(> .price)) > .buy {
	margin-top: auto;
}

/* mebel-review: отзыв без картинки товара */
body.product-reviews #content .pagination-wrapper.bg-sand-light {
	background: transparent;
}
.mebel-review {
	padding: 16px 0 14px;
	border-bottom: 1px solid rgba(127, 46, 41, 0.18);
}
.mebel-review-name {
	display: block;
	color: #7f2e29;
	font-size: 17px;
	line-height: 1.35;
	text-decoration: none;
}
.mebel-review-name:hover {
	color: #9b0000;
}
.mebel-review-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 16px;
	margin: 4px 0 8px;
	color: #95674c;
	font-size: 13px;
}
.mebel-review-stars {
	white-space: nowrap;
}
.mebel-review-text {
	color: #95674c;
	font-size: 15px;
	line-height: 1.5;
}
#content .mebel-review,
#content .mebel-review-text,
#content .mebel-review-name,
#content .mebel-review-meta {
	width: auto !important;
	max-width: 100%;
}
@media (max-width: 767px) {
	.mebel-review {
		padding: 14px 0 12px;
	}
	.mebel-review-name {
		font-size: 16px;
	}
	.mebel-review-text {
		font-size: 14px;
	}
}

/* mebel-home-reviews: отзывы на главной */
.mebel-home-reviews .mebel-home-review {
	padding: 2px 28px 22px;
}
.mebel-home-reviews .mebel-home-review-text {
	margin: 8px 0 10px;
	color: #95674c;
	font-size: 15px;
	line-height: 1.55;
	width: auto !important;
	max-width: 100%;
}
.mebel-home-reviews .mebel-home-review-who {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	color: #95674c;
	font-size: 13px;
}
.mebel-home-reviews .mebel-home-review-author {
	color: #7f2e29;
	font-weight: 600;
}
.mebel-home-reviews .mebel-home-review-product {
	display: block;
	margin-top: 3px;
	color: #7f2e29;
	font-size: 14px;
	line-height: 1.35;
	text-decoration: none;
}
.mebel-home-reviews .mebel-home-review-product:hover {
	color: #9b0000;
}
.mebel-home-reviews .mebel-home-review-more {
	clear: both;
	text-align: center;
	padding: 4px 0 18px;
}
.mebel-home-reviews .fa-stack {
	width: 1.15em;
	height: 1em;
	line-height: 1em;
	font-size: 13px;
}
@media (max-width: 767px) {
	.mebel-home-reviews .mebel-home-review {
		padding: 2px 2px 14px;
		margin-bottom: 8px;
		border-bottom: 1px solid rgba(127, 46, 41, 0.18);
	}
	.mebel-home-reviews .col-xs-12:last-child .mebel-home-review {
		border-bottom: 0;
		margin-bottom: 0;
	}
	.mebel-home-reviews .mebel-home-review-text {
		font-size: 14px;
	}
}
