.cart-popup-content {
    width: 760px;
    font-family: 'Noto Sans', sans-serif;
    font-family: var(--content-font-family), sans-serif;
    font-size: 14px;
    margin: 5px;
}

.cart-popup-content .popup-header {
    font-size: 24px;
    line-height: 26px;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    font-family: var(--content-font-family), sans-serif;
}

.cart-popup-content .popup-header .added-total {
    float: right;
}

.cart-popup-content h2.product-full-size-header {
    margin-top: 30px;
    font-size: 24px;
    line-height: 26px;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    font-family: var(--headings-font-family), sans-serif;
}

.cart-popup-content .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-popup-content .products {

}

.cart-popup-content .product {
    display: flex;
    align-items: center;
    margin-top: 8px;
    height: 100px;
}

.cart-popup-content .product:first-child {
    margin-top: 0;
}

.cart-popup-content .product-image {
    display: block;
    max-width: 70px;
    max-height: 100px;
    box-shadow: 0 9px 8px rgba(0, 0, 0, 0.16);
}

.cart-popup-content .product-detail {
    margin-left: 12px;
}

.cart-popup-content .product-name {
    flex-grow: 1;
    font-size: 18px;
}

.cart-popup-content .product-price {
    white-space: nowrap;
    font-size: 16px;
    font-weight: bold;
    min-width: 70px;
}

.cart-popup-content #product_list {
    margin-bottom: 0;
}

.cart-popup-content .related-products .ajax_block_product {
    display: block;
    margin-right: 0!important;
    margin-bottom: 0!important;
}

.cart-popup-content .control-line {
    min-width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 12px;
}

.cart-popup-content .btn-cart {
    padding: 16px 26px;
    padding-right: 52px;
    white-space: nowrap;
    text-align: left;
    position: relative;
}

.cart-popup-content .btn-cart::after {
    content: '';
    width: 52px;
    height: 46px;
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    background: url('/img/svg/arrow_1.svg') no-repeat center;
    background-size: 10px;
}

.cart-popup-content .btn-cart .cart-quantity {
    content: '';
    display: inline-block;
    position: absolute;
    top: 8px;
    right: 11px;

    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: white;
    background-color: #BB0000;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 15px;
}

.cart-popup-content .btn-continue {
    white-space: nowrap;
    margin-top: 8px;
    background-color: #d2febb;
    /*color: #42af08;*/
    color: green;
    border-color: #bce6a6;
    font-weight: bold;
    position: relative;
    padding-left: 48px;
}

.cart-popup-content .btn-continue::before {
    content: '';
    width: 52px;
    height: 38px;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    background: url('/img/svg/arrow_1_green.svg') no-repeat center;
    background-size: 10px;
    transform: scaleX(-1);
}

.cart-popup-content .btn-continue:hover {
    background-color: #dbfbca;
}

.product-add-to-cart.product-added,
.product-add-to-cart.product-added:hover {
    background-image: url('/img/svg/checkmark_round.svg');
    background-repeat: no-repeat;
    background-size: 32px;
    background-color: white;
    background-position: center;
    box-shadow: none;
    pointer-events: none;
}

.product-add-to-cart.product-added > img {
    display: none;
}

.cart-popup-content .loading {
    pointer-events: none;
}

.cart-popup-content .product-full-size-header{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #40ae12;
}

.cart-popup-content .product-full-size-header span{
    font-family: 'Noto Sans', sans-serif;
    font-family: var(--content-font-family), sans-serif;
    font-size: 16px;
    padding: 2px 12px;
    color: white;
    background-color: #40ae12;
    border: 1px solid #278500;
    border-radius: 23px;
    display: inline-block;
    margin-right: 6px;
    line-height: normal;
}

.cart-popup-content.popup-bookmarks {
    width: 920px;
}

.cart-popup-content.popup-bookmarks .popup-header {
    font-size: 23px;
    padding-bottom: 10px;
}

.cart-popup-content.popup-bookmarks .products-list {
    font-size: 0; /* remove spaces between children divs caused by html whitespaces */
    text-align: left;
    margin-top: 0;
    margin-bottom: 15px;
}

.cart-popup-content.popup-bookmarks .products-list .product {
    display: inline-block;
    position: relative;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
    width: 178px;
    height: auto!important;
    padding: 15px 6px 15px;
    margin: 3px 1px;
    line-height: 19px;
}

.cart-popup-content.popup-bookmarks .products-list .product.bookmark {
    width: 138px;
}

.cart-popup-content.popup-bookmarks .products-list .product.hidden {
    display: none;
}

.cart-popup-content.popup-bookmarks .products-list .product.added,
.cart-popup-content.popup-bookmarks .products-list .product:hover {
    border: 1px solid #D3D3D3;
    border-radius: 4px;
    margin: 2px 0;
}

.cart-popup-content.popup-bookmarks .products-list .product hr {
    margin-top: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid #D3D3D3;
}

.cart-popup-content.popup-bookmarks .products-list .product .product-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    text-align: left;
    margin-bottom: 14px;
}

.cart-popup-content.popup-bookmarks .products-list .product.bookmark .product-image-wrapper {
    height: 351px;
}

.cart-popup-content.popup-bookmarks .products-list .product .product-image-wrapper .product-image {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    bottom: 0;
}

.cart-popup-content.popup-bookmarks .products-list .product .product-name {
    font-size: 16px;
    font-weight: bold;
    line-height: 21px;
    margin-bottom: 10px;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-popup-content.popup-bookmarks .products-list .product.bookmark .product-name {
    text-align: center;
}

.cart-popup-content.popup-bookmarks .products-list .hide-if-empty:empty {
    display: none;
}

.cart-popup-content.popup-bookmarks .products-list .bottom-wrapper {
    /*width: 178px;*/
    width: 100%;
    height: 32px;
    text-align: right;
    background-color: white;
    margin-top: 16px;
}

.cart-popup-content.popup-bookmarks .products-list .product.bookmark .bottom-wrapper {
    text-align: center;
}

.cart-popup-content.popup-bookmarks .products-list .bottom-wrapper > * {
    vertical-align: middle;
}

.cart-popup-content.popup-bookmarks .products-list .bottom-content {
    display: inline-block;
    margin: 0 21px 14px;
    text-align: left;
}

.cart-popup-content.popup-bookmarks .products-list .price-wrapper {
    display: inline-block;
    font-weight: bold;
    font-size: 15px;
    width: 61px;
    text-align: left;
}

.cart-popup-content.popup-bookmarks .products-list .price-wrapper .price-amount {
    color: #ba0305;
    font-size: 18px;
}

.cart-popup-content.popup-bookmarks .products-list .price-wrapper .price-currency {
    display: inline-block;
}

.cart-popup-content.popup-bookmarks .products-list .button-wrapper {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 32px;
}

.cart-popup-content.popup-bookmarks .products-list .button-wrapper .button-loading {
    position: absolute;
    right: 4px;
    top: 4px;
}

.cart-popup-content.popup-bookmarks .products-list a.btn-add {
    display: inline-block;

    width: 47px;
    height: 18px;
    padding: 6px;

    color: #1E5613;
    background-color: #D5FDBB;

    border: #B6E2A3 1px solid;
    border-radius: 5px;
    box-shadow: 0 1px 2px 0 #D5FDBB;

    font-size: 15px;
    text-align: center;
    line-height: 18px;
}

.cart-popup-content.popup-bookmarks .products-list a.btn-add:hover {
    text-decoration: none;
    background-color: #3DAB0F;
    border-color: #3DAB0F;
    color: white;
}

.cart-popup-content.popup-bookmarks .products-list a.btn-remove {
    display: inline-block;

    width: 25px;
    height: 25px;
    border: 1px solid #D3D3D3;
    border-radius: 13px;

    vertical-align: middle;
    margin-right: 4px;

    text-align: center;
    line-height: 25px;
}

.cart-popup-content.popup-bookmarks .products-list .product-added-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background-color: #3DAB0F;
    vertical-align: middle;
    text-align: center;
    line-height: 37px;
}

.cart-popup-content.popup-bookmarks .products-list a.button2 {
    width: 99px;
    height: 31px;
    padding: 0;
    border: none;
}

.cart-popup-content.popup-bookmarks .products-list a.button2,
.cart-popup-content.popup-bookmarks .products-list a.button2:hover {
    background-position: 0 0 !important;
}

.cart-popup-content.popup-bookmarks .products-list div.added a.button2 {
    background-image: url('/themes/mk2/img/after_order_added_small_button.png');
    width: 38px;
    height: 38px;
    margin-top: 0 !important;
}

.cart-popup-content.popup-bookmarks .bottom-line {
    text-align: center;
    margin-left: -7px;
}
