html {overflow:visible;}

#popupcart_extended {
    display:none;
    overflow:hidden;
    box-shadow: 0 0 15px #555 !important;
    background-color: #fff;
	width:760px;
    transition: all ease-in-out .2s;
}

.popup_visible #popupcart_extended {
	transition: all ease-in-out .2s;
}
/*
#popupcart_extended.dropdown-cart {
    padding: 50px;
    border-radius: 15px;
    min-height: 350px;
}*/
    #popupcart_extended.dropdown-cart {
    padding: 50px;
    border-radius: 15px;
    min-height: calc(100% - 120px);
}
/*#popupcart_extended .product-in-cart {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
}*/
.product-in-cart {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
}
#popupcart_extended.dropdown-cart .products-table { 
overflow-y: auto;
    padding: 0 5px;
    height: calc(100vh - 340px);
    overflow-y: auto;
    padding: 0 30px;
}
#popupcart_extended.dropdown-cart .products-table::-webkit-scrollbar {
    width: 0px;
    border-radius: 8px;
}
#popupcart_extended.dropdown-cart .products-table::-webkit-scrollbar-thumb {
    border: 0px;
    border-radius: 0px;
    background: #db1833;
}
#popupcart_extended.dropdown-cart .products-table::-webkit-scrollbar-track {
    border: 1px solid #fff;
    border-bottom: none;
    border-top: none;
    background: #ddd;
}
/*#popupcart_extended .product-in-cart + .product-in-cart {border-top: 1px solid #ddd;}*/
#popupcart_extended .prodcart-img {position: relative;flex-basis: 20%;padding: 0 0 0 0px;}
#popupcart_extended .prodcart-img img {
    padding: 0;
    border: 0;
    border-radius: 15px;
    box-shadow: 0 0 14px 0px #dad6d6;
}

#popupcart_extended .prodcart-img button.btn-danger {
    position: absolute;
    top: -10px;
    right: -10px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    padding: 0;
    background: #888!important;
}
#popupcart_extended .prodcart-img button.btn-danger i {
    font-size: 18px;
    line-height: 1;
}
#popupcart_extended .prodcart-info {
    flex-basis: 80%;
    padding: 0 5px 0 20px;
    color: #000;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
#popupcart_extended .prodcart-info .prodcart-name {
	flex-basis: 100%; 
	margin-bottom: 20px;
	display: flex;
    flex-direction: column;
}
#popupcart_extended .prodcart-info .prodcart-quantity {
flex-basis: 100%;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-left: -3px;
    margin-top: -10px;
}

.prodcart-cost .cart-total span {
    color: #323232;
    font-weight: lighter;
    margin-left: 5px;
}
#popupcart_extended .prodcart-info .prodcart-cost {
    /*flex-basis: 40%;*/
    font-size: 16px;
    line-height: 20px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
#popupcart_extended .prodcart-info .prodcart-cost .cart-total, #popupcart_extended .prodcart-info .prodcart-quantity .cart-total {
    font-size: 16px;
    font-weight: 700;
    margin: 0 5px;
    width: auto;
    display: flex;
    color: #1b3548;
    font-weight: 700;
}
#popupcart_extended .prodcart-info .prodcart-name a {
    color: #323232;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
}
#popupcart_extended .cart-title {
    color: #1b3548;
    font-size: 19px;
    font-weight: 700;
    margin: 15px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 30px;
}
#cart>.dropdown-menu.dropdown-cart.open-dropdowncart {
    display: block;
}
#popupcart_extended .total-table {
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    bottom: 20px;
    width: 100%;
    display: flex;
}
#popupcart_extended .total-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 0;
    width: 100%;
    border-top: 1px solid #e4e4e4;
    padding: 20px 30px 0px;
}
#popupcart_extended .total-row .total-title {
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
}
#popupcart_extended .total-row .total-price {
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    margin-left: 5px;
}
#popupcart_extended .total-row + .total-row > .total-price {
    font-size: 20px;
    line-height: 24px;
    color: #1b3548;
    font-weight: 700;
}
#popupcart_extended .popupcart_buttons button {
    display: inline-block;
    color: #000;
    text-align: center;
    background: transparent;
    transition: all 0.3s ease;
    outline: none !important;
    background: #fff;
    padding: 15px 25px;
    border: 1px solid #272727;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    width: 210px;
}
#popupcart_extended .popupcart_buttons button:hover {
	color: #fff;
    background: #db1833;
    border: 1px solid #db1833;
}
#popupcart_extended .popupcart_buttons button.confirm-cart {
    border: none;
    display: inline-block;
    color: #fff;
    text-align: center;
    transition: all 0.3s ease;
    outline: none !important;
    background: linear-gradient(180deg, #5da1d5, #3e76a0);
    padding: 15px 25px;
    border-radius: 0px;
    font-size: 13px;
    font-weight: bold;
    position: relative;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    bottom: -62px;
}

.total-title {
    color: #5c5c5c;
    font-size: 16px;
    font-weight: 500;
}
/*#popupcart_extended .popupcart_buttons button.confirm-cart:hover {
    background: #2db711;
    color: #fff;
}*/
#popupcart_extended .prodcart-info .prodcart-quantity .cartQuantity { position: relative;}
#popupcart_extended .prodcart-info .prodcart-quantity .cartQuantity input {
    text-align: right;
    width: 55px;
    height: 20px;
    border: 0;
    outline: none !important;
    box-shadow: none;
    font-size: 16px;
    font-weight: 700;
    margin: 0px 5px;
}
#popupcart_extended .prodcart-info .prodcart-quantity .cartQuantity i {
    width: 20px;
    height: 20px;
    background: #eee;
    box-shadow: none;
    border: 0px solid #ddd;
    border-radius: 10px;
    padding: 0;
    outline: none !important;
    font-size: 14px;
    font-weight: 300;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: -1px !important;
}
#popupcart_extended .prodcart-info .prodcart-quantity .cartQuantity i:hover {
	color: #1e5f9e;
	border-color: #1e5f9e;
}
#popupcart_extended .prodcart-info .prodcart-quantity .cartQuantity i.fa-plus {
    position: absolute;
    top: 0;
    right: 20px;
    margin: 0;
} 
#popupcart_extended .prodcart-info .prodcart-quantity .cartQuantity i.fa-minus {
	position: absolute;
    top: 0;
    left: 0;
    margin: 0;
} 

#popupcart_extended .head .fa-close{opacity: 1.0;float:right;cursor:pointer;padding:5px;margin:-1px -4px 0 0 ;color:#888;}
#popupcart_extended .head .fa-close:hover{color:#f00;}
#popupcart_extended .popupcart_info {max-height:370px;min-height:60px;margin-bottom:5px;overflow-y:auto;}


#popupcart_extended .popupcart_info .name a {
	font-size:0.9em;
	line-height:1.5em;
}

#popupcart_extended .popupcart_info small {
	font-size:0.7em;
}

#popupcart_extended .popupcart_info .image img {
	width:64px !important;
	max-width:64px !important;
	height:auto;
	border:solid 1px #e2e2e2;
	border-radius:3px;
	padding:4px;
	background:#fff;
	outline: 0;
  	box-sizing: border-box;
  	cursor:pointer;
  	margin:0;
}


#popupcart_extended .popupcart_info .quantity input[type='text'] {
	display:inline-block;
	vertical-align:top;
	text-align:center; 
	width:40px !important; 
	height:31px !important; 
	padding:1px 0px 0px !important; 
	border:solid 1px #ccc;
	border-right:none;
	border-radius:3px 0 0 3px; 
	box-shadow:inset 0px 1px 1px #ddd; 
	background:#fff !important; 
	color:#555 !important;
	line-height:normal !important;
	font-size:12px !important;
}

#popupcart_extended .popupcart_info .quantity span {display:inline-block;margin:0 0 0 -4px;border:solid 1px #ccc; border-radius:0 3px 3px 0;}
#popupcart_extended .popupcart_info span .fa {display:block;color:#888;padding:4px 8px 0;background:#eee; 
	text-shadow:0 1px 0 #fff; 
	box-shadow:inset 0 1px 0 #fefefe; 
	font-size:7px; 
	cursor:pointer;
}
#popupcart_extended .popupcart_info .fa:hover{background:#e5e5e5;}

#popupcart_extended .popupcart_info .fa-plus{height:14px;border-radius:0 3px 0 0;}
#popupcart_extended .popupcart_info .fa-minus{height:15px;border-top:solid 1px #ccc;border-radius:0 0 3px 0;}


#popupcart_extended .popupcart_info .price {
	width:100px;
	font-size:14px;
	text-align:center;
}

#popupcart_extended .popupcart_info .remove {
	width:2px;
	min-width:0px;
	padding:0 3px 0 0;
	text-align:right;
}

#popupcart_extended .popupcart_info .remove i{
	cursor:pointer;
}

#popupcart_extended .popupcart_info .remove i:hover{color:#f00;}

#popupcart_extended #cart-total {
	display:none !important;
}

#popupcart_extended .checkout {
	display:none !important;
}

#popupcart_extended .popupcart_total{
	overflow:auto;
	border-bottom:solid 1px #e2e2e2;
	line-height:23px;
	min-height:35px;
	padding:2px 0 10px;
}

#popupcart_extended .popupcart_total table{
	float:right;
}

#popupcart_extended .popupcart_total td{
	display:none;
	border:none;
	text-align:right;
}

#popupcart_extended .popupcart_total td + td{
	padding:0 0 0 10px;
	text-align:left;
}

#popupcart_extended .popupcart_total tr:last-child td{
	display:table-cell;
	font-size:1.0em !important;
}

#popupcart_extended .continue {
	text-decoration:none;
	border-bottom:dashed 1px;
	display:block;
	float:left;
	margin-top:5px;
	line-height:normal;
} 

/* #popupcart_extended .popupcart_buttons {padding: 40px 0 0px;display: flex;justify-content: space-evenly;} */

#popupcart_extended .popupcart_buttons {
    padding: 40px 0 0px;
    display: flex;
    justify-content: space-evenly;
    position: relative;
    width: 100%;
    bottom: 100px;
}
/* #popupcart_extended .popupcart_buttons a, #popupcart_extended .popupcart_buttons .button{
	font-size:0.9em;
	line-height:0.5em;
} */

#popupcart_extended .empty {
color: #000;
    font-size: 18px;
    font-weight: 700;
    width: 100%;
    height: 100%;
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#button-cart2{
	margin-left:15px;
}

#popupcart_extended #related {position:relative;overflow:hidden;background:#eee;margin:15px -24px -18px;padding:0 20px 15px;box-shadow: inset 0 1px 13px #ccc}
#popupcart_extended #related .related_product{background:none;box-shadow: 0 0 0;margin:0;}
#popupcart_extended #related .heading{color: #f00;font-size:1.1em;font-weight:400;border-bottom:solid 1px #f8f8f8;box-shadow: inset 0 -1px 0 #d5d5d5;text-shadow: 0 1px 0 #fff;padding:0 0 10px;margin:10px 5px 12px;}
#popupcart_extended .owl-wrapper-outer, #popupcart_extended .owl-wrapper {padding:0;margin:0;background:transparent;border:none;box-shadow: 0 0 0;}
#popupcart_extended #related .owl-controls {height:auto;}
#popupcart_extended #related .owl-buttons {position:absolute;top:-42px;right:5px;}
#popupcart_extended #related .owl-buttons > div {position:relative;display:inline-block;left:auto;right:auto;width:20px;text-align:center;padding:0px 0 0 1px;margin:0;line-height:1.2em;font-size:1.1em;font-weight:400;text-shadow:0 1px 0 #fff;color:#888;border:solid 1px #ccc;background:#eee;background: linear-gradient(to bottom, #eee 0%, #ddd 100%);border-radius:4px;opacity:1;}
#popupcart_extended #related .owl-buttons > div:hover{background:#eee;}
#popupcart_extended #related .owl-buttons > div:active {box-shadow:inset 0 1px #ccc;background:#ddd;background: linear-gradient(to bottom, #ddd 0%, #eee 100%);}
#popupcart_extended #related .owl-buttons > div + div {margin:0 0 0 10px}
#popupcart_extended #related .owl-pagination {position:absolute;top:-38px;right:80px;	font-size:0.8em;display:none;}
#popupcart_extended #related .owl-pagination > div {display:inline-block;margin:0 0 0 8px;padding:0 4px;border-radius:100%;color:#888;}
#popupcart_extended #related .owl-pagination > div:hover {background:#ddd;}
#popupcart_extended #related .owl-pagination > div.active {background:#ddd;}
#popupcart_extended #related .owl-item {}
#popupcart_extended #related .owl-item + .owl-item {}
#popupcart_extended #related .owl-item > div {margin:0 5px;padding:10px;border:solid 1px #ddd;border-radius:4px;background:#f5f5f5;box-shadow: inset 0 1px 0 #fff;}
#popupcart_extended #related .owl-item > div > div {border:solid 0px;display:inline-block;vertical-align:top;}
#popupcart_extended #related .owl-item > div > div + div {margin:0px 0px 0 0;width:163px;}
#popupcart_extended #related .image {margin:0 7px 0 0;}
#popupcart_extended #related .image img {width:82px;height:auto;border: solid 1px #e2e2e2;border-radius:4px;padding:5px;background:#fff;}
#popupcart_extended #related .name {min-height:40px;white-space:pre-line;line-height:1.0em;}
#popupcart_extended #related .name a{font-size:0.9em;white-space:pre-line;}
#popupcart_extended #related .price {margin:0 10px 6px 0;font-size:1.0em;line-height:1.0em;color:#444;}
#popupcart_extended #related .price .price-old{text-decoration:line-through;color:#f00;}
#popupcart_extended #related .cart {margin:0;}
#popupcart_extended #related .cart .button {line-height:0px;margin:-1px 0 0;padding: 3px 14px 4px;}

@media (max-width:790px){
	#popupcart_extended  {width:95%;}
	#popupcart_extended .cont.button {display:none}
	#popupcart_extended .popupcart_info .name {padding-left:5px !important;}
	#popupcart_extended .popupcart_info .quantity {width:60px;min-width:auto;padding:0 5px;}
	#popupcart_extended .popupcart_info {margin:0 -12px 5px}
	#popupcart_extended .popupcart_info .quantity {width:50px;min-width:auto;padding:0 5px;}
	#popupcart_extended .popupcart_info .quantity input {border-radius:3px !important;border:solid 1px #ccc !important;}
	#popupcart_extended .image, #popupcart_extended .popupcart_info .brand, #popupcart_extended .popupcart_info .quantity span {display:none}
	#popupcart_extended .popupcart_buttons {flex-direction: column-reverse; justify-content: center;align-items: center;}
	#popupcart_extended .popupcart_buttons button {margin-bottom: 10px;}

	#popupcart_extended.dropdown-cart {padding: 20px}
	#popupcart_extended .cart-title {margin-bottom: 20px;}
	#popupcart_extended.dropdown-cart .products-table {max-height: none; overflow: initial;}
	#popupcart_extended .product-in-cart {padding: 40px 0; flex-direction: column;}
	#popupcart_extended .prodcart-info .prodcart-name a {text-align: left;}
	#popupcart_extended .prodcart-img {flex-basis: 100%;padding: 0 0 0px;}
	#popupcart_extended .prodcart-info {padding: 0 5px; flex-basis: 100%;}
	#popupcart_extended .prodcart-info .prodcart-name {margin-bottom: 15px;}
	#popupcart_extended .prodcart-info .prodcart-cost {flex-basis: 100%; text-align: center; justify-content: center; align-items: center;}
	#popupcart_extended .prodcart-info .prodcart-quantity {flex-basis: 100%; margin-bottom: 15px; justify-content: center;}
	#popupcart_extended .total-row {width: 100%; margin: 10px 0 0;}
	#popupcart_extended .total-row .total-title {font-size: 14px; line-height: 18px; flex-basis: 60%; text-align: left;}
	#popupcart_extended .total-row .total-price {text-align: right; flex-basis: 50%;}
	#popupcart_extended .total-row + .total-row > .total-price {font-size: 20px; line-height: 20px;}
	
}

@media (max-width:500px){
	#popupcart_extended .popupcart_info {margin:0 -10px 5px}
	#popupcart_extended .popupcart_info .quantity {width:60px;min-width:auto;padding:0 5px;}
}

@media (max-width:400px){
	#popupcart_extended .popupcart_info {margin:0 -12px 5px}
	#popupcart_extended .popupcart_info .quantity {width:50px;min-width:auto;padding:0 5px;}
}




.wr-toper{
    background-image: url(/image/catalog/pipka.svg);
    height: 67px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    position: absolute;
    right: 21px;
    top: -16px;
    transition: all 0.4s ease-in;
    width: 60px;
    }
/*!important;*/


@media (min-width: 1850px) {



    
#popupcart_extended.dropdown-cart {
    padding: 0px!important;
    border-radius: 0px!important;
    min-height: 100%!important;
    width: 100%!important;

}


div#popupcart_extended_background{
        opacity: 0!important;
    visibility: visible;
    background-color: black;
    position: fixed;
    top: 0;
}
div#popupcart_extended_wrapper{
    opacity: 1!important;
    visibility: visible !important;
    display: block !important;
    z-index: 100001;
    transition: all 0.3s ease 0s;
    width: 100%;
    height: 100%;
    text-align: center;
    right: 0px;
    visibility: visible;
    position: fixed;
    overflow: auto;
    width: 380px!important;
    height: 100vh!important;
    top: 0px!important;
    margin-top: 100px;
    left: auto!important;
}

div#popupcart_extended {
    /* display: block !important; */
    opacity: 1 !important;
    visibility: visible !important;
}

div#popupcart_extended {
    /* display: block !important; */
    opacity: 1 !important;
    visibility: visible !important;
    /*top: 194px;*/
}

.popup_visible #popupcart_extended {
/*        transform: translateX(0) translateY(-20%);
    -o-transform: translateX(0) translateY(-20%);
    -moz-transform: translateX(0) translateY(-20%);
    -webkit-transform: translateX(0) translateY(-20%);*/
    transition: all ease-in-out .2s;
}

div#cart {
    background-color: #1b3548;
}

div#cart>.btn>svg path {
    fill: #fff;
}

div#cart>.btn> #cart-total {
    color: #fff;

}

}



@media (min-width: 500px) {
    .login-form div#popupcart_extended_background{
        opacity: 0!important;
    visibility: visible;
    background-color: black;
    position: fixed;
    top: 0;
}
.login-form div#popupcart_extended_wrapper{
    opacity: 1!important;
    visibility: visible !important;
    display: block !important;
    z-index: 100001;
    transition: all 0.3s ease 0s;
    width: 100%;
    height: 100%;
    text-align: center;
    right: 0px;
    visibility: visible;
    position: fixed;
    overflow: auto;
    width: 380px!important;
    height: 100vh!important;
    top: 0px!important;
    margin-top: 100px;
    left: auto!important;
}

.login-form div#popupcart_extended {
    /* display: block !important; */
    opacity: 1 !important;
    visibility: visible !important;
}

.login-form div#popupcart_extended {
    /* display: block !important; */
    opacity: 1 !important;
    visibility: visible !important;
    /*top: 119px;*/
}
}


@media (min-width: 900px) {



.login-form #popupcart_extended.dropdown-cart {
    padding: 0px!important;
    border-radius: 0px!important;
    min-height: 100%!important;
    width: 100%!important;

}




.login-form #popupcart_extended {
    transition: all ease-in-out .2s;
}



    
#popupcart_extended.dropdown-cart {
    padding: 0px!important;
    border-radius: 0px!important;
    min-height: 100%!important;
    width: 100%!important;

}


div#popupcart_extended_background{
        opacity: 0!important;
    visibility: visible;
    background-color: black;
    position: fixed;
    top: 0;
}
div#popupcart_extended_wrapper{
    opacity: 1!important;
    visibility: visible;
    z-index: 100001;
    transition: all 0.3s ease 0s;
    width: 100%;
    height: 100%;
    text-align: center;
    right: 0px;
    visibility: visible;
    position: fixed;
    overflow: auto;
    width: 380px!important;
    height: 100vh!important;
    top: 0px!important;
    margin-top: 100px;
    left: auto!important;
}

/*div#popupcart_extended {
     display: block !important; 
    opacity: 1 !important;
    visibility: visible !important;
    top: 194px;
}*/

/*.popup_visible #popupcart_extended {
        transform: translateX(0) translateY(-20%);
    -o-transform: translateX(0) translateY(-20%);
    -moz-transform: translateX(0) translateY(-20%);
    -webkit-transform: translateX(0) translateY(-20%);
    transition: all ease-in-out .2s;
}*/

}

@media (min-width: 910px) {
    a.continue {
    display: none !important;
}
}

@media (max-width: 900px) {
    #popupcart_extended .popupcart_buttons {
        padding: 40px 0 0px;
        display: flex;
        justify-content: space-evenly;
        position: unset;
        width: 100%;
        bottom: 100px;
    }

#popupcart_extended.dropdown-cart .products-table {
    overflow-y: auto;
    padding: 0 5px;
    height: 100%;
    overflow-y: auto;
    padding: 0 30px;
}

#popupcart_extended.dropdown-cart {
    padding: 50px;
    border-radius: 15px;
    min-height: auto;
}

#popupcart_extended.dropdown-cart {
    padding: 20px 0px;
}

#popupcart_extended.dropdown-cart {
    min-height: auto;
}

#popupcart_extended .popupcart_buttons button.confirm-cart {
    bottom: -0px;
}

#popupcart_extended .prodcart-img {
    flex-basis: 40%;
    padding: 0 0 0px;
}

#popupcart_extended .continue {
    text-decoration: none;
    border-bottom: dashed 1px;
    display: block;
    float: left;
    margin-top: 5px;
    line-height: normal;
    color: #1b3548;
}

#popupcart_extended.dropdown-cart .products-table {
    overflow-y: auto;
    padding: 0 5px;
    height: auto;
    overflow-y: auto;
    padding: 0 30px;
}

div#popupcart_extended_background {
    z-index: 1000 !important;
}

#popupcart_extended .total-table {
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    bottom: -10px;
    width: 100%;
    display: flex;
}
}
@media (min-width: 500px) and (max-width: 900px) {
    .wr-toper {
        right: 130px;
    }
    .login-form .wr-toper {
        right: 230px;
    }
}