.category-view {
  display: flex;
    flex-direction: column;
    width: 100%;
}
.category-view > * {order:4}
.category-view > h1.cat-head {order:1;}
.category-view > .browse-view {order:3;}
.category-view > section {order:2;margin:1em 0;width:100%;}
/* отключаем лишнее */

.productdetails .product-short-description,
.productdetails .product-short-description,
.prodlist .PricediscountAmount,
.prodlist .PricesalesPrice,
.productdetails .PricediscountAmount,
.productdetails .PricesalesPrice {display:none}

.prodlist .vm-customfields-wrap,
div.vm-details-button,
#main a.ask-a-question {display:none!important;}
.product-container .back-to-category,
.product-container .icons {display:none;}
.qv {display:none;}

.vm-page-counter,
.vm-pagination {
    float: none;
}

/* В КОРЗИНУ */

span.quantity-box, 
span.quantity-controls {display:none!important;}
.addtocart-bar.carma, .vmgroup .prodlist .addtocart-bar.carma {margin:0;line-height:100%;}
.carma span.addtocart-button input.addtocart-button {
	display:block;
	line-height:36px;
	border-radius:18px;
	font-size:14px;
	text-transform:uppercase;
	color:#fff;
	background:url('/images/cart1.png') 10px center no-repeat;
	background-size:20px auto;
	background-color:#FF6D78;
	border:0;
	padding:0 18px 0 36px;
	transition:0.25s;
}
.carma span.addtocart-button input.addtocart-button:hover {
	background:url('/images/cart1.png') 10px center no-repeat;
	background-size:20px auto;
	background-color:#FB4551;
}


/***  СПИСКИ ТОВАРОВ И МОДУЛЬ ТОВАРОВ ***/
.vmgroup h1,
#main .browse-view h1 {
	font-size:28px;
	text-align:center;
	text-transform:none;
	font-weight:bold;
}
.vmgroup .prodlist,
.browse-view .prodlist {
	display:flex;
	justify-content:center;
	align-content:stretch;
  flex-wrap: wrap;
}

.spacer.product-container {
    border: none !important;
    margin: 10px !important;
    display: block;
    width: 255px;
    overflow: hidden;
  margin: 0 10px 10px 10px !important;
}
.prodlist .product .vm-product-media-container {
	display:block;
	width:255px;
    overflow: hidden;
	padding:0;
	margin:0;	
	
}
.prodlist .product .vm-product-media-container a {
	display:inline-block;
	width:805px;
	height:320px;
	text-align:center;
	padding:0;
  padding-top: 10px;
	margin:0;
	margin-left:-275px;
	box-sizing:border-box;
}
.prodlist .product .vm-product-media-container a img.browseProductImage {
	display:block;
	height:320px;
	width:auto!important;
	max-height:320px;
	max-width:805px!important;
	border:0;
	margin: 0 auto;
}
.vmgroup .prodlist > .product .addtocart-area {margin:0;}
.vmgroup .prodlist > .product .product-price,
.prodlist > .product .product-price {
	margin:0;
	color:#FF6D78;
	float: none;
	text-align: left;
	color: #FF6D78;
}
.prodfl {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	padding: 0 10px;
}
.productdetails .prodfl {
	padding:0;
	max-width:320px;
}


/* контейнер товара */
.vmgroup .prodlist > .product,
.browse-view .prodlist > .product {
	width:275px;
	margin:5px;
	border-radius:5px;
	float:none;
	background:#fff;
	text-align:center;
	padding:0 0 10px 0;
	box-shadow: 0 0 4px #999;
}
/* картинка */
#main .imgalink,
.imgalink {
	display:block;
	text-decoration:none!important;
  padding-top: 10px;
}



/* название товара */
#main .prodlist .product h2,
.prodlist .product h2 {	
	display:block;
	padding:0;
	margin:5px 0 0 0;
	text-align:center;
	min-height:40px;
	text-transform: none;
	letter-spacing: 0;
	line-height:18px;
	font-size: 16px;
}
#main .prodlist .product h2 a,
.prodlist .product h2 a {
	font-size:16px;
	line-height:18px;
	text-decoration:none;
	text-align:center;
	color:#5f242a;
}
#main .prodlist .product h2 a:hover,
.prodlist .product h2 a:hover {
	text-decoration:none;
}
/*.prodlist .product .addtocart-area {display:none;}*/



/*** СТРАНИЦА ТОВАРА ***/
.productdetails-view h1 {
    font-size: 24px;
    font-weight: bold;
    text-align: left;
    margin: 0;
    margin-bottom:10px;
    font-size: 26px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: normal;
}

.productdetails-view span.title {
	display:block;
	font-size:20px;
	color: #5f242a;
text-transform: uppercase;
margin: 20px 0;

}
.productdetails-view .product-description {
	font-size:15px;
	margin-bottom: 24px;
}



.productdetails-view .product-price {
	font-size:20px;
  color:#FF6D78;
}
/*
#fancybox-wrap {
	width: 100%!important;
	min-width: 320px!important;
	max-width: 600px!important;
}
#fancybox-outer {width:100%!important;}
#fancybox-content {background:#fff;width:100%!important;}
#fancybox-content h4 {color:#5f242a;font-size:16px;}
*/

.continue_link {display:inline-block;width:192px;} 
.showcart {display:inline-block;width:162px;} 
.continue_link, 
.showcart {
	font-size:14px;
	text-transform:uppercase;
	color:#fff;
	background:#FF6D78;
	padding:0;
	text-align:center;
	line-height:40px;
	border-radius:20px;
	transition:0.25s;
}
.continue_link:hover, 
.showcart:hover {
	background:#FB4551;
	text-decoration:none;
}
@media (max-width:620px){#fancybox-wrap {left:0!important;}}
@media (max-width:420px){.continue_link, .showcart {display:block;margin:5px auto;float: none;}}




span.vm-price-desc {
    margin:0;
}








#main .imgalink .product_s_desc,
.imgalink .product_s_desc {
	display: inline-block;
	position: absolute;
	left:0;
}
#main .imgalink .product_s_desc div,
.imgalink .product_s_desc div {
	line-height:32px;
	color:#fff;
}
#main .imgalink .product_s_desc div.hit1 {
  display:block;
  width:80px;
  height:80px;
  	background:url('/images/hit.png') center center no-repeat;
	background-size:contain;  
  margin-top:-6px;
}
#main .imgalink .product_s_desc div.hitc {
  display:block;
  width:80px;
  height:80px;
  	background:url('/images/hit-c.png') center center no-repeat;
	background-size:contain;  
  margin-top:-6px;
  line-height:80px;
  font-weight:bold;
  font-size:32px;
  text-align:center;
}


/* страница отображения товара */
.vm-product-container {
	display:flex;
	align-items:stretch;
	justify-content:space-between;
	flex-wrap:wrap;
}
.vm-product-container > * {
	width:50%!important;
	display:inline-block;
	float:none;
}
@media (max-width:800px){
	.vm-product-container {justify-content:center;}
	.vm-product-media-container {width:320px!important;}
	.vm-product-details-container {width:100%!important;}
	.productdetails .prodfl {margin:0 auto;}
}



#main .main-image img {
	max-height:none;
	max-height: 400px;
}
#fancybox-img {
	width:auto;
	height:auto;
	max-width:100%;
	max-height:100%;
	display:block;
	margin:0 auto;
}
#fancybox-title {display:none;}

.vm-pagination li {white-space: nowrap;}

























/* SEARCH MODULE */
.search {
	display:flex;
	justify-content:space-between;
	border: 1px solid #ccc;
	border-radius:21px;
}
#mod_virtuemart_search {
	display:inline-block;
	width:calc(100% - 42px);
	padding:0 12px;
	font-size:16px;
	line-height:42px;
	background:#fff;
	box-sizing: border-box;
	color:#999;
	border:0;
	border-radius:0;
	background:transparent;
}
#mod_virtuemart_search:focus {
	color:#333;
}
.search .button {
	display: inline-block;
	border: 0;
	margin: 0;
	padding:0;
	border-radius:6px;
	font-size: 18px;
	line-height: 23px;
	background: url('/images/src.png') center center no-repeat;
	background-color: none;	
	box-sizing:border-box;
	width:42px;
}

/* MAGIC-ZOOM */

.mz-inner span,
.mz-inner div a {display:none!important;}


/* ПАГИНАЦИЯ */

.vm-pagination ul {
    text-align: center !important;
    padding-left:0;
    display: flex;
flex-wrap: wrap;
justify-content: center;
}
span.pagenav {
    padding: 5px 10px;
    margin: 0 4px;
    border: 1px solid #aaa;
    background-color: #fafafa;
    color: #808080;
    border-radius:3px;
    background:#ccc;
    color:#fff;
}
.pagination-start span.pagenav,
.pagination-prev span.pagenav,
.pagination-next span.pagenav,
.pagination-end span.pagenav,
a.pagenav {
    padding: 5px 10px;
    margin: 0 4px;
    border: 1px solid #aaa;
    background-color: #fafafa;
    color: #808080;
    border-radius:3px;
}
.vm-pagination-top {display:none}















/* ONEPAGE 3-2 */

.opg-thumbnail {
	max-width: 125px;
}
.opg-button-primary, 
.opg-button {
	color:#fff!important;
	text-decoration:none;
}
.opg-button-primary:focus, 
.opg-button:focus,
.opg-button-primary:hover, 
.opg-button:hover {
}
.cart-product-details a,
.removeproduct,
.opg-link {
	text-decoration:none;
	color:#666;
}
.cart-product-details a:hover,
.removeproduct:hover,
.opg-link:hover {
	text-decoration:underline;
}
#main {text-align:left;}
#div_shipto {display:none;}
#other-things {margin-top:10px;}
.opg-text-primary {color:#666!important;}

.opg-width-large-1-4 {
    width: 40%;
}
.quantity-plus {margin-left:5px;}
#other-things {
  max-width:600px;
  margin:10px auto;
}
#other-things .opg-button {
  line-height:40px;
  padding:0px;
  text-align:center;
}
#right_div .opg-width-1-1 {
    max-width:600px;
  margin:10px auto;
}
.opg-margin-bottom-remove {border:0px;}

#main #bd_results {
	text-align:left;
	font-size:16px;
}
#other-things div.opg-width-1-1 {display:none;}
.opg-width-large-3-4 {
    width: 50%!important;
}
#payment_ul,
#shipment_ul {padding:0px;margin:0px;}
#payment_ul li input,
#shipment_ul li input {
	width:5%;
	display:inline-block;
	float:left;
}
#payment_ul li label,
#shipment_ul li label {
	display:inline-block;
	width:91%;
}
#payment_ul .opg-margin-small-bottom,
#shipment_ul .opg-margin-small-bottom {display:none;}
#payment_ul .opg-width-1-1,
#shipment_ul .opg-width-1-1 {margin:0px;padding:0px;}
#main .spacer-buy-area h2 {padding:0px;}
#coupon_taxfulldiv {display:none;}


.opg-thumbnail {
    max-width: 120px;
    max-height: auto;
    margin: 0px auto;
    display: block;
}

.opg-width-1-1 .product .opg-width-large-4-5 .top-row {display:flex;flex-wrap:wrap;}
.opg-width-1-1 .product .opg-width-large-4-5 .top-row > div {
	width:auto;
}
.opg-width-1-1 .product .opg-width-large-4-5 .top-row > .opg-text-large {order:1; width:calc(100% - 170px);font-size:16px!important;}
.opg-width-1-1 .product .opg-width-large-4-5 .top-row > .quantity {order:2; width:165px !important;padding: 0;text-align: right;}
.opg-text-primary {color: #000 !important;}
.opg-width-1-1 .product .opg-width-large-4-5 .top-row > .opg-text-primary {order:3; width:100%;color: #000 !important;}
.opg-width-1-1 .product .opg-width-large-4-5 .top-row > .opg-text-primary div {white-space:nowrap;text-align:right;}
.opg-width-1-1 .product .opg-width-large-4-5 .top-row > .opg-text-primary.opg-width-2-6 div:before {font-size:14px;font-weight:normal;content:'Цена за единицу: '}
.opg-width-1-1 .product .opg-width-large-4-5 .top-row > .opg-text-primary.opg-width-3-6 div:before {font-size:14px;font-weight:normal;content:'Цена за комплект: ';display:none;}
.opg-width-1-1 .product .opg-width-large-4-5 .top-row > .opg-text-primary.opg-width-3-6 div {display:none;}
.opg-width-1-1 .product .opg-width-large-4-5 .bottom-row {font-size:14px;}
.opg-width-1-1 .price-summary #sales_price, 
.opg-width-1-1 .price-summary #bill_total {padding-left:8px;white-space:nowrap;}

.opg-text-small {
    white-space: nowrap;
}
.checkout-button-top .opg-text-small {
    white-space: normal;
}






/* КАТАЛОГИ */
#main .catflx {
	display:flex;
	align-items:stretch;
	justify-content:center;
	flex-wrap:wrap;
}
#main .catflx > div {display:inline-block;margin:5px;width:275px;border-radius:5px;box-shadow: 0 0 4px #999;}
#main .catflx > div h2 {margin:0;text-transform:none;}
#main .catflx > div h2 a {
	font-size: 16px;
	line-height: 18px;
	text-decoration: none;
	text-align: center;
	color: #5f242a;
	text-transform:uppercase;
}
#main .catflx .catimga {
	display:flex;
	align-items:center;
	justify-content:center;
	height:320px;
	width:100%;
	padding-top:10px;
}
#main .catflx img {
	max-width:calc(100% - 20px)!important;
	max-height:320px!important;
	width:auto!important;
	height:auto;
}


.price-crossed {font-size:90%;text-decoration:line-through;}




/* cart page (VP One Page) */
#main .proopc-step,
#main .proopc-st-address {display:none;}
#main .proopc-column3 .proopc-shipments {margin-top:0;}
[class^="proopc-icon"] {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-top: 1px;
    line-height: 14px;
    vertical-align: text-top;
    background-image: url('/plugins/system/vponepagecheckout/assets/images/glyphicons-halflings.png');
    background-position: 14px 14px;
    background-repeat: no-repeat;
}




















/* new image style */
.browse-view .exp .prodlist > .product {width: 280px;}
.exp .spacer.product-container {width: 260px;}
.exp .prodlist .product .vm-product-media-container {width:100%;}
#main .exp .imgalink .product_s_desc, .exp .imgalink .product_s_desc {
    top: 12px;
}
#main .exp .imgalink,
.exp .prodlist .product .vm-product-media-container a {
    display: flex;
    height:270px;
    align-items:center;
    justify-content:center;
    width: 100%;
    margin: 0;
}
.exp .prodlist .product .vm-product-media-container a img.browseProductImage {
    display: block;
    max-height: 260px!important;
    max-width: 100%!important;
    height:auto!important;
    width:auto!important;
    padding:0;
}

  #fancybox-overlay {opacity:0!important;}

#vmCartModule {z-index:999!important}