/*
Mini Cart
========
*/
.shoptimizer-mini-cart-wrap {
    overflow: hidden;
    position: fixed;
    z-index: 102;
    top: 0;
    right: -420px;
    left: auto;
    width: 420px;
    height: 100vh;
    height: 100dvh;
    background-color: #fff;
    transition: all 0.35s;
    outline: none;
}
@media (max-width: 480px) {
    .shoptimizer-mini-cart-wrap {
        width: 100%;
        right: -100%;
    }
}
.admin-bar.customize-partial-edit-shortcuts-shown .shoptimizer-mini-cart-wrap {
    top: 0;
}
.admin-bar.customize-partial-edit-shortcuts-shown .shoptimizer-mini-cart-wrap .widget_shopping_cart {
    height: 100%;
}
.woocommerce-demo-store .shoptimizer-mini-cart-wrap {
    z-index: 10000;
}
@media (min-width: 601px) and (max-width: 782px) {
    .admin-bar .shoptimizer-mini-cart-wrap {
        top: 46px;
        height: calc(100% - 46px);
    }
    .admin-bar.sticky-m .header-4-container {
        top: 46px;
    }
}
@media (max-width: 782px) {
    html.drawer-open.admin-bar body {
        position: inherit;
    }
    .admin-bar .shoptimizer-mini-cart-wrap {
        z-index: 99999;
    }
}
@media (min-width: 783px) {
    .admin-bar .shoptimizer-mini-cart-wrap {
        top: 32px;
        height: calc(100% - 32px);
    }
}
/* -- Drawer opening and overlay -- */
html.drawer-open,
html.drawer-open body {
    overflow: hidden;
}
html.drawer-open .shoptimizer-mini-cart-wrap {
    overscroll-behavior: contain;
    right: 0;
    z-index: 115;
}
html.drawer-open .mobile-overlay {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
@media (min-width: 993px) {
    html.drawer-open::before {
        display: block;
        position: fixed;
        z-index: 100;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(52, 53, 55, 0.5);
        content: "";
        cursor: pointer;
        transition: opacity 0.5s, visibility 0.5s;
    }
}
/* -- Loader -- */
.shoptimizer-mini-cart-wrap div.blockOverlay {
    background-color: transparent !important;
}
#ajax-loading {
    position: absolute;
    z-index: 100;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
}
.shoptimizer-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.spinner {
    width: 38px;
    height: 38px;
    border: 1px solid #ccc;
    border-bottom-color: #111;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 0.8s linear infinite;
}
/* -- Header -- */
.cart-drawer-heading {
    position: absolute;
    margin: 12px 20px;
    font-size: 17px;
    font-weight: 600;
    color: #111;
}
.shoptimizer-mini-cart-wrap .close-drawer {
    display: block;
    position: absolute;
    top: 12.5px;
    right: 16px;
    width: 26px;
    height: 26px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #111;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.shoptimizer-mini-cart-wrap .close-drawer:hover,
.shoptimizer-mini-cart-wrap .close-drawer:focus-visible {
    border: none;
    background: none;
    box-shadow: none;
    color: #111;
}

.shoptimizer-mini-cart-wrap .close-drawer:focus-visible {
    outline: 2px solid #2491ff;
    outline-offset: 2px;
}
.shoptimizer-mini-cart-wrap .close-drawer span {
    display: flex;
    pointer-events: none;
    width: 26px;
    height: 26px;
}
/* -- Content -- */
.shoptimizer-mini-cart-wrap .widget_shopping_cart {
    display: flex;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    z-index: 10;
    top: auto;
    left: auto;
    height: calc(100% - 50px);
    margin: 0;
    margin-top: 50px;
    padding: 0px 20px 0 20px;
    background: #fff;
}
.shoptimizer-mini-cart-wrap .widget_shopping_cart_content {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.shoptimizer-mini-cart-wrap .widget_shopping_cart .product_list_widget {
    flex: 1;
    overflow-y: auto;
    width: auto;
    padding: 0 12px 0 0;
    overflow-x: hidden;
    scrollbar-color: gray transparent;
    scrollbar-width: thin;
}
.admin-bar .shoptimizer-mini-cart-wrap .widget_shopping_cart .product_list_widget {
    height: calc(100vh - 275px);
}
.shoptimizer-mini-cart-wrap .woocommerce-mini-cart.cart_list::before {
    display: inline-block;
    position: absolute;
    width: 100%;
    margin-left: -20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    content: "";
}
/* -- Remove icon -- */
.widget_shopping_cart .product_list_widget li a.remove {
    position: absolute;
    display: flex;
    top: 15px;
    left: 5px;
    font-size: 0;
    width: 14px;
    height: 14px;
}
.widget_shopping_cart .product_list_widget li a.remove:before {
    width: 14px;
    height: 14px;
    content: "";
    background-color: #444;
    display: inline-block;
    transition: opacity 0.2s ease;
}
.widget_shopping_cart .product_list_widget li a.remove:focus-visible {
    outline-offset: 1px;
}
/* -- Product (Shoptimizer / test3) -- */
.shoptimizer-mini-cart-wrap .widget_shopping_cart li.mini_cart_item {
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
    padding: 1em 0 1em 35px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 13px;
    line-height: 1.4;
}

.shoptimizer-mini-cart-wrap .widget_shopping_cart li:last-child {
    border: 0;
}

.shoptimizer-mini-cart-wrap .widget_shopping_cart li.mini_cart_item > a.remove {
    font-size: 0 !important;
    line-height: 0;
    color: transparent !important;
    text-indent: -9999px;
    overflow: hidden;
}

.shoptimizer-mini-cart-wrap .widget_shopping_cart li.mini_cart_item a:not(.remove) {
    display: block;
    margin-bottom: 0.25rem;
    color: #222;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none;
}

.shoptimizer-mini-cart-wrap .widget_shopping_cart li.mini_cart_item a {
    color: #222;
}
.shoptimizer-mini-cart-wrap .widget_shopping_cart .woocommerce-mini-cart-item del {
    text-decoration: none;
}
.shoptimizer-mini-cart-wrap .widget_shopping_cart .woocommerce-mini-cart-item del .amount {
    text-decoration: line-through;
}
.widget_shopping_cart .woocommerce-mini-cart-item .amount {
    color: #111;
    font-weight: bold;
}

.shoptimizer-mini-cart-wrap .woocommerce ul.product_list_widget li img,
.shoptimizer-mini-cart-wrap .product_list_widget img {
    max-width: 55px;
    width: 55px !important;
    height: auto !important;
    margin-left: 20px !important;
    margin-bottom: 0;
    float: right !important;
    border-radius: 4px;
}

.shoptimizer-mini-cart-wrap .widget_shopping_cart li.mini_cart_item > .amount,
.shoptimizer-mini-cart-wrap .widget_shopping_cart li.mini_cart_item > .woocommerce-Price-amount.amount {
    display: block;
    margin: 0.15rem 0 0.35rem;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.shoptimizer-mini-cart-wrap .widget_shopping_cart li.mini_cart_item .shoptimizer-custom-quantity-mini-cart_container {
    display: block;
    clear: none;
    margin-top: 0;
}

.shoptimizer-mini-cart-wrap li.woocommerce-mini-cart-item a:hover {
    color: #111;
    text-decoration: none;
}
.shoptimizer-mini-cart-wrap .widget_shopping_cart li.mini_cart_item dl.variation,
.shoptimizer-mini-cart-wrap .widget_shopping_cart li.mini_cart_item dl.variation p {
    font-size: 12px;
    color: #111;
}
.shoptimizer-mini-cart-wrap .product_list_widget li .quantity {
    display: block;
    color: #888;
    font-size: 12px;
    margin-top: 2px;
}
/* -- Totals -- */
.widget_shopping_cart .woocommerce-mini-cart__total strong {
    float: left;
}
.widget_shopping_cart .woocommerce-mini-cart__total .woocommerce-Price-amount {
    float: right;
}
.widget_shopping_cart p.total {
    margin: 0;
    padding: 1.2em 0 0 0;
    font-weight: bold;
    color: #111;
    font-size: 15px;
    border-top: 1px solid #e2e2e2;
}
.widget_shopping_cart p.total .tax_label {
    display: block;
    clear: both;
    text-align: right;
    font-weight: normal;
}
/* -- Buttons -- */
.widget_shopping_cart p.buttons {
    text-align: center;
    margin: 0;
    padding: 1em 0 1em 0;
}
.widget_shopping_cart .buttons .button {
    display: block;
}
.shoptimizer-mini-cart-wrap .woocommerce-mini-cart__buttons a {
    height: 50px;
    padding-top: 0;
    padding-bottom: 0;
    font-weight: 400;
    line-height: 50px;
}
.widget_shopping_cart a.button {
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    background-color: #fff;
    transition: all 0.3s;
    outline-offset: -0.2rem;
}
.widget_shopping_cart a.button.checkout {
    font-size: 15px;
}
.widget_shopping_cart a.button:not(.checkout) {
    margin-bottom: 10px;
    font-size: 14px;
}
.widget_shopping_cart a.button:hover {
    background-color: #f8f8f8;
}
/* -- Content below -- */
.shoptimizer-mini-cart-wrap .cart-drawer-below {
    font-size: 12px;
    line-height: 1.5em;
    padding: 0px 0px 1em 0px;
    text-align: center;
}
.shoptimizer-mini-cart-wrap .cart-drawer-below img {
    max-width: 80%;
    margin: 2px auto 13px auto;
    display: block;
}
/* -- Empty mini cart -- */
.shoptimizer-empty-mini-cart {
    font-size: 14px;
    text-align: center;
    border-top: 1px solid #e2e2e2;
}
.shoptimizer-mini-cart-wrap .woocommerce-mini-cart__empty-message {
    position: relative;
    width: 100%;
    margin: 0;
    padding-top: 115px;
    border-top: 1px solid #eee;
    color: #222;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
}
.shoptimizer-mini-cart-wrap .woocommerce-mini-cart__empty-message:before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-top: 5px;
    margin-left: -10px;
    content: "";
    display: block;
    width: 100px;
    height: 100px;
    background: #d4d3d3;
}
.shoptimizer-empty-mini-cart + p.woocommerce-mini-cart__empty-message {
    display: none;
}
.shoptimizer-empty-mini-cart .widget {
    margin-bottom: 0;
}
.shoptimizer-empty-mini-cart .widget:first-of-type {
    padding-top: 40px;
}
.shoptimizer-empty-mini-cart svg {
    margin: 0px 0 10px 0;
    width: 90px;
    height: 90px;
}
.shoptimizer-empty-mini-cart svg path,
.shoptimizer-empty-mini-cart svg circle {
    fill: #ccc;
}
.shoptimizer-empty-mini-cart h2,
.shoptimizer-empty-mini-cart .heading {
    font-size: 20px;
    letter-spacing: 0;
    line-height: 1.4;
    font-weight: bold;
    color: #131315;
}
.shoptimizer-empty-mini-cart ul {
    margin: 25px 0 15px 0;
}
.shoptimizer-empty-mini-cart ul:not(.products) li a {
    position: relative;
    color: #111;
    display: block;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 12px;
    font-size: 14px;
    line-height: 1.45;
    background-color: #fff;
    transition: 0.2s all;
}
.shoptimizer-empty-mini-cart ul:not(.products) li a:hover {
    border-color: #ccc;
}

/* HQ — overlay (mobile), loader, icons, quantity, checkout */
@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.widget_shopping_cart .product_list_widget li a.remove:before,
a.remove:before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'%3E%3C/polyline%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'%3E%3C/path%3E%3Cline x1='10' y1='11' x2='10' y2='17'%3E%3C/line%3E%3Cline x1='14' y1='11' x2='14' y2='17'%3E%3C/line%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'%3E%3C/polyline%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'%3E%3C/path%3E%3Cline x1='10' y1='11' x2='10' y2='17'%3E%3C/line%3E%3Cline x1='14' y1='11' x2='14' y2='17'%3E%3C/line%3E%3C/svg%3E");
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
}

.shoptimizer-mini-cart-wrap .woocommerce-mini-cart__empty-message:before {
    -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" viewBox="0 0 32 40"><path d="M6.783 25.703a2.264 2.264 0 0 0-2.262 2.262 2.263 2.263 0 1 0 2.262-2.262Zm11.4 0a2.264 2.264 0 0 0-2.262 2.262 2.263 2.263 0 1 0 2.262-2.262Zm-11.4 1a1.263 1.263 0 1 1-.001 2.525 1.263 1.263 0 0 1 .001-2.526Zm11.4 0a1.263 1.263 0 1 1-.001 2.525 1.263 1.263 0 0 1 .001-2.526Zm2.566-5.095v1.69a.39.39 0 0 1-.39.39H3.718a.5.5 0 0 0 0 1h16.641a1.39 1.39 0 0 0 1.39-1.39v-2.055l.005-.02 3.621-15.39H30a.5.5 0 0 0 0-1h-5.021a.5.5 0 0 0-.487.385l-1.056 4.49H2a.5.5 0 0 0-.493.583l1.863 10.9a.5.5 0 0 0 .493.417h16.886Zm2.452-10.9H2.593l1.691 9.9h16.587l2.33-9.9Zm-6.549-3.71 2.25-3.66a.501.501 0 0 0-.852-.523L15.8 6.474a.5.5 0 0 0 .852.524Zm-7.485-.524-2.25-3.66a.501.501 0 0 0-.852.525l2.25 3.659a.501.501 0 0 0 .852-.524Zm3.816-.541v-3.66a.5.5 0 0 0-1 0v3.66a.5.5 0 0 0 1 0Z"/></svg>');
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" viewBox="0 0 32 40"><path d="M6.783 25.703a2.264 2.264 0 0 0-2.262 2.262 2.263 2.263 0 1 0 2.262-2.262Zm11.4 0a2.264 2.264 0 0 0-2.262 2.262 2.263 2.263 0 1 0 2.262-2.262Zm-11.4 1a1.263 1.263 0 1 1-.001 2.525 1.263 1.263 0 0 1 .001-2.526Zm11.4 0a1.263 1.263 0 1 1-.001 2.525 1.263 1.263 0 0 1 .001-2.526Zm2.566-5.095v1.69a.39.39 0 0 1-.39.39H3.718a.5.5 0 0 0 0 1h16.641a1.39 1.39 0 0 0 1.39-1.39v-2.055l.005-.02 3.621-15.39H30a.5.5 0 0 0 0-1h-5.021a.5.5 0 0 0-.487.385l-1.056 4.49H2a.5.5 0 0 0-.493.583l1.863 10.9a.5.5 0 0 0 .493.417h16.886Zm2.452-10.9H2.593l1.691 9.9h16.587l2.33-9.9Zm-6.549-3.71 2.25-3.66a.501.501 0 0 0-.852-.523L15.8 6.474a.5.5 0 0 0 .852.524Zm-7.485-.524-2.25-3.66a.501.501 0 0 0-.852.525l2.25 3.659a.501.501 0 0 0 .852-.524Zm3.816-.541v-3.66a.5.5 0 0 0-1 0v3.66a.5.5 0 0 0 1 0Z"/></svg>');
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    background-color: #d4d3d3;
}

.shoptimizer-custom-quantity-mini-cart {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    user-select: none;
    border: 1px solid #e1e0e0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border-radius: 7px;
    width: 82px;
    padding: 2px;
    display: flex;
    align-items: center;
}

.shoptimizer-custom-quantity-mini-cart_button {
    cursor: pointer;
    border: none;
    background: transparent;
    width: 26px;
    height: 26px;
    padding: 0;
    font-size: 14px;
    line-height: 26px;
    color: #111;
    justify-content: center;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.shoptimizer-custom-quantity-mini-cart_button:focus-visible {
    outline: 2px solid #2491ff;
    outline-offset: 1px;
    border-radius: 4px;
}

.shoptimizer-custom-quantity-mini-cart_button svg {
    width: 11px;
    height: 11px;
    stroke: #111;
}

.shoptimizer-custom-quantity-mini-cart input {
    width: 32px;
    height: 26px;
    border: none;
    text-align: center;
    font-size: 12px;
    pointer-events: none;
    color: #111;
    background: transparent;
    box-shadow: none;
}

.shoptimizer-custom-quantity-mini-cart input::-webkit-outer-spin-button,
.shoptimizer-custom-quantity-mini-cart input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.shoptimizer-custom-quantity-mini-cart input[type='number'] {
    -moz-appearance: textfield;
}

.widget_shopping_cart .buttons .checkout:before {
    content: '';
    display: inline-flex;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    background-color: #fff;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' style='fill: rgba(0, 0, 0, 1);transform: ;msFilter:;'%3E%3Cpath d='M20 12c0-1.103-.897-2-2-2h-1V7c0-2.757-2.243-5-5-5S7 4.243 7 7v3H6c-1.103 0-2 .897-2 2v8c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2v-8zM9 7c0-1.654 1.346-3 3-3s3 1.346 3 3v3H9V7z'%3E%3C/path%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' style='fill: rgba(0, 0, 0, 1);transform: ;msFilter:;'%3E%3Cpath d='M20 12c0-1.103-.897-2-2-2h-1V7c0-2.757-2.243-5-5-5S7 4.243 7 7v3H6c-1.103 0-2 .897-2 2v8c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2v-8zM9 7c0-1.654 1.346-3 3-3s3 1.346 3 3v3H9V7z'%3E%3C/path%3E%3C/svg%3E");
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    position: relative;
    top: 1px;
}

/* WooCommerce general.css overrides (dev3 loads WC; test3 does not) */
.shoptimizer-mini-cart-wrap .widget_shopping_cart .widgettitle {
    display: none;
}

.shoptimizer-mini-cart-wrap .widget_shopping_cart .cart_list li,
.shoptimizer-mini-cart-wrap .widget_shopping_cart .woocommerce-mini-cart-item {
    padding-left: 35px !important;
}

.shoptimizer-mini-cart-wrap .widget_shopping_cart p.total,
.shoptimizer-mini-cart-wrap .widget_shopping_cart .woocommerce-mini-cart__total {
    margin: 0;
    padding: 1.2em 0 0;
    border-top: 1px solid #e2e2e2 !important;
}

.shoptimizer-mini-cart-wrap .widget_shopping_cart .buttons a,
.shoptimizer-mini-cart-wrap .widget_shopping_cart .woocommerce-mini-cart__buttons a {
    display: block;
    width: 100%;
    margin-right: 0 !important;
    margin-bottom: 10px;
}

.shoptimizer-mini-cart-wrap .widget_shopping_cart .buttons a.checkout,
.shoptimizer-mini-cart-wrap .widget_shopping_cart .woocommerce-mini-cart__buttons a.checkout {
    margin-bottom: 0;
}

.shoptimizer-mini-cart-wrap .widget_shopping_cart li.mini_cart_item .quantity {
    display: none !important;
}

.shoptimizer-mini-cart-wrap .widget_shopping_cart a.button.checkout {
    border: none;
    color: #fff;
    font-weight: 600;
    background-color: var(--color-primary, #e0cee5);
}

.shoptimizer-mini-cart-wrap .widget_shopping_cart a.button.checkout:hover,
.shoptimizer-mini-cart-wrap .widget_shopping_cart a.button.checkout:focus-visible {
    background-color: var(--color-primary-hover, #d9b2e4);
    color: #fff;
}

.shoptimizer-mini-cart-wrap .widget_shopping_cart a.button:not(.checkout):hover {
    background-color: #f8f8f8;
    color: #333;
}