.cart--empty-message {
    text-align: center
}

.cart--empty-message p {
    font-size: 16px;
    padding: 0 30px
}

.cart--empty-message svg {
    width: 50px;
    height: 50px;
    margin: 15px;
    fill: var(--main-color)
}

.cart--empty-message svg path {
    fill: var(--main-color)
}

@media (max-width: 767px) {
    .cart--empty-message p {
        padding: 0 10px
    }
}

.cart--empty-message .button-link {
    margin-bottom: 15px
}

.block-cart .top-cart-content {
    width: 340px;
    background-color: #fff;
    right: 0px;
    top: 64px;
    position: absolute;
    background: #fff;
    padding: 0;
    line-height: normal;
    text-align: left;
    box-shadow: 0px 3px 25px 0px rgba(31, 38, 67, 0.1);
    -o-box-shadow: 0px 3px 25px 0px rgba(31, 38, 67, 0.1);
    -moz-box-shadow: 0px 3px 25px 0px rgba(31, 38, 67, 0.1);
    -webkit-box-shadow: 0px 3px 25px 0px rgba(31, 38, 67, 0.1);
    z-index: -1
}

@media (min-width: 1199px) {
    .block-cart:hover .top-cart-content {
        display: block;
        z-index: 1000
    }
}

.CartHeaderContainer .grid:nth-child(2) {
    float: right
}

.CartHeaderContainer .grid:nth-child(2), .CartHeaderContainer .grid:nth-child(3) {
    display: inline-block
}

.CartHeaderContainer .line-price div {
    display: none
}

.cartheader .ajaxcart__footer {
    margin-top: 0;
    padding: 10px 10px
}

.cart-container .cart-header-info {
    display: flex;
    display: flex;
    padding: 7px 0;
    border: solid 1px #ebebeb;
    border-bottom: none;
    font-weight: bold
}

@media (max-width: 1199px) {
    .cart-container .cart-header-info {
        display: none
    }
}

.cart-container .cart-header-info div:nth-child(1) {
    width: 51%;
    text-align: left;
    padding-left: 10px
}

.cart-container .cart-header-info div:nth-child(2) {
    width: 16%;
    text-align: center
}

.cart-container .cart-header-info div:nth-child(3) {
    width: 16%;
    text-align: center
}

.cart-container .cart-header-info div:nth-child(4) {
    width: 16%;
    text-align: center
}

.popup-cart {
    width: 950px;
    max-height: 505px;
    height: auto;
    background: #fff;
    margin: 0 auto;
    position: relative;
    border-radius: 4px;
    position: fixed;
    left: 50%;
    top: 10%;
    display: none;
    transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1), visibility 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    box-shadow: none;
    touch-action: manipulation;
    z-index: -1;
    padding-bottom: 20px
}

.popup-cart.fade-in {
    display: block;
    z-index: 9999;
    transform: translateX(-50%);
    box-shadow: 0px 3px 25px 0px rgba(31, 38, 67, 0.1);
    -o-box-shadow: 0px 3px 25px 0px rgba(31, 38, 67, 0.1);
    -moz-box-shadow: 0px 3px 25px 0px rgba(31, 38, 67, 0.1);
    -webkit-box-shadow: 0px 3px 25px 0px rgba(31, 38, 67, 0.1)
}

.popup-cart .header-popcart {
    position: relative;
    background: #fff
}

.popup-cart .header-popcart .top-cart-header {
    font-size: 16px;
    padding-right: 15px;
    font-weight: 400;
    padding: 8px 20px;
    background: var(--main-color);
    color: #fff
}

.popup-cart .header-popcart .top-cart-header svg {
    margin-right: 5px;
    margin-top: -3px;
    width: 20px;
    height: 20px
}

.popup-cart .header-popcart .top-cart-header .cart-popup-name {
    color: #fff
}

.popup-cart .header-popcart .top-cart-header .cart-popup-name:hover {
    color: var(--main-color)
}

.popup-cart .header-popcart .noti-cart-count {
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 0;
    color: #333333;
    padding: 10px 20px;
    display: block
}

.popup-cart .header-popcart .noti-cart-count:hover {
    color: var(--hover-link)
}

.popup-cart .header-popcart .cart_btn-close {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 10000;
    color: #fff
}

.popup-cart .header-popcart .cart_btn-close svg {
    width: 15px;
    height: 15px
}

.popup-cart .wp-popup-cart {
    padding: 0 10px
}

.popup-cart .wp-popup-cart .cart_body {
    max-height: 275px;
    overflow-y: auto
}

.popup-cart.mobile {
    width: 270px;
    max-height: 400px;
    height: auto;
    background: #fff;
    margin: 0 auto;
    position: relative;
    border-radius: 4px;
    position: fixed;
    left: 50%;
    top: 10%;
    display: none;
    transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1), visibility 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    box-shadow: none;
    touch-action: manipulation;
    z-index: -1;
    padding-bottom: 0
}

.popup-cart.mobile.fade-in {
    display: block;
    z-index: 9999;
    transform: translateX(-50%);
    box-shadow: 0px 3px 25px 0px rgba(31, 38, 67, 0.1);
    -o-box-shadow: 0px 3px 25px 0px rgba(31, 38, 67, 0.1);
    -moz-box-shadow: 0px 3px 25px 0px rgba(31, 38, 67, 0.1);
    -webkit-box-shadow: 0px 3px 25px 0px rgba(31, 38, 67, 0.1)
}

.popup-cart.mobile .wp-popup-cart {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    padding: 15px 10px
}

.popup-cart.mobile .wp-popup-cart svg {
    width: 50px;
    height: 50px;
    margin-bottom: 5px
}

.popup-cart.mobile .wp-popup-cart svg path {
    stroke: var(--main-color)
}

.cart_body:not(.body-cart-page) {
    padding: 15px;
    max-height: 360px;
    overflow-y: auto;
    overflow-x: hidden
}

.cart_body:not(.body-cart-page)::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    background-color: #F5F5F5
}

.cart_body:not(.body-cart-page)::-webkit-scrollbar {
    width: 5px;
    background-color: #F5F5F5
}

.cart_body:not(.body-cart-page)::-webkit-scrollbar-thumb {
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
    background-color: #e5e5e5
}

.cart_body:not(.body-cart-page) .cart__btn-remove {
    position: absolute;
    right: 0px;
    top: 0px
}

.cart_body:not(.body-cart-page) .cart__btn-remove:hover {
    color: var(--hover)
}

.cart_body:not(.body-cart-page) .cart_product {
    margin-bottom: 15px;
    padding-bottom: 15px;
    display: table;
    width: 100%;
    border-bottom: solid 1px #ebebeb
}

.cart_body:not(.body-cart-page) .cart_product > input {
    position: relative;
    left: 0
}

.cart_body .cart__btn-remove {
    font-size: 13px;
    color: #30656b
}

.cart_body .cart_image {
    display: table-cell;
    width: 24%;
    vertical-align: top;
    position: relative;
    padding-left: 10px
}

.cart_body .cart_info {
    padding-left: 15px;
    vertical-align: top
}

.cart_body .cart_info .cart_name {
    margin-bottom: 5px;
    position: relative
}

.cart_body .cart_info .cart_name a:not(.remove-item-cart) {
    margin-bottom: 4px;
    padding-right: 20px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    display: block
}

.cart_body .cart_info .cart_name a:not(.remove-item-cart):hover {
    color: var(--hover)
}

.cart_body .cart_info .variant-title {
    display: block;
    font-size: 12px
}

.cart_body .grid {
    display: flex
}

.cart_body .grid .cart_item_name {
    width: 50%
}

.cart_body .grid .cart_item_name .cart_quantity {
    font-size: 12px;
    margin-bottom: 5px;
    display: block;
    font-weight: normal;
    color: #333
}

.cart_body .grid .cart_prices {
    width: 50%;
    text-align: right
}

.cart_body .grid .cart_prices .cart-price {
    font-weight: bold;
    display: block;
    font-size: 14px;
    color: #ef1104;
    margin-bottom: 3px
}

.cart_body .grid .cart_prices .cart-price-compare {
    font-size: 13px;
    color: #acacac;
    text-decoration: line-through
}

.cart_body .cart_select input {
    display: inline-block;
    padding: 0;
    text-align: center;
    border-radius: 0;
    width: 35px;
    min-height: 28px;
    border: 1px solid #e5e5e5;
    color: #222;
    height: 28px;
    font-size: 14px;
    margin: 0;
    float: left;
    border-left: none;
    border-right: none
}

.cart_body .cart_select button {
    border-radius: 0;
    border: 1px solid #e5e5e5;
    border-color: #e5e5e5;
    color: #222;
    line-height: 26px;
    padding: 0;
    margin: 0;
    width: 28px;
    background-color: #fff;
    height: 28px;
    float: left
}

.cart_body .cart_select button.btn-minus {
    border-right: 0
}

.cart_body .cart_select button.btn-plus {
    border-left: 0
}

.cart_body .cart_select button:hover {
    color: var(--hover-link)
}

.cart_body.body-cart-page {
    border: solid 1px #ebebeb
}

@media (min-width: 1200px) {
    .cart_body.body-cart-page .cart_product {
        padding: 10px 0;
        border-top: solid 1px #ebebeb;
        width: 100%;
        height: 120px;
        display: flex;
        align-items: center
    }

    .cart_body.body-cart-page .cart_product:first-child {
        border-top: none
    }

    .cart_body.body-cart-page .cart_product > input {
        position: relative;
        left: 10px
    }

    .cart_body.body-cart-page .cart_image {
        width: 110px;
        height: 110px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 20px
    }

    .cart_body.body-cart-page .cart_image img {
        max-width: 100%;
        max-height: 100%
    }

    .cart_body.body-cart-page .cart_info {
        padding-left: 15px;
        vertical-align: top;
        padding-right: 10px;
        display: flex;
        width: calc(100% - 110px);
        -webkit-width: calc(100% - 110px);
        -moz-width: calc(100% - 110px);
        -o-width: calc(100% - 110px);
        -os-width: calc(100% - 110px)
    }

    .cart_body.body-cart-page .cart_info .cart_name {
        width: 50%;
        margin-bottom: 5px
    }

    .cart_body.body-cart-page .cart_info .cart_name a {
        margin-bottom: 4px;
        font-size: 13px;
        font-weight: 500;
        line-height: 18px;
        display: block
    }

    .cart_body.body-cart-page .cart_info .cart_name a:hover {
        color: var(--hover)
    }

    .cart_body.body-cart-page .cart_info .cart_name .remove-item-cart {
        display: block;
        color: var(--main-color);
        font-weight: 300
    }

    .cart_body.body-cart-page .cart_info .cart_name p {
        margin: 0;
        font-style: italic;
        color: #9e9e9e
    }

    .cart_body.body-cart-page .cart_info .variant-title {
        display: block;
        font-size: 12px
    }

    .cart_body.body-cart-page .cart_item_name {
        width: 60%
    }

    .cart_body.body-cart-page .grid {
        width: 20%;
        display: flex;
        align-items: center;
        justify-content: center
    }

    .cart_body.body-cart-page .grid .cart_prices .cart-price {
        font-weight: bold;
        display: block;
        font-size: 14px;
        color: #ef1104
    }

    .cart_body.body-cart-page .grid .cart_prices .cart-price-compare {
        font-size: 13px;
        color: #acacac;
        text-decoration: line-through
    }

    .cart_body.body-cart-page .grid .cart__btn-remove {
        font-size: 13px;
        color: #30656b
    }

    .cart_body.body-cart-page .grid .cart_quantity {
        font-size: 12px;
        margin-bottom: 5px;
        display: block;
        font-weight: normal;
        color: #333
    }
}

@media (max-width: 1199px) {
    .cart_body.body-cart-page .cart_product {
        margin-bottom: 0;
        padding: 10px 0px 10px 5px;
        display: table;
        width: 100%;
        border-bottom: solid 1px #ebebeb
    }

    .cart_body.body-cart-page .grid .cart_prices {
        width: 100%;
        text-align: left
    }

    .cart_body.body-cart-page .line-price div {
        display: none
    }

    .cart_body.body-cart-page .cart_select input {
        height: 24px;
        line-height: 20px;
        min-height: unset;
        font-size: 13px
    }

    .cart_body.body-cart-page .cart_name {
        padding-right: 40px
    }

    .cart_body.body-cart-page .cart_select button {
        width: 24px;
        height: 24px;
        line-height: 20px
    }

    .cart_body.body-cart-page .cart__btn-remove {
        position: absolute;
        right: 10px;
        top: 0px
    }

    .cart_body.body-cart-page .cart__btn-remove:hover {
        color: var(--hover)
    }
}

.ajaxcart__footer {
    margin-top: 20px
}

.ajaxcart__footer .cart__subtotal {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex
}

.ajaxcart__footer .cart__subtotal .cart__col-6 {
    width: 50%;
    float: left
}

.ajaxcart__footer .cart__subtotal .cart__totle {
    width: 50%;
    float: left;
    text-align: right
}

.ajaxcart__footer .cart__subtotal .cart__totle .total-price {
    color: var(--price);
    font-weight: bold
}

.ajaxcart__footer .cart__btn-proceed-checkout-dt {
    display: block;
    position: relative
}

.ajaxcart__footer .cart__btn-proceed-checkout-dt button {
    width: 100%;
    background-color: var(--button-hover);
    color: var(--button-color);
    text-align: center;
    line-height: 40px;
    border: 1px solid var(--button-hover)
}

.ajaxcart__footer .cart__btn-proceed-checkout-dt button:hover {
    color: var(--button-hover);
    background-color: var(--button-background);
    background: initial
}

.ajaxcart__footer .cart__btn-proceed-checkout-dt button:disabled {
    opacity: 0.5
}
