.bo-cart-widget {
    display: inline-flex;
    position: relative;
    vertical-align: middle;
}

.bo-cart-widget__trigger {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #184163;
    cursor: pointer;
    display: inline-flex;
    font-size: 24px;
    justify-content: center;
    line-height: 1;
    padding: 8px;
    position: relative;
    transition: color .2s ease, transform .2s ease;
}

.bo-cart-widget__trigger:hover,
.bo-cart-widget__trigger:focus-visible {
    background: transparent !important;
    box-shadow: none !important;
    color: #5aa9e6;
    transform: translateY(-1px);
}

.bo-cart-widget__trigger:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.bo-cart-widget__icon,
.bo-cart-widget__icon i,
.bo-cart-widget__icon svg {
    display: block;
    height: 1em;
    width: 1em;
}

.bo-cart-widget__icon img {
    display: block;
    max-width: none;
}

.bo-cart-widget__count {
    align-items: center;
    background: #ff5925;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    display: flex;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    height: 19px;
    justify-content: center;
    line-height: 1;
    min-width: 19px;
    padding: 0 4px;
    position: absolute;
    right: -2px;
    top: -3px;
}

.bo-cart-widget__count[data-count="0"] {
    display: none;
}

.bo-cart-widget__panel {
    background: #fff;
    border-radius: 0;
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
    box-sizing: border-box;
    color: #184163;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    max-width: 100%;
    overflow: hidden;
    padding: 19px 16px 20px;
    position: fixed;
    right: 0;
    top: 0;
    width: min(424px, 100vw);
    z-index: 100002;
    animation: bo-cart-slide-in .25s ease-out both;
}

.bo-cart-widget__panel--align-left {
    left: 0;
    right: auto;
    animation-name: bo-cart-slide-in-left;
}

.bo-cart-widget__panel[hidden] {
    display: none !important;
}

.bo-cart-widget__panel,
.bo-cart-widget__panel *,
.bo-cart-widget__panel *::before,
.bo-cart-widget__panel *::after {
    box-sizing: border-box;
}

.bo-cart-widget__backdrop {
    animation: bo-cart-fade-in .2s ease-out both;
    background: rgba(9, 28, 43, .48);
    cursor: pointer;
    inset: 0;
    position: fixed;
    z-index: 100001;
}

.bo-cart-widget__backdrop[hidden] {
    display: none !important;
}

@keyframes bo-cart-slide-in {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes bo-cart-slide-in-left {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes bo-cart-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bo-cart-widget__header {
    align-items: center;
    border-bottom: 1px solid #5aa9e6;
    display: flex;
    font-family: "Rubik", sans-serif;
    font-size: 18px;
    justify-content: space-between;
    margin-bottom: 15px;
    height: 38px;
    min-height: 38px;
    padding-bottom: 16px;
    flex: 0 0 38px;
}

.bo-cart-widget__header strong {
    font-weight: 300;
    line-height: 21px;
    text-transform: uppercase;
}

.bo-cart-widget__close {
    align-items: center;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: flex;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    height: 20px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 20px;
}

.bo-cart-widget__close:hover,
.bo-cart-widget__close:focus-visible {
    background: transparent;
    color: #5aa9e6;
}

.bo-cart-widget__close:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.bo-cart-widget__shipping {
    border-bottom: 1px solid #dbdbdb;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 8px;
    padding: 4px 0 24px;
}

.bo-cart-widget__shipping p {
    color: #294861;
    font-family: "Noto Sans", sans-serif;
    margin: 0;
}

.bo-cart-widget__shipping-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
}

.bo-cart-widget__shipping-track {
    background: #dbdbdb;
    border-radius: 8px;
    height: 8px;
    overflow: hidden;
    width: 100%;
}

.bo-cart-widget__shipping-track > span {
    background: #008604;
    border-radius: inherit;
    display: block;
    height: 100%;
    transition: width .25s ease;
}

.bo-cart-widget__shipping-message {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.bo-cart-widget__shipping-message strong {
    font-weight: 700;
}

.bo-cart-widget__panel .widget_shopping_cart_content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.bo-cart-widget__panel .woocommerce-mini-cart {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    margin: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    scrollbar-color: rgba(24, 65, 99, .25) transparent;
    scrollbar-width: thin;
}

.bo-cart-widget__panel .woocommerce-mini-cart-item {
    border-bottom: 1px solid #dbdbdb;
    box-sizing: border-box;
    flex: 0 0 auto;
    min-height: 95px;
    padding: 0 0 20px;
    position: relative;
}

.bo-cart-widget__panel .woocommerce-mini-cart-item:first-child {
    padding-top: 16px;
}

.bo-cart-widget__panel .woocommerce-mini-cart-item:last-child {
    border-bottom: 0;
}

.bo-cart-widget__panel .woocommerce-mini-cart-item img {
    float: none;
    height: 54px;
    left: 0;
    margin: 0;
    mix-blend-mode: multiply;
    object-fit: contain;
    position: absolute;
    top: 0;
    width: 54px;
}

.bo-cart-widget__panel .woocommerce-mini-cart-item:first-child img {
    top: 16px;
}

.bo-cart-widget__panel .woocommerce-mini-cart-item > a:not(.remove) {
    color: #184163;
    display: block;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    /*min-height: 48px;*/
    padding: 0 71px 0 71px;
    text-decoration: none;
}

.bo-cart-widget__panel .woocommerce-mini-cart-item a.remove {
    align-items: center;
    background: transparent;
    color: #777;
    display: flex;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    height: 14px;
    justify-content: center;
    left: auto;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: 0;
    top: 8px;
    width: 14px;
    
}

.bo-cart-widget__panel .woocommerce-mini-cart-item:first-child a.remove {
    top: 24px;
}

.bo-cart-widget__panel .woocommerce-mini-cart-item a.remove:hover,
.bo-cart-widget__panel .woocommerce-mini-cart-item a.remove:focus-visible {
    background: transparent;
    color: #184163;
}

.bo-cart-widget__panel .quantity {
    display: block;
    color: #184163;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 23px;
    margin: 4px 0 0 71px;
}

.bo-cart-widget__panel .quantity .woocommerce-Price-amount bdi,
.bo-cart-widget__panel .woocommerce-mini-cart__total .woocommerce-Price-amount bdi {
    align-items: baseline;
    display: inline-flex;
    flex-direction: row-reverse;
    gap: .2em;
}

.bo-cart-widget__panel .woocommerce-mini-cart__total {
    align-items: center;
    border-top: 1px solid #5aa9e6;
    color: #184163;
    display: flex;
    flex: 0 0 auto;
    font-family: "Noto Sans", sans-serif;
    justify-content: space-between;
    margin: 0 0 24px;
    min-height: 47px;
    padding-top: 16px;
}

.bo-cart-widget__panel .woocommerce-mini-cart__total strong {
    font-size: 20px;
    font-weight: 700;
    line-height: 27px;
}

.bo-cart-widget__panel .woocommerce-mini-cart__total > .woocommerce-Price-amount {
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
}

.bo-cart-widget__panel .woocommerce-mini-cart__buttons {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 10px;
    margin: 0;
}

.bo-cart-widget__panel .woocommerce-mini-cart__buttons .button {
    align-items: center;
    border: 0;
    border-radius: 45px;
    box-shadow: 0 2px 3px rgba(111, 27, 0, .3), 0 6px 10px 4px rgba(193, 70, 0, .15);
    box-sizing: border-box;
    display: flex;
    font-family: "Alexandria", sans-serif;
    font-size: 18px;
    font-weight: 800;
    height: 60px;
    justify-content: center;
    margin: 0;
    padding: 0 40px;
    text-align: center;
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease;
    width: 100%;
}

.bo-cart-widget__panel .woocommerce-mini-cart__buttons .button:not(.checkout) {
    background: radial-gradient(88% 190% at 50% 100%, #fff 55%, #ffe8e1 100%);
}

.bo-cart-widget__panel .woocommerce-mini-cart__buttons .button:not(.checkout) span {
    background: linear-gradient(181deg, #4189c2 33%, #00355e 135%);
    background-clip: text;
    -webkit-background-clip: text;
    color: #205f91;
    -webkit-text-fill-color: transparent;
}

.bo-cart-widget__panel .woocommerce-mini-cart__buttons .button.checkout {
    background: radial-gradient(88.97% 88.97% at 50% 0%, #ffd76f 0%, #ff984a 50%, #ff7938 75%, #ff5925 100%);
    color: #fff;
}

.bo-cart-widget__panel .woocommerce-mini-cart__buttons .button:hover,
.bo-cart-widget__panel .woocommerce-mini-cart__buttons .button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 2px 12px rgba(111, 27, 0, .35), 0 8px 16px 4px rgba(193, 70, 0, .18);
}

.bo-cart-widget__panel .woocommerce-mini-cart__empty-message {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    margin: 0;
    padding: 24px 0;
    text-align: center;
}

@media (max-width: 767px) {
    .bo-cart-widget__panel {
        padding: 19px 16px 20px;
        right: 0 !important;
        top: 0;
    }

    .bo-cart-widget__panel--align-left {
        left: 0;
        right: auto !important;
    }

    .bo-cart-widget__shipping-title {
        font-size: 15px;
    }

    .bo-cart-widget__shipping-message {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bo-cart-widget__panel,
    .bo-cart-widget__backdrop {
        animation: none;
    }
}
