[x-cloak] {
    display: none !important;
}

.bty-cart-lock {
    overflow: hidden;
}

.bty-cart-shell {
    position: fixed;
    inset: 0;
    z-index: 70;
    pointer-events: none;
}

.bty-cart-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 20, 47, 0.46);
    opacity: 0;
    transition: opacity 180ms ease;
    pointer-events: none;
}

.bty-cart-shell.is-open {
    pointer-events: auto;
}

.bty-cart-shell.is-open .bty-cart-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.bty-cart-panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(100vw, 440px);
    height: 100dvh;
    background: #fff;
    box-shadow: 0 24px 80px rgba(7, 20, 47, 0.28);
    transform: translateX(100%);
    transition: transform 260ms ease;
}

.bty-cart-shell.is-open .bty-cart-panel {
    transform: translateX(0);
}

.bty-cart-head {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2ebf7;
    padding: 0 20px;
}

.bty-cart-eyebrow {
    margin: 0;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    color: #667894;
}

.bty-cart-title {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    color: #07142f;
}

.bty-cart-icon-button {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #07142f;
    cursor: pointer;
}

.bty-cart-icon-button:hover {
    background: #f1f6ff;
}

.bty-cart-message {
    margin: 16px 20px 0;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    background: #f0fdf4;
    padding: 12px 16px;
    color: #15803d;
    font-size: 14px;
    font-weight: 700;
}

.bty-cart-message.is-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.bty-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.bty-cart-skeleton {
    height: 96px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: #f1f6ff;
}

.bty-cart-empty {
    display: flex;
    min-height: 360px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bty-cart-empty-icon {
    display: flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #f1f6ff;
    color: #0b57d0;
}

.bty-cart-empty-title {
    margin: 20px 0 0;
    font-size: 18px;
    font-weight: 900;
    color: #07142f;
}

.bty-cart-primary-link {
    display: inline-flex;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    border-radius: 999px;
    background: #0b57d0;
    padding: 0 24px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.bty-cart-list {
    display: grid;
    gap: 12px;
}

.bty-cart-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    border: 1px solid #e2ebf7;
    border-radius: 12px;
    background: #fff;
    padding: 12px;
}

.bty-cart-image {
    display: flex;
    width: 84px;
    height: 84px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f8fbff;
}

.bty-cart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bty-cart-item-title {
    display: -webkit-box;
    overflow: hidden;
    color: #07142f;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.3;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bty-cart-item-title:hover {
    color: #0b57d0;
}

.bty-cart-oem {
    margin: 4px 0 0;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #667894;
}

.bty-cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.bty-cart-qty {
    display: flex;
    height: 36px;
    align-items: center;
    border: 1px solid #d8e5f5;
    border-radius: 999px;
    background: #f8fbff;
}

.bty-cart-qty button {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #0b57d0;
    cursor: pointer;
}

.bty-cart-qty span {
    min-width: 32px;
    text-align: center;
    font-size: 14px;
    font-weight: 900;
    color: #07142f;
}

.bty-cart-price {
    margin: 0;
    text-align: right;
    font-size: 14px;
    font-weight: 900;
    color: #07142f;
}

.bty-cart-remove {
    display: inline-block;
    margin-top: 4px;
    border: 0;
    background: transparent;
    color: #dc2626;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.bty-cart-remove:hover {
    text-decoration: underline;
}

.bty-cart-footer {
    border-top: 1px solid #e2ebf7;
    background: #f8fbff;
    padding: 20px;
}

.bty-cart-coupon {
    border: 1px solid #d8e5f5;
    border-radius: 16px;
    background: #fff;
    padding: 16px;
}

.bty-cart-coupon-row,
.bty-cart-coupon-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bty-cart-coupon-label {
    color: #0b57d0;
    font-size: 14px;
    font-weight: 900;
}

.bty-cart-coupon-form input {
    min-width: 0;
    flex: 1;
    border: 1px solid #d8e5f5;
    border-radius: 12px;
    padding: 10px 14px;
    color: #07142f;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    outline: none;
}

.bty-cart-coupon-form input:focus {
    border-color: #0b57d0;
    box-shadow: 0 0 0 4px rgba(11, 87, 208, 0.1);
}

.bty-cart-coupon-form button {
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #07142f;
    padding: 0 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.bty-cart-coupon-form button:hover {
    background: #0b57d0;
}

.bty-cart-summary {
    display: grid;
    gap: 8px;
    margin: 16px 0 0;
    font-size: 14px;
}

.bty-cart-summary div {
    display: flex;
    justify-content: space-between;
}

.bty-cart-summary dt,
.bty-cart-summary dd {
    margin: 0;
}

.bty-cart-summary dt {
    color: #40516d;
}

.bty-cart-summary dd {
    font-weight: 900;
    color: #07142f;
}

.bty-cart-discount,
.bty-cart-discount dt,
.bty-cart-discount dd {
    color: #dc2626;
}

.bty-cart-total {
    border-top: 1px solid #d8e5f5;
    padding-top: 12px;
    font-size: 16px;
}

.bty-cart-total dt,
.bty-cart-total dd {
    font-weight: 900;
    color: #07142f;
}

.bty-cart-total dd {
    color: #0b57d0;
}

.bty-cart-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.bty-cart-action {
    display: flex;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid #0b57d0;
    border-radius: 12px;
    color: #0b57d0;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.bty-cart-action--primary {
    background: #0b57d0;
    color: #fff;
    box-shadow: 0 14px 26px rgba(11, 87, 208, 0.24);
}

.bty-cart-action--primary:hover {
    background: #0842a5;
}

@media (max-width: 520px) {
    .bty-cart-head,
    .bty-cart-body,
    .bty-cart-footer {
        padding-right: 16px;
        padding-left: 16px;
    }

    .bty-cart-item {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .bty-cart-image {
        width: 72px;
        height: 72px;
    }

    .bty-cart-actions {
        grid-template-columns: 1fr;
    }
}
