.w_complex_prices {
	overflow: hidden;
}
.w_complex_prices>div{
	cursor: pointer;
	box-shadow: inset 0 0 100px rgb(0 0 0 / 10%);
	padding: 4px 15px;
	height: 40px;
	line-height: 32px;
	vertical-align: middle;
	font-size: 11px;
	color: white;
	box-sizing: border-box;
	display: block;
	border-radius: 100px;

	width: auto;
	text-align: center;
	float: right;
	clear: both;
}
.w_complex_prices>div:nth-child(1) {
	background-color: #0989d2;
}
.w_complex_prices>div:nth-child(1):hover{
	background-color: #0989d2d9;
}
.w_complex_prices>div:nth-child(2) {
	background-color: #28af10;
}
.w_complex_prices>div:nth-child(2):hover {
	background-color: #28af10d9;
}


/* Карточка товара */
.product-card__prices-add2cart .w_complex_prices>div{
	margin-bottom: 10px;
}

/* tile view */
.product-tile__outer .w_complex_prices>div{
	margin-bottom: 4px;
}

.product-tile__outer .product-tile__bottom {
	text-align: right;
}

/* list view */
.product-list__item .w_complex_prices>div{
	margin-top: 4px;
}

.product-list__item .js-qty.cart-qty{
	float: left;
}
.product-list__item .product-list__right>form{
	text-align: right;
}

/* table view */
.product-tbl__item .w_complex_prices>div{
	margin-top: 4px;
}

@media (max-width: 450px) {
	.product-card__prices-add2cart .product-card__add2cart {
		float: right;
	}
	.product-card__prices-add2cart #complex-plugin-table {
		clear: both;
	}
}
@media (max-width: 500px) {
	/* tile view */
	.product-tile__outer .w_complex_prices {
		margin-top: 4px;
	}
	.product-tile__outer .w_complex_prices>div {
		float: initial;
	}

	.product-tile__add2cart .add2cart-button.button-with-icon {
		padding: 4px 8px 4px 0px;
		height: 40px;
		line-height: 32px;
		width: initial;
	}
	.product-tile__add2cart .add2cart-button .button__icon {
		width: 25px;
	}
	.product-tile__outer .product-tile__bottom {
		text-align: initial;
	}
	.product-tile__add2cart .add2cart-button__text {
		display: initial!important;
		font-size: 10px;
		letter-spacing: initial;
	}

	/* list view */
	.product-list__item form.has_complexplugin .button-fastorder{
		position: absolute;
		bottom: 20px;
		left: 20px;
	}
	.product-list__item .js-submit-form.button{
		margin-right: 0;
	}

	/* table view */
	.product-tbl__item .js-submit-form.button{
		float: right;
	}
}
@media (max-width: 500px) and (min-width: 361px) {

}
@media (max-width: 430px) and (min-width: 361px) {
	.product-tile__add2cart .add2cart-button.button-with-icon {
		padding: 4px 6px 4px 6px;
	}
	.product-tile__add2cart .add2cart-button .button__icon{
		display: none;
	}
}
@media (max-width: 360px) {
	.product-tile__add2cart {
		display: block;
	}
}
@media (max-width: 800px) {
	/* table view */
	.product-tbl__item .js-submit-form.button{
		margin-right: 0;
	}
}


.product-card__add2cart .icon16.loading{
	position: absolute;
    margin-left: -14px;
}
.product-tile__stock-rate { display: inline-block; }
.product-list__rate-stock { margin-bottom: 0; }
.country-flag { display: flex; -webkit-flex-wrap: wrap-reverse; flex-wrap: wrap; flex: 0 0 46px; justify-content: center; }
.country-flag span { font-size: 10px; color: #000000; text-transform: uppercase; text-align: center; line-height: 1; font-weight: 500; }
.country-flag .images { background-repeat: no-repeat; background-position: center; height: 34px; flex: 0 0 46px; background-size: contain; }
.country-flag.turtsiya .images { background-image: url(/wa-data/public/shop/themes/mastershop/img/tr.png); }
.country-flag.belarus .images { background-image: url(/wa-data/public/shop/themes/mastershop/img/by.png); }
.country-flag.yevropa .images { background-image: url(/wa-data/public/shop/themes/mastershop/img/eu.png); }
.country-flag.kitay .images { background-image: url(/wa-data/public/shop/themes/mastershop/img/cn.png); }
.country-flag.rossiya .images { background-image: url(/wa-data/public/shop/themes/mastershop/img/ru.png); }
@media (max-width: 1080px) and (min-width: 1001px) {
	.product-tile__stock-rate { height: unset !important; }
}
@media (max-width: 500px) {
	.country-flag span { font-size: 9px; line-height: 1.5; }
	.country-flag .images { height: 25px; }
}

.product-tbl__item .country-flag {  }
.product-list__item .country-flag, .product-tbl__item .country-flag { justify-content: right; }


.tabs-block .tabs-nav { display: flex; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.tabs-block .tabs-nav .tab { display: flex; flex-direction: column; flex: 0 0 150px; justify-content: flex-start; cursor: pointer; }
.tabs-block .tabs-nav .tab > b { text-align: center; font-weight: normal; font-size: 13px; color: #989898; }
.tabs-block .tabs-nav .tab.active > b { color: #0989d2; }
.tabs-block .img-block {min-height: 65px; margin-bottom: 10px; cursor: pointer; }
.tabs-block .img-block > div { margin: 0 auto; }
.tabs-block .img-block.pickup > div {
    width: 53px;
    height: 64px;
    background-image: url(/wa-data/public/site/themes/mastershop/img/pickup.png);
}
.tabs-block .img-block.courier-service > div {
    width: 86px;
    height: 48px;
    background-image: url(/wa-data/public/site/themes/mastershop/img/courier-service.png);
}
.tabs-block .img-block.post-office > div {
    width: 65px;
    height: 65px;
    background-image: url(/wa-data/public/site/themes/mastershop/img/post-office.png);
}
.tabs-block .img-block.transport-companies > div {
    width: 92px;
    height: 56px;
    background-image: url(/wa-data/public/site/themes/mastershop/img/transport-companies.png);
}
.tabs-block .tabs-nav .tab.active .img-block.pickup > div {
    background-image: url(/wa-data/public/site/themes/mastershop/img/pickup-active.png);
}
.tabs-block .tabs-nav .tab.active .img-block.courier-service > div {
    background-image: url(/wa-data/public/site/themes/mastershop/img/courier-service-active.png);
}
.tabs-block .tabs-nav .tab.active .img-block.post-office > div {
    background-image: url(/wa-data/public/site/themes/mastershop/img/post-office-active.png);
}
.tabs-block .tabs-nav .tab.active .img-block.transport-companies > div {
    background-image: url(/wa-data/public/site/themes/mastershop/img/transport-companies-active.png);
}
.tabs-block .tabs-nav .tab:hover > b { color: #0989d2; }
.tabs-block .tabs-nav .tab:hover .img-block.pickup > div {
    background-image: url(/wa-data/public/site/themes/mastershop/img/pickup-active.png);
}
.tabs-block .tabs-nav .tab:hover .img-block.courier-service > div {
    background-image: url(/wa-data/public/site/themes/mastershop/img/courier-service-active.png);
}
.tabs-block .tabs-nav .tab:hover .img-block.post-office > div {
    background-image: url(/wa-data/public/site/themes/mastershop/img/post-office-active.png);
}
.tabs-block .tabs-nav .tab:hover .img-block.transport-companies > div {
    background-image: url(/wa-data/public/site/themes/mastershop/img/transport-companies-active.png);
}
.tabs-block .tabs-content .tab-item { display: none; }
.tabs-block .tabs-content .tab-item #map { width: 100%;height: 500px;margin-bottom: 20px; }
.tabs-block .tabs-content .tab-item.visible { display: block; }
.tabs-block .tabs-content .tab-item .top-block {
	display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.tabs-block .tabs-content .tab-item .top-block .border-top {
	background-color: #e9e9e9;
    height: 1px;
    border: none;
    margin-bottom: 10px;
    margin-top: 15px;
    width: 100%;
}
.tabs-block .tabs-content .tab-item .top-block > b {
	font-size: 20px;
    line-height: 30px;
    margin-bottom: 15px;
	color: #0989d2;
}
.tabs-block .tabs-content .tab-item .middle-block {
	font-size: 13px;
	margin-bottom: 15px;
	display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.tabs-block .tabs-content .tab-item .middle-block a { display: inline-block; font-size: 13px; color: #0989d2; }
.tabs-block .tabs-content .tab-item .bottom-block {
	display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.tabs-block .tabs-content .tab-item .bottom-block > div > b,
.tabs-block .tabs-content .tab-item .bottom-block > div > div > b { display: inline-block; width: 100%; font-size: 13px; margin-bottom: 13px; }
.tabs-block .tabs-content .tab-item .bottom-block > div > p,
.tabs-block .tabs-content .tab-item .bottom-block > div > div > p { font-size: 13px;  display: inline-block; }
.tabs-block .tabs-content .tab-item .bottom-block > div:last-child > div {display: flex; align-items: center; margin-bottom: 0; }
.tabs-block .tabs-content .tab-item .bottom-block > div > div { margin-right: 10px; font-size: 13px; display: inline-block; }
.tabs-block .tabs-content .tab-item .bottom-block > div:last-child > p {
	margin-bottom: 13px;
}

.tabs-block .tabs-content .tab-item .bottom-block > div:last-child > div .hint {
	width: 14px;
    height: 14px;
    background-image: url(/wa-data/public/site/themes/mastershop/img/hint.png);
    display: inline-block;
    cursor: pointer;
    float: right;
    position: relative;
    margin-left: 5px;
}
.tabs-block .tabs-content .tab-item .bottom-block > div:last-child > div .hint .info-block {
	display: none;
	position: absolute;
    width: 220px;
    left: -250px;
    border-radius: 5px;
    padding: 10px;
    background-color: #0989d2;
    color: white;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    top: -15px;
    z-index: 1;
}
.tabs-block .tabs-content .tab-item .bottom-block > div:last-child > div .hint .info-block.visible { display: inline-block; }
.tabs-block .tabs-content .tab-item .bottom-block > div:last-child > div .hint .info-block::after {
	content: " ";
	position: absolute;
	border-left: 12px solid #0989d2;
    border-top: 12px solid rgba(255, 241, 190, 0);
    border-bottom: 12px solid rgba(255, 241, 190, 0);
    right: -10px;
    top: 10px;
}
.tabs-block .tabs-content .tab-item .bottom-block > div { width: 100%; }
.usloviya-info {
	border-top: 1px solid #bc307e;
    border-bottom: 1px solid #bc307e;
    padding: 10px 0px;
    margin: 30px 0px 15px;
}
.usloviya-info .info-block {
	max-width: 870px;
    width: auto!important;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
	margin: auto;
}
.usloviya-info .info-block .info-img {
	margin: 10px 20px 10px 0;
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
    width: auto!important;
}
.usloviya-info .info-block > div { display: block; font-size: 20px; }
@media (max-width: 1023px) {
	.tabs-block .tabs-content .tab-item .bottom-block > div:last-child > div {
		padding: 10px!important;
    	max-width: 300px;
	}
}
@media (max-width: 767px) {
	.tabs-block .tabs-nav .tab {
		flex: 0 0 120px;
		margin-bottom: 10px;
	}
	.usloviya-info .info-block { display: block; }
	.usloviya-info .info-block .info-img { text-align: center; margin: 20px 0; }
	.usloviya-info .info-block > div { text-align: center; }
}
@media (min-width: 576px) {
	.tabs-block .tabs-content .tab-item .bottom-block > div {
		-ms-flex-preferred-size: 0;
	    flex-basis: 0;
	    -ms-flex-positive: 1;
	    flex-grow: 1;
	    max-width: 100%;
	}
}
/**/
.checkout-step.step-shipping .shipping-37 { align-items: center; }
.checkout-step.step-shipping .shipping-37 .rate .price { margin-bottom: 0; }
/**/

/* SimaKey: wholesale tiers are informational rows, scoped to this price block. */
.js-complex-plugin-table {
    clear: both;
}
.w_complex_prices.simakey-wholesale {
    display: grid;
    gap: 6px;
    width: 100%;
    min-width: 0;
    margin: 12px 0 0;
    overflow: visible;
    text-align: left;
}
.w_complex_prices.simakey-wholesale > .complex-plugin-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    float: none;
    clear: none;
    width: 100%;
    height: auto;
    min-height: 34px;
    margin: 0;
    padding: 8px 12px;
    box-shadow: none;
    border-radius: 6px;
    border: 0;
    background: #087fbe;
    color: #fff;
    font-size: 13px;
    line-height: 1.3;
    text-align: left;
    box-sizing: border-box;
}
.w_complex_prices.simakey-wholesale > .complex-plugin-price:hover {
    background: #076fa6;
}
.simakey-wholesale .complex-price-name {
    color: inherit;
    white-space: nowrap;
    font-weight: 500;
}
.simakey-wholesale .value {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    color: inherit;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}
.w_complex_prices.simakey-wholesale > .is-wholesale-first { background: #087fbe; }
.w_complex_prices.simakey-wholesale > .is-wholesale-first:hover { background: #076fa6; }
.w_complex_prices.simakey-wholesale > .is-wholesale-next { background: #25823d; }
.w_complex_prices.simakey-wholesale > .is-wholesale-next:hover { background: #1d6d32; }
.product-card__prices-add2cart .simakey-wholesale {
    max-width: 320px;
    margin-left: auto;
}
@media (max-width: 500px) {
    .w_complex_prices.simakey-wholesale { margin-top: 10px; }
    .w_complex_prices.simakey-wholesale > .complex-plugin-price {
        gap: 6px;
        padding: 8px 10px;
        font-size: 12px;
    }
}
@media (max-width: 450px) {
    .product-card__prices-add2cart .js-complex-plugin-table { clear: both; }
    .product-card__prices-add2cart .simakey-wholesale { max-width: none; }
}
