.ancr-wc-cart-icon-wrapper {
    display: block;
}

.ancr-cart-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.ancr-cart-number {
    position: absolute;
    border-radius: 100%;
    text-align: center;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ancr-cart-icon-trigger {
    float: left;
    display: inline-block;
}

.ancr-cart-icon-trigger i {
    float: left;
}

a.ancr-cart-panel-link {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: block;
}

body:not(.elementor-editor-active) .ancr-cart-number.hide-number {
    display: none;
}

/* Panel */
.ancr-cart-panel-overlay {
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
}

.ancr-cart-panel-overlay.ancr-cart-panel-active {
    visibility: visible;
    opacity: 1
}

.ancr-cart-panel {
    background: #fff;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    height: auto;
    top: 20px;
    left: 20px;
    max-height: calc(100% - 40px);
    max-width: 100%;
    opacity: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    overscroll-behavior-y: contain;
    padding: 20px;
    position: fixed;
    scrollbar-width: none;
    width: 340px;
    z-index: 100001;
    box-sizing: border-box;
    box-shadow: 0 0 26px 0 rgba(0, 0, 0, .1);
    transform: translateX(calc(-100% - 25px));
    -ms-transform: translateX(calc(-100% - 25px));
    transition: all .6s cubic-bezier(.77, 0, .175, 1);
}

.ancr-cart-panel::-webkit-scrollbar {
    display: none;
}

.ancr-cart-panel.ancr-cart-panel-active {
    opacity: 1;
}

.ancr-cart-panel-right {
    left: auto;
    right: 20px;
    -webkit-transform: translateX(calc(100% + 25px));
    -ms-transform: translateX(calc(100% + 25px));
    transform: translateX(calc(100% + 25px));
}

.ancr-cart-panel.ancr-cart-panel-active {
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

.ancr-cart-panel .widget_shopping_cart_content ul {
    margin: 0;
    padding: 0;
}

.ancr-cart-panel .widget_shopping_cart_content ul.cart_list li img {
    float: left;
    width: 65px;
    margin-right: 15px;
    border-radius: 5px;
}

.ancr-cart-panel .widget_shopping_cart_content ul.cart_list li a {
    text-decoration: none;
}

.ancr-cart-panel .widget_shopping_cart_content ul.cart_list .quantity {
    display: block;
}

.ancr-cart-panel .widget_shopping_cart_content ul.cart_list li {
    margin-bottom: 25px;
    padding: 0;
}

.ancr-cart-panel .widget_shopping_cart_content ul.cart_list li:last-child {
    margin-bottom: 0;
}

.ancr-cart-panel .cart_list ins {
    text-decoration: none;
}

.ancr-cart-panel .widget_shopping_cart_content li .woocommerce-Price-amount.amount {
    font-size: 100%;
}

.ancr-cart-panel .widget_shopping_cart_content ul.cart_list .quantity,
.ancr-cart-panel .widget_shopping_cart_content .cart_list del {
    font-size: 90%;
}

.ancr-cart-panel .widget_shopping_cart_content .remove_from_cart_button {
    float: right;
}

.ancr-cart-panel .widget_shopping_cart_content a,
.ancr-cart-panel-close:before {
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
}

.ancr-cart-panel .widget_shopping_cart_content .total {
    border: 0;
    margin: 25px -20px 15px;
    padding: 15px 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.ancr-cart-panel .widget_shopping_cart_content .cart_list li a.remove {
    left: auto;
    right: 0;
    top: 0;
    margin-top: 5px;
    z-index: 2;
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 18px;
    display: block;
    text-align: center;
    border-radius: 100%;
    opacity: 0.5;
    font-size: 0;
}

.ancr-cart-panel .widget_shopping_cart_content .cart_list li a.remove:before {
    display: inline-block;
    font-family: 'swm-font-icon';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    content: '\0050';
    font-size: 12px;
    transform: rotate(45deg);
}

.ancr-cart-panel .widget_shopping_cart_content .cart_list li a.remove:hover {
    background: none;
    opacity: 1;
}

.ancr-cart-panel .woocommerce-mini-cart__total span.woocommerce-Price-amount {
    float: right;
}

.ancr-cart-panel .widget_shopping_cart_content .buttons .button {
    min-width: auto;
    width: 48%;
    font-size: calc(var(--body-font-size) - 2px);
    padding: 0 20px;
    height: 44px;
    line-height: 44px;
    border-radius: 30px;
}

.ancr-cart-panel .widget_shopping_cart_content .buttons .button:first-child {
    float: left;
}

.ancr-cart-panel .widget_shopping_cart_content .buttons .button+.button {
    float: right;
}

.ancr-cart-panel .widget_shopping_cart_content .buttons a {
    margin-right: 0;
}

.ancr-cart-panel p.woocommerce-mini-cart__buttons {
    margin: 0;
}

.ancr-cart-panel-heading {
    margin: 0 -20px 25px;
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ancr-cart-panel-heading h3 {
    display: inline-block;
    line-height: normal;
    font-size: 20px;
    float: left;
    margin: 0;
}

.ancr-cart-panel-close {
    cursor: pointer;
    text-align: center;
    font-size: 20px;
    line-height: normal;
    float: right;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ancr-cart-panel-close:before {
    display: inline-block;
    font-family: 'swm-font-icon';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    content: '\0050';
    font-size: 10px;
    transform: rotate(45deg);
    border: 1px solid;
    border-color: inherit;
    padding: 4px;
    border-radius: 50%;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    opacity: 0.5;
}

.ancr-cart-panel-close:hover:before {
    transform: rotate(135deg);
    opacity: 1;
}

/*Other*/
.ancr-hidden {
    display: none !important;
}

.ancr-cart-icon .ancr-cart-icon-trigger {
    color: var(--swm-color-text);
}

.ancr-cart-icon .ancr-cart-icon-trigger svg {
    fill: var(--swm-color-text);
}

.ancr-cart-icon:hover .ancr-cart-icon-trigger {
    color: var(--swm-color-dark-1);
}

.ancr-cart-icon:hover .ancr-cart-icon-trigger svg {
    fill: var(--swm-color-dark-1);
}

.ancr-cart-number {
    color: var(--swm-color-light-1);
    background: var(--swm-color-dark-1);
}

.ancr-cart-panel-heading h3 {
    color: var(--swm-color-headings);
}