body.vp-cart-drawer-open {
    overflow: hidden;
}

.vp-cart-drawer {
    position: fixed;
    z-index: 100000;
    inset: 0;
    visibility: hidden;
    pointer-events: none;
}

.vp-cart-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.vp-cart-drawer__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(10, 20, 45, 0.48);
    cursor: default;
    opacity: 0;
    transition: opacity 220ms ease;
}

.vp-cart-drawer.is-open .vp-cart-drawer__overlay {
    opacity: 1;
}

.vp-cart-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    width: min(440px, 100vw);
    height: 100%;
    flex-direction: column;
    background: #fff;
    box-shadow: -18px 0 50px rgba(10, 20, 45, 0.18);
    color: #14317b;
    outline: none;
    transform: translateX(102%);
    transition: transform 260ms cubic-bezier(0.22, 0.68, 0.22, 1);
}

.vp-cart-drawer.is-open .vp-cart-drawer__panel {
    transform: translateX(0);
}

.vp-cart-drawer__header {
    display: flex;
    min-height: 78px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #dfe3eb;
}

.vp-cart-drawer__header h2 {
    margin: 0;
    color: #14317b;
    font-family: "Avenir-Next", Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.vp-cart-drawer__count {
    display: inline-block;
    margin-left: 3px;
    font-size: 13px;
    font-weight: 400;
}

.vp-cart-drawer__close {
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #14317b;
    cursor: pointer;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    place-items: center;
}

.vp-cart-drawer__content {
    flex: 1 1 auto;
    min-height: 0;
    padding: 8px 24px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.vp-cart-drawer__loading,
.vp-cart-drawer__error {
    margin: 28px 0;
    color: #5a6377;
    font-size: 14px;
    text-align: center;
}

.vp-cart-drawer__content .widget_shopping_cart_content {
    color: #14317b;
}

.vp-cart-drawer__content .woocommerce-mini-cart,
.vp-cart-drawer__content .cart_list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vp-cart-drawer__content .woocommerce-mini-cart-item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) 32px;
    grid-template-rows: auto auto;
    gap: 6px 12px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid #e5e8ef;
    line-height: 1.5;
}

.vp-cart-drawer__content .woocommerce-mini-cart-item > a:not(.remove) {
    display: grid;
    grid-column: 1 / span 2;
    grid-row: 1;
    grid-template-columns: 82px minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    min-width: 0;
    color: #14317b;
    font-size: 13px;
    line-height: 1.45;
    text-decoration: none;
}

.vp-cart-drawer__content .woocommerce-mini-cart-item img {
    grid-column: 1;
    width: 82px;
    max-width: 82px;
    height: 82px;
    border: 0;
    object-fit: contain;
    background: #fff8ef;
}

.vp-cart-drawer__content .woocommerce-mini-cart-item .quantity {
    display: block;
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    color: #657087;
    font-size: 12px;
}

.vp-cart-drawer__content .woocommerce-mini-cart-item .remove {
    position: static !important;
    display: grid;
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: start;
    justify-self: end;
    width: 30px;
    height: 30px;
    margin: 0;
    border: 1px solid #dfe3eb;
    border-radius: 50%;
    background: #fff;
    color: #687186;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    place-items: center;
}

.vp-cart-drawer__content .woocommerce-mini-cart__total {
    display: flex;
    justify-content: space-between;
    margin: 20px 0 0;
    padding: 16px 0;
    border-top: 1px solid #dfe3eb;
    color: #14317b;
    font-size: 15px;
}

.vp-cart-drawer__content .woocommerce-mini-cart__buttons {
    display: none;
}

.vp-cart-drawer__content .woocommerce-mini-cart__empty-message {
    margin: 70px 0;
    color: #5a6377;
    font-size: 15px;
    text-align: center;
}

.vp-cart-drawer__actions {
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 18px 24px 24px;
    border-top: 1px solid #dfe3eb;
    background: #fff;
}

.vp-cart-drawer.is-empty .vp-cart-drawer__actions {
    display: none;
}

.vp-cart-drawer__actions a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid #14317b;
    color: #14317b;
    font-family: "Avenir-Next", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

.vp-cart-drawer__actions .vp-cart-drawer__checkout {
    background: #14317b;
    color: #fff;
}

.vp-cart-drawer__actions a:hover {
    opacity: 0.86;
}

.vp-add-to-cart.is-loading {
    cursor: wait;
    opacity: 0.65;
}

@media (max-width: 520px) {
    .vp-cart-drawer__panel {
        width: 100vw;
    }

    .vp-cart-drawer__header {
        padding: 16px 18px;
    }

    .vp-cart-drawer__content {
        padding-inline: 18px;
    }

    .vp-cart-drawer__actions {
        padding: 14px 18px 20px;
    }
}
