.wrap-header-cart .header-cart {
    background: #fff;
    box-shadow: -16px 0 48px rgba(15, 23, 42, .16);
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    max-width: 100vw;
    padding: 0;
    width: min(440px, 100vw);
}

.wrap-header-cart .header-cart::after {
    display: none;
    background: #f8fafb;
    box-shadow: -16px 0 48px rgba(15, 23, 42, .18);

.wrap-header-cart .header-cart-title.sl-cart-panel-title {
    align-items: center;
    border-bottom: 1px solid #edf0f3;
    display: flex;
    flex: 0 0 auto;
    height: auto;
    justify-content: space-between;
    min-height: 76px;
    padding: 18px 24px;
    width: 100%;
}

.sl-cart-panel-title .mtext-103 {
    color: #171b21;
    font-family: inherit;
    font-size: 19px;
    font-weight: 750;
    letter-spacing: .01em;
    margin: 0;
    text-transform: uppercase;
}

.sl-cart-close,
.sl-cart-remove {
    align-items: center;
    background: transparent;
    border: 0;
    color: #6b7280;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    padding: 6px;
    transition: background-color .18s ease, color .18s ease;
}

.sl-cart-close {
    border-radius: 50%;
    background: #fff;
    height: 38px;
    width: 38px;
    box-shadow: 0 3px 12px rgba(26, 38, 52, .045);

.sl-cart-close:hover,
.sl-cart-remove:hover {
    background: #f1f3f5;
    color: #20252b;
}

.wrap-header-cart .header-cart-wrapitem {
    flex: 1 1 auto;
    margin: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 18px 20px;
    width: 100%;
}

.wrap-header-cart .header-cart-item.sl-cart-item {
    align-items: flex-start;
    background: #fff;
    border-top: 1px solid #e4e9ee;
    border-radius: 14px;
    box-shadow: 0 5px 16px rgba(26, 38, 52, .06);
    display: flex;
    gap: 14px;
    margin: 0 0 12px;
    padding: 14px;
    position: relative;
    padding: 20px 22px calc(18px + env(safe-area-inset-bottom));

.wrap-header-cart .sl-cart-item-image {
    background: #f5f7f8;
    border: 0;
    border-radius: 10px;
    flex: 0 0 68px;
    height: 68px;
    margin: 0;
    overflow: hidden;
    width: 68px;
}

.wrap-header-cart .sl-cart-item-image::after {
    display: none;
}

.wrap-header-cart .sl-cart-item-image img {
    height: 100%;
    object-fit: contain;
    padding: 5px;
    width: 100%;
}

.wrap-header-cart .header-cart-item-txt.sl-cart-item-details {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    width: auto;
}

.sl-cart-item-details > .d-flex {
    align-items: flex-start;
    gap: 8px;
}

.sl-cart-item-details .sl-cart-item-name {
    color: #20252b;
    flex: 1 1 auto;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 2px 0 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.sl-cart-item-variant {
    color: #6b7280;
    display: block;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 4px;
    opacity: 1 !important;
}

.sl-cart-item-details .sl-cart-remove {
    border-radius: 50%;
    color: #8b929b;
    flex: 0 0 30px;
    font-size: 16px;
    height: 30px;
    margin: -5px -5px 0 0;
    padding: 0;
    width: 30px;
}

.sl-cart-item-pricing {
    align-items: center;
    color: #414852;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.sl-cart-item-pricing .sl-cart-unit-price {
    color: #39414b;
    font-size: 13px;
    white-space: nowrap;
}

.sl-cart-quantity-label {
    align-items: center;
    color: #6b7280;
    display: inline-flex;
    font-size: 0;
    margin: 0;
}

.sl-cart-item-pricing .js-cart-qty {
    border: 1px solid #dce1e6;
    border-radius: 7px;
    color: #20252b;
    font-size: 13px;
    height: 32px;
    line-height: 1;
    padding: 4px;
    width: 52px;
}

.sl-cart-item-pricing .js-cart-qty:focus {
    border-color: #7b8794;
    box-shadow: 0 0 0 3px rgba(80, 96, 112, .12);
    outline: 0;
}

.sl-cart-item-pricing .sl-cart-line-total {
    color: #20252b;
    flex: 1 0 100%;
    font-size: 15px;
    line-height: 1.25;
    margin-top: 1px;
}

.sl-cart-lens-note {
    color: #606a75;
    display: block;
    font-size: 11px;
    line-height: 1.4;
    margin-top: 7px;
}

.wrap-header-cart .header-cart-content {
    align-content: initial;
    background: #fff;
    border-top: 1px solid #edf0f3;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 18px;
    max-height: 48vh;
    max-height: 48dvh;
    overflow: visible;
    padding: 18px 22px calc(18px + env(safe-area-inset-bottom));
    width: 100%;
}

.sl-cart-totals {
    color: #636c76;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.45;
    width: 100%;
}

.sl-cart-total-line {
    align-items: baseline;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 0;
}

.sl-cart-total-line b {
    color: #303741;
    font-size: 13px;
    font-weight: 650;
    text-align: right;
    white-space: nowrap;
}

.sl-cart-total-main {
    border-top: 1px solid #e7ebef;
    color: #20252b;
    font-size: 16px;
    font-weight: 750;
    margin-top: 7px;
    padding-top: 12px;
}

.sl-cart-total-line.sl-cart-total-main b {
    color: #111827;
    font-size: 18px;
    font-weight: 800;
}

.header-cart-buttons.sl-cart-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    width: 100%;
}

.sl-cart-actions .sl-cart-action {
    align-items: center;
    border: 1px solid #dce1e6;
    border-radius: 9px;
    display: inline-flex;
    font-family: inherit;
    font-size: 13px;
    font-weight: 650;
    justify-content: center;
    line-height: 1.25;
    min-height: 46px;
    padding: 10px 12px;
    text-align: center;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.sl-cart-actions .sl-cart-action:hover {
    transform: translateY(-1px);
}

.sl-cart-actions .sl-cart-action-secondary {
    background: #fff;
    color: #333b44;
}

.sl-cart-actions .sl-cart-action-secondary:hover {
    background: #f6f8f9;
    border-color: #c8d0d7;
}

.sl-cart-actions .sl-cart-action-primary {
    background: #20252b;
    border-color: #20252b;
    color: #fff;
}

.sl-cart-actions .sl-cart-action-primary:hover {
    background: #363d45;
    border-color: #363d45;
}

.wrap-header-cart .header-cart-wrapitem > li:not(.sl-cart-item) {
    color: #69737e;
    font-size: 14px;
    padding: 42px 12px !important;
    text-align: center;
}

@media (max-width: 575px) {
    .wrap-header-cart .header-cart {
        max-width: 100vw;
        width: 100vw;
    }

    .wrap-header-cart .header-cart-title.sl-cart-panel-title {
        min-height: 68px;
        padding: 14px 20px;
    }

    .wrap-header-cart .header-cart-wrapitem {
        padding: 14px 16px;
    }

    .wrap-header-cart .header-cart-item.sl-cart-item {
        border-radius: 12px;
        gap: 12px;
        padding: 12px;
    }

    .wrap-header-cart .sl-cart-item-image {
        flex-basis: 60px;
        height: 60px;
        width: 60px;
    }

    .wrap-header-cart .header-cart-content {
        gap: 14px;
        max-height: 44vh;
        max-height: 44dvh;
        padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
    }
}
