.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 499;
    background: rgba(0, 0, 0, .6);
    display: none;
    backdrop-filter: blur(2px)
}

.cart-overlay.open {
    display: block
}

.cart-panel {
    position: fixed;
    top: 12px;
    right: -440px;
    bottom: 12px;
    width: 410px;
    z-index: 500;
    background: rgba(18, 8, 8, .95);
    backdrop-filter: blur(28px) saturate(1.3);
    -webkit-backdrop-filter: blur(28px) saturate(1.3);
    border: 1px solid rgba(180, 42, 42, .16);
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: right .3s cubic-bezier(.25, .46, .45, .94)
}

.cart-panel.open {
    right: 12px
}

.cart-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(180, 42, 42, .1)
}

.cart-header-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(180, 42, 42, .18), rgba(180, 42, 42, .05));
    border: 1px solid rgba(180, 42, 42, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    box-shadow: 0 0 14px rgba(180, 42, 42, .15)
}

.cart-header-title {
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em
}

.cart-header-sub {
    font-size: 10px;
    color: var(--n500);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-top: 1px
}

.cart-close {
    margin-left: auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--n500);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    transition: .2s
}

.cart-close:hover {
    color: #fff;
    background: rgba(180, 42, 42, .15);
    border-color: rgba(180, 42, 42, .4)
}

.cart-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 24px;
    overflow-y: auto
}

.cart-empty-icon {
    color: rgba(255, 255, 255, .1)
}

.cart-empty-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .35)
}

.cart-empty-sub {
    font-size: 11px;
    color: var(--n600);
    text-transform: uppercase;
    letter-spacing: .08em
}

.cart-footer {
    padding: 20px 22px;
    border-top: 1px solid rgba(180, 42, 42, .1)
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--n500);
    margin-bottom: 6px
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 14px
}

.cart-total-val {
    font-size: 20px;
    font-weight: 900
}

.cart-coupon {
    display: flex;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    overflow: hidden
}

.cart-coupon input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255, 255, 255, .03);
    color: #fff;
    font-size: 12px;
    border: none;
    outline: 0;
    text-transform: uppercase;
    font-family: inherit
}

.cart-coupon input::placeholder {
    color: var(--n600);
    font-size: 11px;
    letter-spacing: .1em
}

.cart-coupon-ok {
    padding: 10px 16px;
    background: rgba(255, 255, 255, .05);
    color: var(--n400);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-left: 1px solid rgba(255, 255, 255, .1);
    transition: .2s
}

.cart-coupon-ok:hover {
    color: #fff;
    background: rgba(180, 42, 42, .1)
}

.cart-btn {
    width: 100%;
    padding: 15px;
    border-radius: 11px;
    background: var(--brand);
    border: none;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: .2s;
    box-shadow: 0 6px 20px rgba(180, 42, 42, .3)
}

.cart-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 26px rgba(180, 42, 42, .45)
}