.right-wrapper {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.right-card {
    background: var(--white);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    height: 70vh;
    max-height: 70vh;
    overflow: hidden;
}

.right-card>h5 {
    flex-shrink: 0;
}

.cart-scroll {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    padding-right: 6px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.cart-scroll::-webkit-scrollbar {
    display: none;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-medium);
    align-items: flex-start;
}

.cart-thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
}

.cart-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-name {
    font-size: 14px;
    font-weight: 700;
}

.cart-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--green);
}

.delete-btn {
    background: transparent;
    border: none;
    color: var(--red);
    font-size: 16px;
    cursor: pointer;
    transition: .2s;
}

.delete-btn:hover {
    color: var(--red-dark);
}

.cart-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}

.qty-box {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-input);
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--white);
    cursor: pointer;
    font-size: 14px;
}

.qty-btn:hover {
    background: var(--gray-hover);
}

.qty-box span {
    min-width: 34px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    padding: 0 10px;
    background: var(--white);
    border-left: 1px solid var(--border-medium);
    border-right: 1px solid var(--border-medium);
}

.btn-checkout {
    width: 100%;
    background: var(--orange);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    margin-top: 12px;
    flex-shrink: 0;
}

.about-card {
    border-radius: 18px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
}

.about-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.about-body {
    padding: 14px;
}

@media (min-width: 991px) and (max-width: 1199px) {
    .right-card {
        height: 62vh;
        padding: 12px;
    }

    .right-card h5 {
        font-size: 14px;
    }

    .right-wrapper {
        font-size: 12.5px;
    }

    .cart-thumb {
        width: 42px;
        height: 42px;
    }

    .cart-name {
        font-size: 12.5px;
    }

    .cart-price {
        font-size: 12.5px;
    }

    .qty-btn {
        width: 24px;
        height: 24px;
    }

    .btn-checkout {
        padding: 10px;
        font-size: 13px;
    }
}

@media (min-width: 1201px) and (max-width: 1400px) {
    .right-card {
        height: 66vh;
        padding: 14px;
    }

    .right-card h5 {
        font-size: 15px;
    }

    .right-wrapper {
        font-size: 13px;
    }

    .cart-thumb {
        width: 46px;
        height: 46px;
    }

    .cart-name {
        font-size: 13px;
    }

    .cart-price {
        font-size: 13px;
    }

    .qty-btn {
        width: 26px;
        height: 26px;
    }

    .btn-checkout {
        padding: 11px;
        font-size: 14px;
    }
}
